Convert in PHP on osx
Posted: 2014-06-17T15:02:51-07:00
Hello,
i have an problem with ImageMgaick convert.
Operation System is os x 10.9, i had install ImageMagick with brew and libtiff support.
On this mac runs an xampp server. I want to run this Command from php:
But i get following error on xampp, but when i run this command on bash all works fine.
i have an problem with ImageMgaick convert.
Operation System is os x 10.9, i had install ImageMagick with brew and libtiff support.
On this mac runs an xampp server. I want to run this Command from php:
Code: Select all
system('convert -define compose:outside-overlay -limit thread 1 "/path/to/picture/_render/source/end_0070.tif" -background none -layers merge "/path/to/picture/_render/target/end_0070.tif"', $returnValue);
Code: Select all
convert: unable to load module `/usr/local/Cellar/imagemagick/6.8.9-1/lib/ImageMagick//modules-Q16/coders/tiff.la': file not found @ error/module.c/OpenModule/1282. convert: no decode delegate for this image format `TIFF' @ error/constitute.c/ReadImage/501. convert: no images defined `/path/to/picture/_render/target/end_0070.tif' @ error/convert.c/ConvertImageCommand/3187.
Return: convert: no images defined `/path/to/picture/_render/target/end_0070.tif' @ error/convert.c/ConvertImageCommand/3187.