Errors running ImageMagick' convert program

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
ONEEYEMAN

Errors running ImageMagick' convert program

Post by ONEEYEMAN »

Hi, ALL,
I needed to get a screenshot of my desktop under Gentoo Linux running GNOME.
I took using the standard GNOME application - "Application -> Accessories -> Take Screenshot"
Now, since I want to attach it to an E-mail I tried to run this, but got errors:

Code: Select all

igor@IgorsGentooOnNetwork ~ $ convert Screenshot.png screenshot.xpm
convert: no decode delegate for this image format `Screenshot.png'.
convert: missing an image filename `screenshot.xpm'.
I'm running ImageMagick version 6.3.0.5 on Gentoo Linux.

Can someone tells me what is going on?

Thank you.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Errors running ImageMagick' convert program

Post by anthony »

You do not have the PNG delegate libraries installed!!!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
ONEEYEMAN

Re: Errors running ImageMagick' convert program

Post by ONEEYEMAN »

Thank you for the reply.
Now where do i get them?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Errors running ImageMagick' convert program

Post by anthony »

Depend on your system.

If it is linux, or MacOSX you can download and install the package from your OS supplyers. For other UNIX systems you may need to build and install the library yourself.

IM Web site has a delegates section for most of the command delegate libraries, though I myself have never needed to use that source.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
ONEEYEMAN

Re: Errors running ImageMagick' convert program

Post by ONEEYEMAN »

anthony,
I'm running Gentoo Linux, but I don't know how the packet is called.
Can you give me the project name so I can search for appropriate packet inside Portage?

Thank you.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Errors running ImageMagick' convert program

Post by anthony »

try "libpng" however there should be some way of searching the package names.

Sorry I don't use Gentoo Linux and don't know "portage" myself.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
ONEEYEMAN

Re: Errors running ImageMagick' convert program

Post by ONEEYEMAN »

anthony,
Turns out I have "libpng" on my system.
Could you give me a site name where I can download and install this packet from sources?
Then I could ask on the Gentoo forum about the name of it on Gentoo...

Thank you.
Post Reply