Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IM 7 upgrade notes #529

Open
Danack opened this issue Jan 3, 2022 · 0 comments
Open

IM 7 upgrade notes #529

Danack opened this issue Jan 3, 2022 · 0 comments

Comments

@Danack
Copy link
Collaborator

Danack commented Jan 3, 2022

Most of these removals can be reverted, by making the functions call the equivalent functionality in IM7 that was used in IM6.

Functions removed:

ImagickDraw::matte

Imagick::colorFloodfillImage -
Imagick::filter - The FilterImage() method has been removed. Use ConvolveImage() instead.

Imagick::getImageAttribute - probably getImageProperty - http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=8196
Imagick::getImageChannelExtrema - uses MagickGetImageRange internally
Imagick::getImageClipMask - todo research clip change.
Imagick::getImageExtrema - uses MagickGetImageRange internally
Imagick::getImageMatte -
Imagick::getImageMatteColor -
Imagick::mapImage - Imagick::remapImage(Imagick $replacement, int $DITHER): bool maybe....
Imagick::matteFloodfillImage
Imagick::medianFilterImage - StatisticImage(image,MedianStatistic,(size_t) radius,(size_t) radius,exception);
Imagick::mosaicImages - return(MergeImageLayers(image,MosaicLayer,exception));
Imagick::orderedPosterizeImage - Renamed OrderedPosterizeImage to OrderedDitherImage
Imagick::paintFloodfillImage
Imagick::paintOpaqueImage - MagickOpaquePaintImageChannel (opaque + paint swapped...)
Imagick::paintTransparentImage - TransparentPaintImage(image,target,opacity,MagickFalse)
Imagick::recolorImage - Imagick::colorMatrixImage
Imagick::radialBlurImage - Imagick::rotationBlurImage
Imagick::reduceNoiseImage - StatisticImage(image,NonpeakStatistic,(size_t) radius,(size_t) radius,exception);
Imagick::setImageAttribute - MagickSetImageProperty http://www.imagemagick.org/discourse-server/viewtopic.php?f=6&t=8196
Imagick::setImageBias - bias is gone
Imagick::setImageBiasQuantum - bias is gone
Imagick::setImageClipMask - the way masks work has been refactor. Use Imagick::setImageMask instead.
Imagick::setImageMatteColor
Imagick::setImageOpacity
Imagick::transformImage - Use the Imagick::cropImage and Imagick::resize functions instead.

Constants removed

COLOR_OPACITY
COMPOSITE_ADD
COMPOSITE_MINUS
IMGTYPE_GRAYSCALEMATTE
IMGTYPE_TRUECOLORMATTE
IMGTYPE_COLORSEPARATIONMATTE
IMGTYPE_PALETTEBILEVELMATTE
GRAVITY_STATIC
CHANNEL_MATTE
METRIC_UNDEFINED
PIXEL_INTEGER
PIXELSTORAGE_INTEGER
COLORSPACE_LAB
COLORSPACE_REC601LUMA
COLORSPACE_REC709LUMA
VIRTUALPIXELMETHOD_CONSTANT
INTERPOLATE_BICUBIC
INTERPOLATE_FILTER
INTERPOLATE_NEARESTNEIGHBOR
ALPHACHANNEL_FLATTEN

@Danack Danack mentioned this issue Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant