Unable to convert xpm file

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Unable to convert xpm file

Post by broucaries » 2014-10-19T01:55:03-07:00

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.

broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Unable to convert xpm file

Post by broucaries » 2014-10-20T10:55:36-07:00

Any news. Thanks for the other bug

User avatar
dlemstra
Posts: 1576
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Unable to convert xpm file

Post by dlemstra » 2014-10-20T12:23:11-07:00

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
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Unable to convert xpm file

Post by broucaries » 2014-10-21T12:41:27-07:00

We have also the same report about a tone of grey

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

User avatar
dlemstra
Posts: 1576
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Unable to convert xpm file

Post by dlemstra » 2014-10-21T22:02:38-07:00

The next version of ImageMagick (6.8.9-9) will recognize the color 'darkslategrey' but 'dark slate grey' will remain invalid.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

Post Reply