2
1
I'm trying to use the simple command to resize images and overwrite the originals:
mogrify -resize 80% *
My source images are semi-transparent PNGs that happen to be grayscale. The resize operation works, but is making the images darker.
This used to work on a different machine (Ubuntu 12.04, with ImageMagick 6.6.9-7 2014-03-06
) and has broken on a newer machine (Ubuntu 14.04, with ImageMagick 6.7.7-10 2014-03-06
). As of this posting, the broken version is the latest version in the Ubuntu 14.04 repos.
Since ImageMagick is a scriptable tool, this is an unfortunate regression that should have been caught by a unit test. I'm off to check my scripted image workflows.
FYI - apparently the convert tool is also affected.
2
Try to add
– Hastur – 2015-04-07T20:49:59.257-type truecolorAlpha
(check here)Yes, the
-type truecolorAlpha
option also appears to workaround the bug. – Jeff Ward – 2015-04-07T21:33:02.793