imagick

Provides a wrapper to the ImageMagick library.


Imagick is a native php extension to create and modify images using the ImageMagick API.
This extension requires ImageMagick version 6.5.3-10+ and PHP 5.4.0+.

License: PHP License

Latest releases

Version Release Download
3.8.0RC2 2025-03-13 imagick-3.8.0RC2.tgz
3.8.0RC1 2025-03-13 imagick-3.8.0RC1.tgz
3.7.0 2022-01-11 imagick-3.7.0.tgz
3.7.0RC1 2022-01-04 imagick-3.7.0RC1.tgz
3.6.0 2021-11-17 imagick-3.6.0.tgz
Show all releases

Changelog

Version Message
3.8.0RC2 - Fixes:
* Corrected PHP_IMAGICK_EXTNUM
3.8.0RC1 - Fixes:
* Imagick::clutImage(...) now respects the images interpolate method.
* You can now pass null to ImagickDraw::setStrokeDashArray() to reset the dash array.
* Fixed memory leak in ImageKernel
* Fixed compiling against PHP 8.4.
* Fixed various reflection issues related to incorrect arginfo
- Added:
* function Imagick::clutImageWithInterpolate(Imagick $lookup_table, int $pixel_interpolate_method): bool {}
* Constants Imagick::COMPRESSION_BC5, Imagick::COMPRESSION_BC7, Imagick::COMPRESSION_LERC, Imagick::DIRECTION_TOP_TO_BOTTOM, Imagick::ALPHACHANNEL_OFF_IF_OPAQUE
3.7.0 - Added:
* Imagick::COMPOSITE_SALIENCY_BLEND
3.7.0RC1 - Added:
* function Imagick::deleteOption(string $option): bool {}
* function Imagick::getBackgroundColor(): ImagickPixel {}
* function Imagick::getImageArtifacts(string $pattern = "*"): array {}
* function Imagick::getImageKurtosis(): array {}
* function Imagick::getImageMean(): array {}
* function Imagick::getImageRange(): array {}
* function Imagick::getInterpolateMethod(): int {}
* function Imagick::getOptions(string $pattern = "*"): array {}
* function Imagick::getOrientation(): int {}
* function Imagick::getResolution(): array {}
* function Imagick::getType(): int {}
* function Imagick::implodeImageWithMethod(float $radius, int $pixel_interpolate_method): bool {}
* function Imagick::oilPaintImageWithSigma(float $radius, float $sigma)
* function Imagick::polaroidWithTextAndMethod(ImagickDraw $settings, float $angle, string $caption, int $method): bool {}
* function Imagick::polynomialImage(array $terms): bool {}
* function Imagick::setDepth(int $depth): bool {}
* function Imagick::setExtract(string $geometry): bool {}
* function Imagick::setInterpolateMethod(int $method): bool{}
* function Imagick::setOrientation(int $orientation): bool {}
* function Imagick::spreadImageWithMethod(float $radius, int $interpolate_method): bool {}
* function Imagick::swirlImageWithMethod(float $degrees, int $interpolate_method): bool {}
* function Imagick::waveImageWithMethod(float $amplitude, float $length, int $interpolate_method): bool {}
* Imagick::IMAGE_TYPE_BILEVEL
* Imagick::IMAGE_TYPE_GRAYSCALE
* Imagick::IMAGE_TYPE_GRAYSCALE_ALPHA
* Imagick::IMAGE_TYPE_PALETTE
* Imagick::IMAGE_TYPE_PALETTE_ALPHA
* Imagick::IMAGE_TYPE_TRUE_COLOR
* Imagick::IMAGE_TYPE_TRUE_COLOR_ALPHA
* Imagick::IMAGE_TYPE_COLOR_SEPARATION
* Imagick::IMAGE_TYPE_COLOR_SEPARATION_ALPHA
* Imagick::IMAGE_TYPE_OPTIMIZE
* Imagick::IMAGE_TYPE_PALETTE_BILEVEL_ALPHA
* Imagick::COMPOSITE_SEAMLESS_BLEND
- Changed:
* Imagick::setImageArtifact can now take null for the string value.
* Return type for Imagick::getImageArtifact is string|null instead of string.
3.6.0 - No change from 3.6.0RC2
Show complete changelog