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

Home » Public Forums » archive » Re: ImageMagick and Landscape Encapsulated PostScript Files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: ImageMagick and Landscape Encapsulated PostScript Files [message #77370] Fri, 26 August 2011 08:15
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Anyway, stay tuned for program updates. :-)

Quite a number of programs in the Coyote Library have
been changed today to deal with this problem of
ImageMagick (via GhostScript) not being able to
correctly create a raster file from an
ENCAPSULATED PostScript file in LANDSCAPE mode.

Please update your Coyote Library accordingly:

http://www.idlcoyote.com/programs/zip_files/coyoteprograms.z ip

Or, from the tagged releases in the IDL repository:

http://idl-coyote.googlecode.com/

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: ImageMagick and Landscape Encapsulated PostScript Files [message #77376 is a reply to message #77370] Fri, 26 August 2011 05:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> It appears to be because ImageMagick cannot deal with
> encapsulated PostScript files in landscape mode.

I have now learned that ImageMagick is actually using
GhostScript to deal with PostScript file conversion
to raster formats. So, I downloaded the very latest
version of GhostScript and I have confirmed that,
indeed, GhostScript has no problem converting
PostScript landscape files to raster format IF
the PostScript file is NOT encapsulated. If it is,
the raster file is completely screwed.

This is the reason I was forcing encapsulated
PostScript files to use Portrait mode in some
of my programs. Of course, there are reasons
why you might want to have encapsulated
PostScript files in landscape mode besides
wanting to convert them to raster formats,
so I am going to have to come up with some
way of dealing with this possibility. I guess
I'll have to issue a warning, and let the user
make a choice about what to do.

Anyway, stay tuned for program updates. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Pointers to a variable...
Next Topic: Re: polar_cgContour?

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

Current Time: Wed Oct 08 19:22:10 PDT 2025

Total time taken to generate the page: 0.00631 seconds