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

Home » Public Forums » archive » Re: Generating PS files and png files at the same time
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: Generating PS files and png files at the same time [message #33272] Tue, 17 December 2002 12:27 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Mirko Vukovic" <mvukovic@taz.telusa.com> wrote in message
news:d96c8f7c.0212171010.4d95b8be@posting.google.com...
> bbox=`cat $< | tr '\015' ' ' | head -100 | egrep "^%%BoundingBox" |
> head -1 | sed -e 's/%%BoundingBox://g''` ;\
> width=`echo $$bbox | awk '{printf("%i\n",$$3)}'` ;\
> height=`echo $$bbox | awk '{printf("%i\n",$$4)}'` ;\
> $(GS) -sDEVICE=png256 -r300 -dBATCH -dNOPAUSE -q
> -dDEVICEWIDTHPOINTS=$$width -dDEVICEHEIGHTPOINTS=$$height
> -sOutputFile=$@ $<

Whoa! You've been in the sun too long!

Let's just say that if God meant us to use all that $$ \ | stuff, he
wouldn't have invented FORMAT='(F10.1)'.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Windows Question Related to IDL
Next Topic: IDLDE refresh in Windows XP (IDL 5.2.1)

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

Current Time: Wed Oct 08 17:02:22 PDT 2025

Total time taken to generate the page: 0.00372 seconds