Hi,

I must be way out of track. I'm not a developer, so please be indulgent ;)

First of all, my host already allowed proc_open() as well as proc_closed(). I'm not 100 % sure of which release (http://www.imagemagick.org/script/binary-releases.php) to install; I downloaded "ImageMagick-i686-pc-cygwin.tar.gz" and installed it under my website's libraries since I can't find "/usr/local/php/bin" in my files manager. I also tried installing it under "public_html/cgi-bin/ImageMagick-6.7.8/bin". The path doesn't seem to work at all when I configure it within the module. I get the following error message:

User error : ImageMagick error 126: sh: sites/all/libraries/imagemagick-6.7.8/bin/convert.exe: cannot execute binary file in _imagemagick_convert_exec() (line 519 in /home/geips018/public_html/sites/all/modules/imagemagick/imagemagick.module).

Thanks for your help!

Comments

sun’s picture

Status: Active » Fixed

It sounds like you tried to install the cygwin distro of imagemagick on a Linux server. You need to install the proper binaries.

Normally, you should use the regular package manager of your operating system for that. The imagemagick package is available for all major distros and you should be able to install it with a single command line only; e.g.:

# apt-get install imagemagick

Please consult your hosting provider for more details. We cannot provide this level of support here.

siefca’s picture

Same on Debian.

Convert is called with convert argument, which is not understood:

/usr/bin/convert convert -resize 91x68! '/home/d/modules/image/sample.png'  'jpg:/home/d/sites/default/files/styles/thum/public/modules/image/sample.png'
siefca’s picture

Category: support » bug
Status: Fixed » Active
mondrake’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 7 is EOL