Re: Is this feasible?

From: jimw wagner <jpw_at_no.spam.please>
Date: Sat Feb 10 2007 - 12:24:32 CST

Scott Walde wrote:
> jimw wagner wrote:
>> Steven Kurylo wrote:
>>> Those are all good ideas, but what do you *normally* run? Don't
>>> change the commands in any way, and join them with '&&'.
>>>
>>> Something like this: "pdftoppm -f 55 -l 56 steass00.pdf steass &&
>>> optipng steass*.ppm"
>>>
>> Sorry, I misunderstood.
>> What I do is first run "pdftoppm -f 55 -l 56 steass00.pd steass.ppm"
>>
>> Which gets me my ppms.
>>
>> I then run (from within the directory where I keep the pdf for this
>> purpose) "optipng ./steass*.ppm steass.png"
>> This gets me (eventually) all the ppms changed to pngs. I then have
>> to go through and remove the ppms that are left.
>
> Aha! So something like this should work:
>
> pdftoppm -f 55 -l 56 steass00.pd steass.ppm && optipng ./steass*.ppm
> steass.png && rm steass*.ppm
>
>
Just tested it, and it works quite nicely, Thanks a lot Scott, and
everyone who's answered.

JimW
Received on Sat Feb 10 12:24:48 2007

This archive was generated by hypermail 2.1.8 : Sat Feb 10 2007 - 12:24:55 CST