Hi! On Wed, Dec 09, 2009 at 10:09:02PM +0100, Lionel Elie Mamane wrote: > The command "convert cc32.ico colorcode32.xpm" from the attached > cc32.ico produces the attached colorcode32.xpm, which neither xli nor > gqview display reasonably. xli complains with many error > messages like: > > pixmapLoad: colorcode32.xpm - Bad color name '#B2B3B300' > > In contrast, imagemagick produces a good result.
cc32.ico contains an alpha channel, which gm tries to preserve during the conversion. xli and gqview cannot handle RGBA data in XPM files, apparently. I still need to check whether this is a bug in the mentioned apps, or whether XPM are required to be opaque. (The xpm coder in GraphicsMagick explicitly handles transparency, which makes me suspect that RGBA is allowed. On the other hand, the current ImageMagick explicitly disables all transparency for XPM. I'll try to find a definitive source to decide which one is correct.) In the meantime, if you use "convert +matte cc32.ico colorcode32.xpm", both implementations will yield consistent results. Regards, Daniel. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org