[lug] Image conversion.

John Starkey jstarkey at advancecreations.com
Sat Dec 23 20:06:23 MST 2000


Oh great. Alchoholics, geometrists ( is that a word? ). What's a newbie to
do?

Thanks everyone. I posted 500 images using Windoze and the Paintshop Pro
default .bmp without checking NN. Bitmap is the oldest form of screen
image correct? Why doesn't NN support it?

Regardless. Another case where Windoze... 1 week.... Linux.... 1 hour.

On Sat, 23 Dec 2000, Sean Reifschneider wrote:

> On Sat, Dec 23, 2000 at 05:36:32PM -0700, Archer Sully wrote:
> >"Scott A. Herod" wrote:
> >> Looks like ppmtogif wants a file name so try
> >> 
> >> foreach file ( *.bmp )
> >> set outfile=`echo $file | sed 's/bmp/ppm/'`
> >  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> >Ghastly.  
> >
> >set outfile="`basename $file .bmp`".gif
> 
> Obtuse.
> 
> outfile=${file%.bmp}.ppm
> 
> ;-)
> 
> The ${} stuff like %, #, %%, and ## are pretty handy.
> 
> Sean
> 







More information about the LUG mailing list