The black & white filter won't apply to a specific region but to the whole document. The reason hasn't been found in the ezie code itself, and might require investigation in the conversion ezcomponent.
This only occurs with JPG files. It works fine with PNG and GIF.
The bug has been narrowed down to the ImageMagick command line. The following line will convert the whole image even though the region parameter is correct:
/usr/local/bin/myconvert 'test.jpg' -region '341x379+291+178' -colorspace 'Gray' -colors '255' 'JPG:test-out.jpg'
Extra info:
Because the generated command line is okay and it works with other file formats and color spaces, this issue is most likely an ImageMagick bug.
The default Exponential "image.ini" contains "[ImageMagick] Executable=convert" and "[ImageMagick] ExecutablePath=''. This is an issue with the current code, as we use this configuration for the component, and end up with a binary named "convert". If a custom binary setting is sent to the component, it won't show in the path, and will therefore throw an exception since it won't find a file by that name in the current directory.
Powered by Exponential™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.