comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Error with cg output and ImageMagick
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Error with cg output and ImageMagick [message #87040 is a reply to message #87038] Mon, 30 December 2013 08:09 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Barry Lesht writes:

>
> Interesting (maybe, I think). Here is the output:
>
> IDL> spawn, 'convert /Users/blesht/test1.ps /Users/blesht/test1.jpg'
> convert: bad parameters to zlib `/var/tmp/magick-38329JSFNnPDnhRZr1' @ error/png.c/MagickPNGErrorHandler/1804.
> convert: corrupt image `/var/tmp/magick-38329JSFNnPDnhRZr1' @ error/png.c/ReadPNGImage/4051.
> convert: Postscript delegate failed `/Users/blesht/test1.ps': No such file or directory @ error/ps.c/ReadPSImage/837.
> convert: no images defined `/Users/blesht/test1.jpg' @ error/convert.c/ConvertImageCommand/3144.
>
> I don't know why ImageMagick still seems to be invoking the 'PNG' routines. The same command works fine from the shell. By the way, I tried to compare the environmental variables (using the printenv) command from inside and outside of IDL. They are essentially the same (though IDL adds its directory to the path).

I am beginning to think this is a problem with one of the compression
libraries ImageMagick relies on. Maybe something like lib32-libpng15.

What about creating a file that doesn't require compression. Maybe a
TIFF file or a PDF file?

Another person in the ImageMagick forums reported that he solved a
similar problem by uninstalling, then reinstalling the zlib package.
Maybe the problem lies there.

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to plot multiple cgContour plots using the same colour levels (but containing differing data)
Next Topic: Contour value in each point in XY plane

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:03:56 PDT 2025

Total time taken to generate the page: 0.00245 seconds