Questions tagged [imagemagick]
Program for creation, modification and display of bitmap images.
103
questions
0
votes
2
answers
246
views
Issues with Imagick / PHP / Windows
I'm setting up a project on a Windows server and having an issue with ImageMagick. I'm from a Linux background and struggling to get it working.
I have downloaded from http://pecl.php.net/package/...
0
votes
0
answers
166
views
ImageMagick With HEIC Extension Issue in Amazon Linux 2
I need to integrate HEIC extension in ImageMagick. I am using Amazon Linux 2 server. I have tried to install ImageMagick as mentioned in their documentation: https://imagemagick.org/script/install-...
0
votes
0
answers
265
views
NGINX liip_imagine unable to create path for ... "Get operation failed" webp - not creating .webp in media/cache/filter_name symfony
So in my liip_imagine i have something like:
webp:
generate: True
quality: 70
and it works good locally, it serves .png.webp images, but when i put it on my NGINX server i have an issue called
...
0
votes
0
answers
1k
views
How to correctly enable Imagick in PHP-FPM on Ubuntu 20.04 and Apache
I have PHP-FPM setup on my Ubuntu 20.04 server and have installed Imagick, but I cannot get it to be recognized by PHP 7.4. I tried following these steps, but step one returns the following error in ...
0
votes
0
answers
906
views
Can't get Imagick PHP Extension to load when building PHP from source
I've built PHP 7.4 from source, and installed ImageMagick via yum.
When I run
convert --version i got Version: ImageMagick 6.9.10-68 Q16 x86_64 2021-02-24
Then I ran pecl install imagick and it says ...
0
votes
1
answer
1k
views
Very bad ImageMagick resizing performance after upgrade from PHP 5.5 to Docker + PHP 7.4
I’m upgrading some system from PHP 5.5 (installed directly on AWS EC2), to PHP 7.4 in Docker (running on AWS EC2 using Docker Compose). The performance for image resizing using ImageMagick has ...
0
votes
1
answer
222
views
Where is imagemagick located on an EC2 server
I am trying to update ImageMagick on my EC2 server. I'm not sure how to do that with a command so I just wanted to upload my local copy which is the version I need to replace the current version on ...
1
vote
0
answers
1k
views
How do I resolve this dependency resolution error in yum?
When I run yum update, after dependency resolution I get the following error:
--> Finished Dependency Resolution
Error: Package: php71w-pecl-imagick-3.4.3-1.w7.x86_64 (@webtatic)
...
0
votes
2
answers
8k
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
0
answers
812
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 ...
2
votes
2
answers
7k
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 ?
9
votes
2
answers
5k
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 ...
6
votes
2
answers
2k
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
1
answer
136
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
1
answer
6k
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
0
answers
957
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
0
answers
170
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 ...
2
votes
1
answer
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
1
answer
736
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
0
answers
917
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
1
answer
86
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
1
answer
74
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
1
answer
2k
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
1
answer
811
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
0
answers
92
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
0
answers
5k
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
1
answer
696
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 ...
4
votes
1
answer
2k
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
0
answers
717
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
1
answer
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 `"...
4
votes
1
answer
5k
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
0
answers
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
1
answer
3k
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
2
answers
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
2
answers
10k
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
1
answer
3k
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) ...
1
vote
3
answers
6k
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
1
answer
5k
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.
...
1
vote
3
answers
3k
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
0
answers
131
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
2
answers
975
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
1
answer
575
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
1
answer
4k
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
2
answers
3k
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
1
answer
426
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
2
answers
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
4
answers
3k
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
1
answer
613
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
1
answer
370
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
2
answers
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 ...