I'm trying to make work an application developed on a server that has version 6.3.7.9 (Debian Lenny package) on my desktop that has version 6.4.5.4 (Ubunty Jaunty Jackalope) and imagemagick is behaving differently.
That's the operation I'm doing:
convert '(' 'res.jpg' '-modulate' '100,0,100' 'resMask.png' '-matte' '-compose' 'DstIn' '-composite' ')' '(' 'res.jpg' '-fill' '#FF69CF' '-colorize' '100%' ')' '-compose' 'multiply' '-composite' 'mainBg.png' '+compose' '-composite' '-quality' '85' out.jpg
That's the (correct) output on the old version 6.3.7.9:

While that's the wrong output on 6.4.5.4 (and newer, I tested also version 6.5.1.0 in Debian unstable):

I suppose that in the new version there is some bug in the handling of the alpha channel, otherwise anyone can help me understand how I can revert to the old behavior?
For reference, the images used in the example are available here:
http://nb1.nibbles.it/imagemagick/regre ... mainBg.png (image with alpha channel)
http://nb1.nibbles.it/imagemagick/regre ... .4/res.jpg ("main" image)
http://nb1.nibbles.it/imagemagick/regre ... esMask.png ("mask" image, using alpha channel too)
Thanks for any help!
Alex