Closed
Description
This issue describes the planned breaking changes for Magick.NET 14.0.0
:
- Add
Chromaticity
(IChromaticityInfo
) toIMagickImage
that combines the following properties:- ChromaBluePrimary
- ChromaGreenPrimary
- ChromaRedPrimary
- ChromaWhitePoint
- Remove
EncodingGeometry
,IsDisposed
andFormatInfo
fromMagickImage
. - Make
MagickImage.Interlace
readonly and add an option forInterlace
to theMagickSettings
. - No longer return the value of the settings in
MagickImage.ColorType
. - Correct typo of
OrientationType.LeftBotom
. - Correct type of
ExifTag.TimeZoneOffset
(should beshort[]
). - Change
IReadOnlyCollection<T>
toIReadOnlyList<T>
where possible. - Remove
GetData
fromIImageProfile
. - Remove nullability from
LogEventArgs.Message
andIImageProfile.ToByteArray()
. - Rename
LogEvents
toLogEventTypes
. - Rename
DrawablePushPattern.ID
toDrawablePushPattern.Id
. - Rename
EightBimValue.ID
toEightBimValue.Id
. - Rename
TiffReadDefines.IgnoreExifPoperties
toTiffReadDefines.IgnoreExifProperties
. - Rename
PixelCollection.GetIndex
toPixelCollection.GetChannelIndex
and change the return type touint?
. - Rename
IMagickImage.Map
andIMagickImageCollection.Map
toRemap
. - Rename
RePage
toResetPage
inIMagickImage
andIMagickImageCollection
. - Allow specifying the 6 colorspaces for PerceptualHash and switch to the new default of ImageMagick.
- Refactor the
Compare
overload that now needs anIMagickImage
and return the image instead. - Remove
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. - Make
Drawable
andPath
classes immutable. - Make
ErrorMetric
ofCompareSettings
mandatory and immutable through the constructor. - Make
ComplexOperator
ofComplexSettings
mandatory and immutable through the constructor. - Move
Path
andDrawable
classes to a separate namespace. - Move
Color*
classes to a separate namespace. - Move
Factory
classes to a separate namespace. - Remove all
Morphology
overloads becauseMorphologySettings
should be used instead. - Remove
Grays
,Sync
andDefault
from theChannels
. - Rename
DdsWriteDefines.Mipmaps
toDdsWriteDefines.MipmapCount
. - Remove
NearLossless
from theWebPWriteDefines
. - Correct the casing of
Whitebalance
toWhiteBalance
in the properties of theDngReadDefines
. - Add
DistortMethod
to theDistortSettings
- Remove
DeskewSettings
and add a new method that should be used instead. - Change type of
long
properties fromIOpenCLKernelProfileRecord
toulong
and remove theAverageDuration
property. - Change properties/arguments/return types that cannot be negative from
int
touint
. CreateThumbnail
extension method ofIExifProfile
will no longer be available innetstandard20
.- Reorder enum values alphabetically:
MagickFormat
,PixelMapping
. - Switch from
netstandard21
tonet6
(the oldest dotnet LTS)
Development notes:
- Replace
ElementAt
with indexer once the switch toIReadOnlyList<T>
is done. - Remove
IReadOnlyCollection
check andObsoleteAttribute
check fromDrawablesGenerator
. - Remove unnecessary casts to
uint
and check ifThrow.IfNegative
is still required.
Metadata
Metadata
Assignees
Labels
No labels