ImageMagic - issue with import jpeg (not supported)

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
189
I've install ImageMagic with CustomBuild 2.0. When I import products to my websites in format .jpeg then not possible import and return error ".jpeg format not supported".

I try:
yum install libjpeg-devel

But return:
Package libjpeg-turbo-devel-1.2.90-8.el7.x86_64 already installed and latest version
Nothing to do

but still I cant import. Maybe this option support .jpeg is disabled somewhere?
 
I do it in this way:
# cd /usr/local/directadmin/custombuild # ./build update # ./build set imagick yes # ./build imagick

Have I missed something?
 
you need to install php_imagick in custombuild too.
I found somelike this, and im not sure I should do it in this way?


[root@vps-2e9c0a2b ~]# php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/php74/lib
Loaded Configuration File => /usr/local/php74/lib/php.ini
[root@vps-2e9c0a2b ~]# vi /usr/local/php74/lib/php.ini

and add line in php.ini
extension=/usr/local/php74/lib/php/extensions/no-debug-non-zts-20151012/imagick.so

?
 
php -i | grep imagick
if it shows imagick version - that means it already configured and loaded.
 
php -i | grep imagick
if it shows imagick version - that means it already configured and loaded.
Result:

[root@vps-2e9c0a2b ~]# php -i | grep imagick
imagick
imagick module => enabled
imagick module version => 3.7.0
imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
imagick.allow_zero_dimension_images => 0 => 0
imagick.locale_fix => 0 => 0
imagick.progress_monitor => 0 => 0
imagick.set_single_thread => 1 => 1
imagick.shutdown_sleep_count => 10 => 10
imagick.skip_version_check => 0 => 0
[root@vps-2e9c0a2b ~]#
 
maybe from website side you must select somewhere to use Imagick/imagemagick?
 
Back
Top