convert large number of graphics

Charles Farinella farinella at mcttelecom.com
Thu Dec 5 09:45:19 EST 2002


On Wed, 4 Dec 2002, John Abreau wrote:

> Charles Farinella <cfarinella at AppropriateSolutions.com> writes:
> 
> > I have to convert over 200 .bmp files to .jpg.  Is there a tool I can run 
> > from a command line to do this?  I looked at the documentation for both xv 
> > and display, but found nothing.  Suggestions?

You guys are great, thanks!  Just what I needed.

--charlie

> 
> Sure. "display" is the GUI component of ImageMagick; there are also a 
> bunch
> of command-line components. "convert" will convert between different 
> image formats:
> 
>     for i in *.bmp ; do convert $i `basename $8 .bmp`.jpg ; done
> 
> or, if you're using a csh-flavored shell:
> 
>     foreach i ( *.bmp )
>         convert $i `basename $i .bmp`.jpg
>     end
> 
> 
> - --
> John Abreau / Executive Director, Boston Linux & Unix
> Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
> PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> Comment: Exmh version 2.5 07/13/2001
> 
> iQCVAwUBPe6CWVV9A5rVx7XZAQJnhwP/dPQ2zkJFriovQsVD5grq1W3RaHu/wyLB
> 8p7+gnAHqAQXiirCTjBPzc6fxPh7ugtjipWoHQ9XBhVsCnAW3wkyxZzg/srJpKGK
> tQnUKHMjDG3hHDWjunS+7zaDHikbUVNyNFEbTqejNMAIURzHo9eOneIE9v3Ro0Jl
> oRpTXfmkAjI=
> =gDxO
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
> 

-- 
------------------------------------------------------------------------
Charlie Farinella, Appropriate Solutions, Inc.
cfarinella at AppropriateSolutions.com
603-924-6079





More information about the gnhlug-discuss mailing list