Skip to content

Magick.NET 14.0.0

Latest
Compare
Choose a tag to compare
@dlemstra dlemstra released this 06 Sep 16:56
· 19 commits to main since this release
f815244

Breaking changes in Magick.NET:

  • Removed netstandard21 support and changed this to net8.0 instead.
  • IMagickImage:
    • Removed the EncodingGeometry, IsDisposed.
    • Removed the FormatInfo property (use MagickFormatInfo.Create(image.Format) instead).
    • Removed the ChromaBluePrimary, ChromaGreenPrimary, ChromaRedPrimary, ChromaWhitePoint properties (use Chromaticity instead).
    • Removed the Distort overload that had both a DistortMethod and IDistortSettings because the settings now contain a DistortMethod property.
    • Removed the Deskew overload that had IDeskewSettings and renamed it to DeskewAndCrop because that was the only setting. And this also means that IDeskewSettings and DeskewSettings have been removed from the library.
    • Renamed Map to Remap.
    • Renamed RePage to ResetPage.
    • Removed all Morphology overloads and only keep the method that uses MorphologySettings.
    • The Interlace property is now readonly and MagickSettings.Interlace should be used to set this setting.
    • The ColorType property no longer returns the value of the MagickSettings.
    • Return IMagickImage instead of double in the Compare method overloads that had an IMagickImage and changed the double return value to an out param instead.
    • Changed the default colorspaces for PerceptualHash from sRGB and HCLp to XyY and HSB.
  • IMagickImageCollection:
    • Renamed Map to Remap.
    • Renamed RePage to ResetPage.
  • IChannelPerceptualHash:
    • Removed SrgbHuPhash and HclpHuPhash (HuPhash(colorspace, index) should be used instead).
  • IEightBimValue:
    • Removed the ID property (Id should be used instead)
  • IExifProfile:
    • The CreateThumbnail method is no longer be available for the netstandard20 target.
  • IImageProfile:
    • Removed GetData (ToByteArray or ToReadOnlySpan should be used instead).
    • The ToByteArray method will no longer return null.
  • IPixelCollection:
    • Removed GetIndex (GetChannelIndex should be used instead).
  • Channels:
    • Removed Default, Grays and Sync.
  • CompareSettings:
    • Made the ErrorMetric property mandatory (through constructor) and immutable.
  • ComplexSettings:
    • Made the ComplexOperator property mandatory (through constructor) and immutable.
  • DngReadDefines
    • Removed the UseAutoWhitebalance property (UseAutoWhiteBalance should be used instead).
    • Removed the UseCameraWhitebalance property (UseCameraWhiteBalance should be used instead).
  • DdsWriteDefines:
    • Removed the Mipmaps property (MipmapCount should be used instead).
  • DrawableComposite:
    • All constructors now require specifying the CompositeOperator.
  • DrawablePushPattern:
    • Removed the ID property (Id should be used instead).
  • ExifTag:
    • Corrected type of TimeZoneOffset to short[].
  • LogEventArgs:
    • The Message property will no longer return null.
  • OpenCLKernelProfileRecord
    • Removed the AverageDuration property.
  • OrientationType:
    • Removed LeftBotom value (LeftBottom should be used instead).
  • TiffReadDefines:
    • Removed the IgnoreExifPoperties property (IgnoreExifProperties should be used instead).
  • WebPWriteDefines:
    • Removed the NearLossless property because this functionality was removed from ImageMagick.
  • Added the following namespaces and moved classes/interfaces to these namespaces:
    • ImageMagick.Colors (contains all ColorCMYK, ColorMono, etc. classes)
    • ImageMagick.Drawing (contains all Drawable and Path classes and interfaces)
    • ImageMagick.Factories (contains all Factory classes and interfaces)
  • Made all Drawable and Path classes immutable.
  • Renamed LogEvents to LogEventTypes.
  • Replaced IReadOnlyCollection with IReadOnlyList in the following classes: DrawableBezier, DrawablePath, EightBimProfile, ExifProfile, IptcProfile, MagickException, MagickImage, MagickNET, OpenCL, OpenCLDevice,
  • Reordered enum values in MagickFormat and PixelMapping.
  • Changed properties/arguments/return types that cannot be negative from int to uint and from long to ulong.

Changes in Magick.NET:

  • Added DistortMethod to the IDistortSettings.
  • Added ARGB and CMYKA to PixelMapping.
  • Corrected default channels for the Fx method.
  • Added DisplayP3, Adobe98, ProPhoto, Oklab and Oklch to ColorSpace.

Related changes in ImageMagick since the last release of Magick.NET:

Library updates:

Full Changelog: 13.10.0...14.0.0