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 #33337 is a reply to message #33272] Wed, 18 December 2002 13:15 Go to previous messageGo to previous message
mvukovic is currently offline  mvukovic
Messages: 63
Registered: July 1998
Member
"Mark Hadfield" <m.hadfield@niwa.co.nz> wrote in message news:<ato3h8$at4$2@newsreader.mailgate.org>...
> "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!
>

Nope, just in my cube :-). But you really should not look too harshly
at the code above. It is only programming, just of a different
flavor.

Mirko
[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: Sun Oct 12 00:01:34 PDT 2025

Total time taken to generate the page: 0.01010 seconds