Package Details: php72-imagick 3.4.4-2

Git Clone URL: https://aur.archlinux.org/php72-imagick.git (read-only, click to copy)
Package Base: php72-imagick
Description: PHP extension for IMagick
Upstream URL: http://pecl.php.net/package/imagick
Licenses: PHP
Submitter: el_aur
Maintainer: el_aur
Last Packager: el_aur
Votes: 0
Popularity: 0.000000
First Submitted: 2019-08-09 12:13
Last Updated: 2020-04-20 18:09

Latest Comments

pdizzle commented on 2020-03-23 22:36

@el_aur dude, hero! thanks so much!! i think i may end up downgrading imagemagick due to compatibility needed across the project :)

el_aur commented on 2020-03-23 22:11

@pdizzle: I found how to solve this Use INTERPOLATE_CATROM instead. It has same comments in code as bicubic :)

#if MagickLibVersion >= 0x687

IMAGICK_REGISTER_CONST_LONG("INTERPOLATE_CATROM",

CatromInterpolatePixel); /* Catmull-Rom interpolation */

#endif

el_aur commented on 2020-03-23 22:06

@pdizzle: There's such code in upstream, looks like bicubic interpolation constant is available to ImageMagick < 7.0.0 only

#if MagickLibVersion < 0x700

IMAGICK_REGISTER_CONST_LONG("INTERPOLATE_BICUBIC",

BicubicInterpolatePixel); /* Catmull-Rom interpolation */

#endif

But arch has imagemagick 7.0.10.2-2 bundled ;)

pdizzle commented on 2020-03-23 19:32

I'm getting an error when trying to access the following class constant within my code: imagick::INTERPOLATE_BICUBIC.. which the PHP docs say should be available as long as imagick is compiled against ImageMagick v 6.3.2 or higher.. which is what I have installed. Is there something upstream that could be causing this error? I've confirmed from the CLI that this class constant does not exist for some reason and imagick extension is definitely loading (confirmed with php72 -m)