Hello everybody,
I'm not a guru in ImageMagick and I'm not sure this is a bug, maybe I'm just ignorant...
I'm using PHP "Version 5.2.6-2ubuntu4.2", ImageMagick "6.3.7 06/04/09 Q16 http://www.imagemagick.org", module version "2.1.1-rc1".
When I resize images, sometimes, result images have grey lines.
the command is Imagick::resizeImage ($thumbWidth, $thumbHeight, Imagick::FILTER_LANCZOS, 0);
those images are 160x106 and 106x160 pixels.
if I resize just to 161x107 and 107x161, rows disappear!
Note: any other filter different from LANCZOS will output a black image.
EDIT: Compression Quality is always set to 100
Any suggestion?
Thanks to everybody!
resized images with unexpected grey lines
Re: resized images with unexpected grey lines
It is likely this particular bug is fixed in more recent releases of ImageMagick. To verify, post a URL to your original image here so we can download it and see if we can reproduce the problem.
Re: resized images with unexpected grey lines
here is one of the original images http://lamemind.com/332.jpg
it's more than 3Mb...
it's more than 3Mb...
Re: resized images with unexpected grey lines
We're using ImageMagick 6.6.1-4, the current release, and your image converted properly (no lines):
- convert 332.jpg -filter LANCZOS -resize 160x106! image.jpg