Questions tagged [imagemagick]

Program for creation, modification and display of bitmap images.

Filter by
Sorted by
Tagged with
0
votes
2answers
45 views

How can I install the imagick extension in PHP 7.0 on Debian Buster?

I've upgraded our company's webserver to Debian 10 Buster recently. Our website is using a legacy CMS that cannot run on PHP versions newer than 7.0. It requires the imagick extension to be present. ...
0
votes
0answers
74 views

phpize failed error pecl install imagick

We are trying to install the ImageMagick extension on PHP version 7.4 in our AWS ec2 Linux CentOS server using cli. ImageMagick extension was installed successfully. We used convert -version to check ...
0
votes
0answers
14 views

When does changing a shared library take effect?

I have to make a php site use a newer version of imagemagick. php is using imagemagick via a pecl extension imagick. So, first I've got to update imagemagick (libMagickCore.so, libMagickWand.so), then ...
2
votes
2answers
2k views

How to install imagemagick on centos 8?

I tried with : dnf install GraphcsMagick yum install ImageMagick Got always: Unable to find a match Any idea ?
5
votes
1answer
700 views

Installing ImageMagick-devel fails on CentOS 8

I am trying to install ImageMagick-devel on my CentOS 8.0.1905, but I get the following error: # yum install ImageMagick-devel Last metadata expiration check: 2:58:25 ago on Mon 18 Nov 2019 06:58:06 ...
4
votes
1answer
455 views

Apache2 stops after system graceful-restart

System's effected: Ubuntu 16.04, Ubuntu 18.04, not 14.04. Frequency: Approx. around 24 - 36 hours. [Wed May 08 03:44:25.964597 2019] [mpm_prefork:notice] [pid 7670] AH00171: Graceful restart ...
-1
votes
1answer
63 views

Mogrify commands within crontab while ensuring files aren't processed twice

I have an image folder that serves content, it contains jpeg, jpg and gif files. More files are added automatically all the time. What I intend on doing is adding the following commands to crontab (...
2
votes
1answer
4k views

Docker - PHP 7.2 FPM Alpine - Imagick

I'm using Docker image php:7.2-fpm-alpine as base image with following command to install Imagick: RUN apk add --update --no-cache autoconf g++ imagemagick-dev libtool make pcre-dev \ && ...
0
votes
0answers
543 views

Downgrade ImageMagick from 6.97 to 6.6.9 on Ubuntu 18.04

I've got a Ubuntu 18.04 box with Image::Magick installed but wish to downgrade to the version we currently use on Ubuntu 12.04 boxes - namely Image::Magick 6.6.9. The reason for the downgrade is that ...
1
vote
0answers
147 views

Can't Figure Out Using Couple GPU on ImageMagick with OpenCL

In our system, we have 2 GPU and want ImageMagick to use them efficiently. Though, it somehow mostly uses only one of them. Thus, it does not provide an efficient solution. For example, First GPU's ...
0
votes
1answer
2k views

Centos 7 - Upgrade ImageMagick

I need to upgrade my ImageMagick version in order to fix the following issue: https://stackoverflow.com/questions/48754861/imagemagick-convert-different-results-on-two-different-servers My current ...
2
votes
1answer
499 views

Am I missing a step in imagick php installation on Docker?

I have the following in a Dockerfile for a container running PHP5.x: RUN apt-get install -y php5-imagick libmagickwand-dev libmagickcore-dev RUN pecl install imagick RUN echo "extension=`php -i | ...
1
vote
0answers
689 views

Very slow imagemagick convert call when using AWS Lambda

I've got a relatively simple composite action that I'm carrying out with imagemagick on AWS Lambda. Why does it often take more than a minute to complete? This composites four smaller images "behind" ...
0
votes
1answer
63 views

After dist-upgrade form 12.04 to 14.04 imagick not loaded

After my dist-upgrade of Ubuntu Server form 12.04 LTS to 14.04 LTS, the module ImageMagick won't load anymore. I get every 30 minutes an alter email with the following : PHP Warning: PHP Startup: ...
0
votes
1answer
56 views

Processing image files once and only once without missing any

I have a wordpress installation with a large number (millions) of images. I want to optimize those images using ImageMagick mogrify but I only want to process them once (processing them over and over ...
0
votes
1answer
1k views

Can't install Image::Magick, even though Image Magick is installed

I'm trying to work out why Image::Magick won't install. I've tried loads of things, but it still fatals: perl -MCPAN -e 'install Image::Magick' ...and it dies with: Reading '/root/.cpan/sources/...
0
votes
1answer
488 views

imagemagic: extract bitmap images as-is from PDF [closed]

I know how to use imagemagick's convert to render the PDF and generate new images from the PDF page, including both the bitmaps and the vector images rendered on the desired resolution. But, the ...
1
vote
0answers
84 views

I have two versions of PHP installed; how do I clean it up / control what references which?

Running CentOS + Apache + PHP + MySQL running yum list installed *php* gives me this: newrelic-php5-common.noarch 4.23.4.113-1 ...
0
votes
0answers
3k views

php exec not working via browser

Server : Ubantu 16 Php version : 7 i have php 7 installed on ubantu 16 .i have also installed imagemagick. now my php file say index.php with code below echo exec("whoami"); echo exec("/usr/bin/...
3
votes
1answer
656 views

How to verify installation of ImageMagick is not vulnerable to CVE-2016-3714

CVE-2016-3714 was announced on May 3, 2016. This vulnerability unfortunately goes by the name, ImageTragick and has received some press (for example, this ArsTechnica article). Until updated ...
3
votes
1answer
1k views

ImageMagick and OpenJPEG2

I am trying to install ImageMagick with JP2 compatibility but I cannot seem to be able to do that. I installed the OPenJPEG2 delegate from http://www.imagemagick.org/download/delegates/, Downloaded ...
1
vote
0answers
576 views

PHP unable to load dynamic library's library

I have been trying to get imagick to work on a normal lamp server. What I did: sudo apt-get --purge remove "imagemagick" sudo apt-get --purge remove "php5-imagick*" service apache2 restart (lib not ...
-1
votes
1answer
2k views

converting jpg to mpg fails in convert/imagemagick

I'm running Imagemagick on CentOS 7, converting a directory of .jpg files to an mpg file and getting this error convert -delay 5 fileprefix*.jpg -quality 80 test.mpg convert: delegate failed `"...
3
votes
1answer
4k views

Why is ImageMagick with OpenCL slower than OpenMP?

I've been trying to use ImageMagick with OpenCL to speed up resizing of images in batch. For this, I've started a GPU instance (g2.2xlarge) on Amazon EC2, which according to AWS, features: High-...
0
votes
0answers
2k views

Imagick fails to enable on Ubuntu with php-fpm and nginx

Alright, I've followed numerous guides trying to get Imagick PECL extension working on my machine but no matter what I do, phpinfo() or extension_loaded('imagick') doesn't detect it. If I run php5-...
1
vote
1answer
2k views

Bash script working in command line but not through PHP

I'm attempting to run the following command through PHP: $output = shell_exec('sudo /Users/Derk/Code/automation/psc/pdfs.sh 1'); This runs the following bash script code: sudo /usr/local/bin/pdftk ...
1
vote
2answers
2k views

ImageMagick suddenly stopped working on several of our servers

Overnight, the PECL ImageMagick extension suddenly stopped working on several of our servers. The error message displayed was as follows: PHP Warning: PHP Startup: Unable to load dynamic library '/...
2
votes
2answers
9k views

How can I install the latest Image Magick on RedHat Enterprise 6.6?

I am trying to install the latest ImageMagick (at least 6.8) from the RPM's available here on my RedHat Enterprise server Distributor ID: RedHatEnterpriseServer Release: 6.6 Codename: ...
1
vote
1answer
2k views

yum dependency conflict in ImageMagick update

I am running a Lamp server on CentOS release 6.6 (Final) with php5.5: $ php -v PHP 5.5.17 (cli) (built: Sep 20 2014 17:12:00) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) ...
0
votes
3answers
4k views

Cannot install rmagick after server update

I'm running a debian server and upgraded all packages after quite a while (apt-get update, apt-get upgrade, apt-get distro-upgrade). Then rmagick didn't work anymore becuase imagemagick was updated. ...
-2
votes
1answer
3k views

how can I understand if IMagick is installed? [closed]

I install Imagick according this tutorial: http://www.imagemagick.org/script/install-source.php#unix I used this code: function alist ($array) { //This function prints a text array as an html list. ...
0
votes
3answers
2k views

ImageMagick using openJPEG 2.0 and CentOS 6.5

I'm currently working on a CentOS 6.5 server. I'm trying to use openjp2 as one of the delegates in ImageMagick. Since openjpeg for CentOS is outdated (1.3), I've installed a new one using RPM package....
0
votes
0answers
124 views

install ImageMagic library to php

When i try to sudo pecl install imagick i get this message: Can't find PHP headers in /usr/include/php The php-devel package is required for use of this command. ERROR: `phpize' failed And sudo yum ...
0
votes
2answers
825 views

Optimize images on CentOS server [closed]

I have a huge directory of images on a CentOS server (~65gb). The images are predominantly jpeg's but theres some png's and a couple of gif's. Here's the annoying and weird part - the images are all ...
-1
votes
1answer
519 views

Multiple Background Processes at Single Line Works in The Foreground

I want to convert an uploaded PDF file to JPG images and zip these images after convert process finishes. I use the ImageMagick library's convert command for PDF to JPG conversion. To accomplish ...
2
votes
1answer
3k views

how to properly set up ImageMagick on AWS server using nodejs and express

so basically I've been struggling for a while now on getting imagemagick and or graphicsmagick to run properly with my node app, so far I followed the installation source from http://www.imagemagick....
1
vote
2answers
2k views

ImageMagick for Centos 6.4 [duplicate]

I have already installed ImageMagick on my server which is running centos 6.4 yum install ImageMagick Version is very old : 6.5.4-7 2012-05-07 Q16 I discussed about this with ImageMagick's official ...
1
vote
1answer
325 views

What does MediaWiki's $wgMaxShellMemory actually control?

My main question is: does wgMaxShellMemory limit the total memory used by all processes for shell tasks, like ImageMagick thumbnail creation? Or is it rather a per-process limit? The documentation for ...
0
votes
2answers
2k views

Can not find Imagemagick files

I want to modify Imagemagick policy.xml file but can not find any Imagemagick files on my server. I checked /var/lib and other folders, but nothing. I am running Debian system and installed ...
4
votes
4answers
2k views

Efficient server configuration for imagemagick

I am operating a system with heavy image editing processed by imagemagick. Now for a new server I was wondering which system requirements are most important to boost performance of imagemagick and ...
-1
votes
1answer
583 views

Problems with ImageMagick 6.8.5 on CentOS 6.3

I installed ImageMagick from source per their instructions since they didn't have a matching version for our OS. http://www.imagemagick.org/script/install-source.php However, I ran make check and ...
0
votes
1answer
352 views

Upgrading ImageMagick RHEL 5 [closed]

We have been using ImageMagick for quite some time with out any trouble. However, today we can across an pdf we were trying to convert into a jpg thumbnail, which would fail: $ convert example.pdf -...
-1
votes
2answers
2k views

Is it safe to add /usr/bin to open_basedir?

A hacking incident a couple of months ago taught me the importance of using open_basedir on PHP sites. But now I need to get ImageMagick to work on a Drupal site and I get an error saying it can't ...
0
votes
6answers
8k views

Installing Imagick PHP Extension on CentOS 6.3 64bit?

I am trying to configure and make install imagick extension, here is commands that i used wget http://pecl.php.net/get/imagick-3.0.1.tgz tar zxf imagick-3.0.1.tgz cd imagick-3.0.1 phpize ./configure ...
3
votes
4answers
2k views

Linux high load with ImageMagick convert utility and server freezes (blktrack output attached)

I'm using ImageMagick to convert a JPG to TIF file, and I'm using the limit options for Imagemagick as below: /usr/bin/convert -limit memory 256 -limit map 512 subjectfile.jpg -colorspace Gray -depth ...
3
votes
2answers
2k views

Can't install Imagick for PHP on Debian from source, error says requires 6.2.4 when I have 6.7.7 installed

Pulling my hair out. PHP built from source, everything working. Now need to install imagick and can't get it installed. I am running Debian on kernel 3.7.1 with PHP 5.3.20 (the last version my app ...
1
vote
2answers
4k views

How to install imagemagick for php on CentOS

I found this article Install imagemagick with PHP imagick extension on CentOS but when I tried to run pecl install imagick I got error when compiling, this is the output of the command: # pecl ...
4
votes
2answers
355 views

difference between compiled and installed via rpm (zypper)

In an openSUSE 11.1 I download, compile and install ImageMagick via: wget ftp://.../pub/graphics/ImageMagick/ImageMagick-6.7.7-0.zip unzip ImageMagick-6.7.7-0.zip cd ImageMagick-6.7.7-0 ./configure --...
0
votes
1answer
334 views

Gallery2 says ImageMagick Identify binary fails but logs no erros

Gallery2 claims ImageMagic Fails with no error: Binary Name Pass/Fail identify Failed Error messages: Binary output: /nfs/c10/h02/...
-3
votes
1answer
129 views

ImageMagick Identify Fails [closed]

The identify binary is giving me an error. Has anyone seen this before? Google isn't being very helpful. realpath(/nfs/c10/h02/mnt/144213/data/bin/) realpath(/nfs) is_dir(/nfs/c10/h02/mnt/144213/data/...