Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
imagick 6.5.6-1 on mac 10.6.6
php 5.3.0
Description
I got this error:
Unexpected error, the message was : Transformation failed. 'File '/Users/xc/Dev/ezp45_flow/var/ezflow_site/cache/public/ezie/14/352-2/..3-test-image.jpg1eTvxT1g4ovJ' could not be processed. The command '/opt/local/bin/convert -composite '' -geometry '101x64+10+10' '/Users/xc/Dev/ezp45_flow/var/ezflow_site/cache/public/ezie/14/352-2/..3-test-image.jpg1eTvxT1g4ovJ' /Users/xc/Dev/ezp45_flow/extension/ezie/design/standard/images/watermarks/elephpant.png 'JPG:/Users/xc/Dev/ezp45_flow/var/ezflow_site/cache/public/ezie/14/352-2/..3-test-image.jpg1eTvxT1g4ovJ'' resulted in an error (1): 'convert: no decode delegate for this image format `/var/tmp/magick-j6kVPUKA' @ constitute.c/ReadImage/503.'. Output: '''. in /Users/xc/Dev/ezp45_flow/lib/ezc/ImageConversion/src/transformation.php on line 317
I changed
$this->addFilterOption(
$this->getActiveReference(),
'-composite',
'' );
to
$this->addFilterOption(
$this->getActiveReference(),
'-composite' );
it does work. Because in definition of addFilterOption it should use null instead of empty string for no parameter.
protected function addFilterOption( $reference, $name, $parameter = null )
I'm not sure if you have tested this case because it seems an obvious issue. Or it's because of imagick version issue?
Possible related issue: http://issues.ez.no/IssueView.php?Id=17193&activeItem=4