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!