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 - Has this been solved?? [message #87024 is a reply to message #85419] Sat, 28 December 2013 17:45 Go to previous messageGo to previous message
BLesht is currently offline  BLesht
Messages: 89
Registered: March 2007
Member
On Thursday, August 1, 2013 4:47:49 PM UTC-5, Matthew Argall wrote:
> ImageMagick is giving me an error whenever I try to use Output. Anyone know what is going on?
>
>
>
> convert: bad parameters to zlib `/var/tmp/magick-5612FLG4wulHookp1' @ error/png.c/MagickPNGErrorHandler/1804.
>
> convert: corrupt image `/var/tmp/magick-5612FLG4wulHookp1' @ error/png.c/ReadPNGImage/4048.
>
> convert: Postscript delegate failed `/Users/argall/Desktop/Analysis/20040406/E_Power_LMN_C1_2004 0406_040600_050900.ps': No such file or directory @ error/ps.c/ReadPSImage/837.
>
> convert: no images defined `PNG24:/Users/argall/Desktop/Analysis/20040406/E_Power_LMN_C 1_20040406_040600_050900.png' @ error/convert.c/ConvertImageCommand/3106.
>
>
>
I was wondering if there was any more information about this problem. I use IDL v8.2.3 on a Mac (OSX 10.8.5) and would like to use the Coyote graphics 'cgPS_Open', 'cgPS_Close, /PNG' sequence. As happened to the original poster, when I tried a simple example, I got the "convert: bad parameters..." etc. messages. I have both ImageMagick and ghostscript installed (and have uninstalled and re-installed them as David suggested). Working from within ImageMagick I can successfully convert a .PS image to .PNG which would suggest that ImageMagick is communicating correctly with ghostscript. I also have tried using the GS_PATH keyword to be sure IDL knows where ghostscript (gs) is installed but this doesn't seem to make any difference.

By the way, I've been launching the development environment from the command line so IDL knows the location of Imagemagick (cgHasImageMagick() = 1).

Has anyone found a solution to this?



>
>
> My problem is similar to the one posted here:
>
>
>
> https://groups.google.com/forum/#!searchin/comp.lang.idl-pvw ave/imagemagick/comp.lang.idl-pvwave/hxKwX-Vzt-k/spOQf2tNArQ J
>
>
>
> The solution there was to check permissions and install ghostscript. I have access and ghostcript is installed.
[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 19:26:26 PDT 2025

Total time taken to generate the page: 0.00496 seconds