You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue describes the planned breaking changes for Magick.NET 14.0.0:
Add Chromaticity (IChromaticityInfo) to IMagickImage that combines the following properties:
ChromaBluePrimary
ChromaGreenPrimary
ChromaRedPrimary
ChromaWhitePoint
Remove EncodingGeometry, IsDisposed and FormatInfo from MagickImage.
Make MagickImage.Interlace readonly and add an option for Interlace to the MagickSettings.
No longer return the value of the settings in MagickImage.ColorType.
Correct typo of OrientationType.LeftBotom.
Correct type of ExifTag.TimeZoneOffset (should be short[]).
Change IReadOnlyCollection<T> to IReadOnlyList<T> where possible.
Remove GetData from IImageProfile.
Remove nullability from LogEventArgs.Message and IImageProfile.ToByteArray().
Rename LogEvents to LogEventTypes.
Rename DrawablePushPattern.ID to DrawablePushPattern.Id.
Rename EightBimValue.ID to EightBimValue.Id.
Rename TiffReadDefines.IgnoreExifPoperties to TiffReadDefines.IgnoreExifProperties.
Rename PixelCollection.GetIndex to PixelCollection.GetChannelIndex and change the return type to uint?.
Rename IMagickImage.Map and IMagickImageCollection.Map to Remap.
Rename RePage to ResetPage in IMagickImage and IMagickImageCollection.
Allow specifying the 6 colorspaces for PerceptualHash and switch to the new default of ImageMagick.
Refactor the Compare overload that now needs an IMagickImage and return the image instead.
Remove SrgbHuPhash and HclpHuPhash from IChannelPerceptualHash and add a new method that will return the hash and colorspace for a specified index and return null when the colorspace is invalid.
Make Drawable and Path classes immutable.
Make ErrorMetric of CompareSettings mandatory and immutable through the constructor.
Make ComplexOperator of ComplexSettings mandatory and immutable through the constructor.
Move Path and Drawable classes to a separate namespace.
Move Color* classes to a separate namespace.
Move Factory classes to a separate namespace.
Remove all Morphology overloads because MorphologySettings should be used instead.
Remove Grays, Sync and Default from the Channels.
Rename DdsWriteDefines.Mipmaps to DdsWriteDefines.MipmapCount.
Remove NearLossless from the WebPWriteDefines.
Correct the casing of Whitebalance to WhiteBalance in the properties of the DngReadDefines.
Add DistortMethod to the DistortSettings
Remove DeskewSettings and add a new method that should be used instead.
Change type of long properties from IOpenCLKernelProfileRecord to ulong and remove the AverageDuration property.
Change properties/arguments/return types that cannot be negative from int to uint.
CreateThumbnail extension method of IExifProfile will no longer be available in netstandard20.
Thanks for coming here and asking that question. I will update the comment to make this more clear. You should use use MagickFormatInfo.Create(image.Format) instead.
This issue describes the planned breaking changes for Magick.NET
14.0.0
:Chromaticity
(IChromaticityInfo
) toIMagickImage
that combines the following properties:EncodingGeometry
,IsDisposed
andFormatInfo
fromMagickImage
.MagickImage.Interlace
readonly and add an option forInterlace
to theMagickSettings
.MagickImage.ColorType
.OrientationType.LeftBotom
.ExifTag.TimeZoneOffset
(should beshort[]
).IReadOnlyCollection<T>
toIReadOnlyList<T>
where possible.GetData
fromIImageProfile
.LogEventArgs.Message
andIImageProfile.ToByteArray()
.LogEvents
toLogEventTypes
.DrawablePushPattern.ID
toDrawablePushPattern.Id
.EightBimValue.ID
toEightBimValue.Id
.TiffReadDefines.IgnoreExifPoperties
toTiffReadDefines.IgnoreExifProperties
.PixelCollection.GetIndex
toPixelCollection.GetChannelIndex
and change the return type touint?
.IMagickImage.Map
andIMagickImageCollection.Map
toRemap
.RePage
toResetPage
inIMagickImage
andIMagickImageCollection
.Compare
overload that now needs anIMagickImage
and return the image instead.SrgbHuPhash
andHclpHuPhash
fromIChannelPerceptualHash
and add a new method that will return the hash and colorspace for a specified index and returnnull
when the colorspace is invalid.Drawable
andPath
classes immutable.ErrorMetric
ofCompareSettings
mandatory and immutable through the constructor.ComplexOperator
ofComplexSettings
mandatory and immutable through the constructor.Path
andDrawable
classes to a separate namespace.Color*
classes to a separate namespace.Factory
classes to a separate namespace.Morphology
overloads becauseMorphologySettings
should be used instead.Grays
,Sync
andDefault
from theChannels
.DdsWriteDefines.Mipmaps
toDdsWriteDefines.MipmapCount
.NearLossless
from theWebPWriteDefines
.Whitebalance
toWhiteBalance
in the properties of theDngReadDefines
.DistortMethod
to theDistortSettings
DeskewSettings
and add a new method that should be used instead.long
properties fromIOpenCLKernelProfileRecord
toulong
and remove theAverageDuration
property.int
touint
.CreateThumbnail
extension method ofIExifProfile
will no longer be available innetstandard20
.MagickFormat
,PixelMapping
.netstandard21
tonet6
(the oldest dotnet LTS)Development notes:
ElementAt
with indexer once the switch toIReadOnlyList<T>
is done.IReadOnlyCollection
check andObsoleteAttribute
check fromDrawablesGenerator
.uint
and check ifThrow.IfNegative
is still required.The text was updated successfully, but these errors were encountered: