Image manipulationwith GIMP and convert

Paul paul at all-the-johnsons.co.uk
Thu Oct 12 13:13:19 UTC 2006


Hi,

> In order to convert large amount of pictures I need a command-line
> script which use convert command.

#!/bin/sh
for file in *.gif; do convert "{$file}" "{$file}.png"; done

okay, that will give you filename.gif.png, but should do the trick.

> How must I do that using convert command?

convert -help should help (-scale should do it)

TTFN

Paul
-- 
"Der einzige Weg, Leute zu kontrollieren ist sie anzulügen" - L. Ron
"Ich kann kein Science-Fiction schreiben" Hubbard; Lügner, Betrüger,
Fixer und Wohltäter zu niemandem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20061012/85c2a836/attachment-0002.bin 


More information about the users mailing list