Open main menu

CDOT Wiki β

Changes

BTC640/Images

457 bytes added, 13:34, 6 January 2012
Lab
== Convert ==
Convert is a commandline utility that can be used for format conversionas well as some other manipulations.
* Bring up a terminal window, cd into the folder where you saved all the files above. Run:
<pre>convert step1.jpg step1.gif</pre>
* You can also convert a bunch of files from jpg to gif like this (note that in Linux filenames are case sensitive):
<pre>for FILE in `ls *jpg`; do convert $FILE `basename $FILE jpg`gif; done</pre>
* Depending on the complexity of your original image the gif versions may look exactly the same or the quality may be degraded, even though the size of the gif versions is probably larger than the size of the original jpg.