error whule try to convert png to xpm

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: error whule try to convert png to xpm

Post by Bonzo »

Is png supported by your setup?

Try this to check:

Code: Select all

convert -list Format
I get amoungst other things:
PLASMA* PLASMA r-- Plasma fractal image
PNG* PNG rw- Portable Network Graphics (libpng 1.2.26)
See http://www.libpng.org/ for details about the PNG format.
PNG24* PNG rw- opaque 24-bit RGB (zlib 1.2.3)
PNG32* PNG rw- opaque or transparent 32-bit RGBA
PNG8* PNG rw- 8-bit indexed with optional binary transparency
PNM* PNM rw+ Portable anymap
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: error whule try to convert png to xpm

Post by fmw42 »

type the following

convert -list configure

(not convert -list format)

and see if the line starting with DELEGATES includes png

If it does not, you need to install the libpng library.

See http://www.imagemagick.org/download/delegates/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: error whule try to convert png to xpm

Post by anthony »

GRUB does not just take any XPM image, but a very very specific form of XPM image.

I am not certain of the exact needs, but I think it was a limited set of colors and only single character color indexes. I suggest you check the GRUB documentation, forums, and other website for the exact requirements needed.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply