convert large number of graphics
John Abreau
jabr at abreau.net
Wed Dec 4 17:31:54 EST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-Type: text/plain; charset=us-ascii
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?
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-----
More information about the gnhlug-discuss
mailing list