PDA

View Full Version : [ubuntu] Convert images



szaqlon
September 24th, 2008, 05:44 PM
How would I go about converting .ppm images to .jpg? I have 356 images and I would like to be able to do them all without manually doing them one by one.

vishzilla
September 24th, 2008, 05:53 PM
if you have imagemagick installed use the convert keyword

EDIT:
convert *.ppm image%d.jpg where %d increments from 0 to 355 in your case

NewJack
September 24th, 2008, 06:10 PM
You should also be able to convert images in GIMP

vishzilla
September 24th, 2008, 06:11 PM
You should also be able to convert images in GIMP
thats a pain. convert is easy and powerful. all you need is to enter one line as I have given before

NewJack
September 24th, 2008, 06:54 PM
I just wanted to give another option :)

lovinglinux
September 24th, 2008, 07:35 PM
Phatch is a very nice batch converter. It's in the repos.

szaqlon
September 25th, 2008, 03:14 AM
convert is perfect, thank you.