I'm using ImageMagick within a script to build DVD menus on Linux Slackware-current x86_64 & Slackware-13.0 x86_64.h (The script is the makemenu script within tovid from: http://tovid.wikia.com/wiki/Tovid_Wiki)
I recently upgraded to ImageMagick 6.6.6-3 and have problems; it seems the alpha channel handling with compose is broken. I have created 2 sample commands based on tovid's makemenu script which shows the problem:
Code: Select all
composite -compose Src -gravity center 03_active-highlight.png bg_canvas.png highlight.png
composite -compose Over -gravity center highlight.png menu.ppm result.png
The last good version for me is 6.6.4-10. Both 6.6.5-10 & 6.6.6-3 show the same problem visually, but the files produced have wildly different sizes.
Code: Select all
2759 2010-12-10 12:32 6.6.4-10/highlight.6.6.4-10.png
496799 2010-12-10 12:32 6.6.4-10/result.6.6.4-10.png
3742 2010-12-10 12:33 6.6.5-10/highlight.6.6.5-10.png
2024 2010-12-10 12:33 6.6.5-10/result.6.6.5-10.png
822 2010-12-10 12:34 6.6.6-3/highlight.6.6.6-3.png
519 2010-12-10 12:34 6.6.6-3/result.6.6.6-3.png
highlight.png should be transparent with 4 orange triangles.
It is now black with 4 orange triangles.
result.png should be white with a photo in the centre, some text and 4 orange triangles.
It is now black with 4 orange triangles.
I think this is a bug, unless the functionality of compose has been deliberately changed.
Cheers,
Peter