Page 1 of 1

Apt ImageMagick v convert

Posted: 2014-05-10T07:36:41-07:00
by stanassc@eclipse.net
I have installed ImageMagick on an Ubuntu 14.04 platform.

I am able to convert files under the ImageMagick apt, most particularly XWD -> png formats.

I need however to incorporate file conversion into several scripts. The command line <convert Alex_WL.0.XWD Alex_WL.0.png produces

"convert: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/501.
convert: no images defined `Alex_WL.0.jpg' @ error/convert.c/ConvertImageCommand/3161."

???

Many thanks :?

Re: Apt ImageMagick v convert

Posted: 2014-05-10T11:14:44-07:00
by snibgo
I don't know what an XWD file is. It isn't listed for me (IM v6.8.9-0 on Windows 8.1) under "convert -list format".

Perhaps your delegates haven't been installed.

What version IM? Please give the complete output of "convert -version".

What happens when you run the following commands:

Code: Select all

convert logo: x.png
convert logo: x.jpg
convert logo: x.XWD

Re: Apt ImageMagick v convert

Posted: 2014-05-11T12:11:13-07:00
by stanassc@eclipse.net
"DESCRIPTION (Linux)
Xwd is an X Window System window dumping utility. Xwd allows X users to store window images in a specially formatted dump file (XWD format). This file can
then be read by various other X utilities for redisplay, printing, editing, formatting, archiving, image processing, etc. The target window is
selected by clicking the pointer in the desired window. The keyboard bell is rung once at the beginning of the dump and twice when the dump is
completed."

Under Ubuntu 12.04 and an earlier version of ImageMagick this format was recognized.

BTW convert logo x.png works just fine.