Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- Date: Mon, 25 Feb 2008 18:34:08 +0100
- From: Sigurd Urdahl <sigurdur@example.com>
- Subject: Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- References: <ea4e853e0802230737m556b6823ud75932c4e0297a60@mail.gmail.com> <56861.211.8.77.2.1203923348.squirrel@webmail02.lancs.ac.uk> <47C29892.5080705@runbox.com> <1203950812.3750.26.camel@musuko.uchicago.edu>
- User-agent: Icedove 1.5.0.14pre (X11/20080208)
Stuart Luppescu wrote:function ps2png { gs -dQUIET -dNOPAUSE -dBATCH -sDEVICE=png16m -sOutputFile=$@example.com -r200x200 $@example.com }
It could use some improvement, though. Now I have to feed it the name of
the postscript file *without* the .ps extension. Anyway know how to use
sed or somesuch to automatically change the extension from ps to png?
Really trivial solution that should work for a directory as long as your files only have one dot in them (e.g not "I.have.no.idea.how.to.name.file.ps"):
for i in `ls *.ps|cut -d\. -f 1`; do ps2png $i.ps $i.png; done
kind regards, -sig
-- Sigurd Urdahl Linux, goofing, cooking, making fire, computer security, having a beer. Give me good music.
- Follow-Ups:
- Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- From: Godwin Stewart
- References:
- [tlug] Visio-to-PNG Batch Conversion - Possible?
- From: Lyle H Saxon
- Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- From: Andrew Errington
- Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- From: Sigurd Urdahl
- Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- From: Stuart Luppescu
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- Next by Date: [tlug] limitation on using md0 as /
- Previous by thread: Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- Next by thread: Re: [tlug] Visio-to-PNG Batch Conversion - Possible?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links