Page 1 of 1

ImageMagick convert problems

Posted: 2008-07-21T07:53:43-07:00
by Plymouth
I need to convert various images to the old DEGAS .pi3 file format

The ImageMagick convert tool, should apparently do this. However, when I run convert on a file, although another file with the .pi3 extension is sometimes produced, the format of said new file has NOT really changed - its still the old file "in disguise" as a DEGAS file.

The command I use is...

convert ~/filename.pnm ~/filename.pi3

Sometimes, rather than outputting a duff file, the following text is output...

convert: unable to open module file `/usr/lib/ImageMagick-6.2.4/modules-Q16/coders/pi3.la': No such file or directory.

Could somebody please expain what I'm doing wrong please?

TIA

Re: ImageMagick convert problems

Posted: 2008-07-22T02:01:20-07:00
by robrowne
Hello,
I'm having a similar problem where I use

convert file.pdf new_file.jpeg

what happens is that the new_file.jpeg is a copy of the pdf file with the extension changed to .jpeg.

cheers

Re: ImageMagick convert problems

Posted: 2008-07-22T02:52:42-07:00
by Bonzo
I pressume Imagemagick is installed and working OK robrowne. Otherwise it could be finding another program to just change the filename ?

Re: ImageMagick convert problems

Posted: 2008-07-22T03:36:14-07:00
by robrowne
yes it is, but I found out that I need to install some support libraries for jpeg's
so right now it's uninstall and re-make with the required libraries!

Re: ImageMagick convert problems

Posted: 2008-07-22T07:24:46-07:00
by robrowne
Hey,
I sorted my problem.
I was missing some files and libraries.
I needed to do a yum install libtools

and get these library files:
jpegsrc.v6b.tar.gz
libpng-1.0.6.tar.gz
libtiff-lzw-compression-kit-1.1.tar.gz
tiff-v3.5.5.tar.gz

I ended up having issues trying to compile ImageMagick with tiff, so I omitted it ./configure -without-tiff

These posts might help:
http://www.randycullom.com/chatterbox/a ... _imag.html
http://www.photopost.com/forum/photopos ... rror1.html

I hope some of this stuff helps you Plymouth with your issue
Laters

Re: ImageMagick convert problems

Posted: 2008-07-22T08:18:47-07:00
by robrowne
hey Plymouth,

I couldn't see support for .pi3

The list of supported files can be found at http://www.imagemagick.org/www/formats.html
What you probably need to do is track down the libraries for DEGAS conversion, uninstall Imagemagick, recompile Imagemagick with DEGAS linked, and install again!
That's pretty much what I had to do to add .jpeg support.