Search Criteria
Package Details: php72-imagick 3.6.0-1
Package Actions
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 (UTC) |
Last Updated: | 2021-12-01 09:18 (UTC) |
Dependencies (2)
- imagemagick (graphicsmagick-imagemagick-compatAUR, imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR)
- php72AUR
Latest Comments
el_aur commented on 2021-12-01 09:19 (UTC)
Updated to 3.6.0 version
el_aur commented on 2021-12-01 09:19 (UTC)
@bobarch64 just rebuild this package and install again. Your error message says that imagick library was updated, but PHP module not
bobarch64 commented on 2021-02-12 11:17 (UTC) (edited on 2021-02-12 11:20 (UTC) by bobarch64)
for me it was not installing
php72 -v PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php72/modules/imagick.so (libMagickWand-7.Q16HDRI.so.8: cannot open shared object file: No such file or directory), /usr/lib/php72/modules/imagick.so.so (/usr/lib/php72/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
but manually phpize72 installed worked well:
wget http://pecl.php.net/get/imagick-3.4.4.tgz
cd imagick-3.4.4/
/usr/bin/phpize72
./configure --enable-shared --with-php-config=/usr/bin/php-config72
sudo make install
enable extension in /etc/php72/conf.d/imagick.ini
extension=imagick.so
pdizzle commented on 2020-03-23 22:36 (UTC)
@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 (UTC) (edited on 2020-03-23 22:11 (UTC) by el_aur)
@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 (UTC) (edited on 2020-03-23 22:07 (UTC) by el_aur)
@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 (UTC) (edited on 2020-03-23 19:36 (UTC) by pdizzle)
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 withphp72 -m
)