Page 1 of 1

Unable to convert xpm file

Posted: 2014-10-19T01:55:03-07:00
by broucaries
I tried:

joerg [3]:~/test$ convert ddd.xpm ddd.png
convert.im6: unrecognized color `None m None' @ warning/color.c/GetColorCompliance/947.
convert.im6: corrupt image `ddd.xpm' @ error/xpm.c/ReadXPMImage/390.
convert.im6: no images defined `ddd.png' @ error/convert.c/ConvertImageCommand/3044.

ddd.xpm is from the package ddd (The Data Display Debugger).

So something went wrong.

Re: Unable to convert xpm file

Posted: 2014-10-20T10:55:36-07:00
by broucaries
Any news. Thanks for the other bug

Re: Unable to convert xpm file

Posted: 2014-10-20T12:23:11-07:00
by dlemstra
I am working on a fix for this and I will submit a patch tonight. But the file contains a color that is not XPM compliant. The color blue4 is not supported by XPM. The list of supported colors can be found here: http://cgit.freedesktop.org/xorg/lib/li ... c/rgbtab.h

Re: Unable to convert xpm file

Posted: 2014-10-21T12:41:27-07:00
by broucaries
We have also the same report about a tone of grey

https://bugs.debian.org/cgi-bin/bugrepo ... bug=766017

Re: Unable to convert xpm file

Posted: 2014-10-21T22:02:38-07:00
by dlemstra
The next version of ImageMagick (6.8.9-9) will recognize the color 'darkslategrey' but 'dark slate grey' will remain invalid.