Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [imagemagick]

Program for creation, modification and display of bitmap images.

-1
votes
1answer
26 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
1k 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
242 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 ...
0
votes
0answers
75 views

imagemagick segmentation fault after apache graceful restart

We are using ImageMagick via imagick to generate a file containing many SVG files in it. The script tries to make them fit as much as possible in order to avoid large empty spaces so it is kind of a ...
1
vote
0answers
106 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
1k 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
345 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 | ...
0
votes
0answers
510 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
45 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
54 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
816 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
305 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
74 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
2k 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
637 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
393 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
1k 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 `"...
2
votes
1answer
3k 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
1k 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
1k 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 ...
0
votes
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
7k 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
3k 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
2k 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
121 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
756 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
426 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
285 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
1k 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
552 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
346 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
1k 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
326 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
319 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
114 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/...
12
votes
5answers
15k views

Install recent ImageMagick on CentOS 6.3

I'm having a terrible time trying to get a recent version of ImageMagick installed on a CentOS 6.3 x86_64 server. First, I downloaded the RPM from the ImageMagick site and tried to install it. That ...
5
votes
2answers
10k views

Installing Image Magick on Amazon EC2

Well I'm a PHP developer who know few linux commands to get my job done. I need to launch a symfony 1.4 website on Amazon EC2. Everything is fine except IMagick. I magick is also installed through ...
1
vote
1answer
12k views

ImageMagick unable to open image and file [closed]

I try to convert images to thumbnails with imagemagick. All works fine, so I will get a thumbnail. But I get some errors on my console: convert: unable to open image `module': @ error/blob.c/...
-2
votes
1answer
430 views

Installing ImageMagick on a Linux VPS

I need to install ImageMagick on a 1&1 Linux VPS. So I open putty, I log in, I type yum install ImageMagick Then it tells me it needs to download about 90MB of packages, update a few others, and ...
0
votes
2answers
3k views

Can't seem to install imagick

I'm trying to install the PHP PEAR PECL extension "imagick" (image magick), but failing horribly. It seems that I keed installing packages to progress, but this one has me stumped. It seems to fail ...