RSS/Atom feed Twitter
Site is read-only, email is disabled

Batch-Resizing Photos, etc.

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Batch-Resizing Photos, etc. Lyle (Hiroshi) Saxon 13 Dec 02:22
  Batch-Resizing Photos, etc. David Hodson 13 Dec 11:47
  Batch-Resizing Photos, etc. Geoffrey 13 Dec 11:52
  Batch-Resizing Photos, etc. Sven Neumann 13 Dec 12:31
  Batch-Resizing Photos, etc. Alexander R. Pruss 13 Dec 14:34
Lyle (Hiroshi) Saxon
2004-12-13 02:22:52 UTC (over 19 years ago)

Batch-Resizing Photos, etc.

Greetings from Tokyo!

I've been using Linux for all of my text-based tasks for about nine months now, but have kept an off-line W-box running with ACD-See and PS-7 for my photo work. ACD-See (Ver.-4.0) handles most of what I need to do with photos - mainly batch renaming, batch file type conversions, batch rotations, and batch resizing. More than I used to, but still only fairly rarely do I spend much time with a single photo changing colors, and when I do, it's usually to correct the color balance of non-flash available-light photos with wildly incorrect colors or to slightly rotate (via free transform) photos taken slightly at an angle. Although I've been reading things posted at this gimp user group on and off, I'm ashamed to admit that I've only actually used gimp for the first time this past week. From what I can see, it's able to do what I have been doing with PS-7 for the most part, but I wasn't able to find a function for resizing or the other things I generally do with ACD-See. So, I want to ask if the following things can be done with gimp - help me to finally escape from the sinister W-world! I can't keep my old W-box running forever.....

1) batch renaming 2) batch file-type conversion
3) batch rotations (righting vertical photos) 4) batch resizing

Also, are there any viewing options that allow for jumping from photo to photo by using Page Up & Page Down? (I'm able to do that with GQview, so it's not important, but if the feature exists, I'd like to try it with gimp.)

Sorry for the dopey questions - any assistance greatly appreciated!

Lyle (Hiroshi) Saxon http://www5d.biglobe.ne.jp/~LLLtrs/

David Hodson
2004-12-13 11:47:50 UTC (over 19 years ago)

Batch-Resizing Photos, etc.

Lyle,

1) batch renaming
2) batch file-type conversion
3) batch rotations (righting vertical photos) 4) batch resizing

David's Batch Processor is a Gimp plugin which does most of these: http://members.ozemail.com.au/~hodsond/dbp.html

Give it a try, and let me know if you have any suggestions.

Also, are there any viewing options that allow for jumping from photo to photo by using Page Up & Page Down?

My File Sequencer lets you step through sequentially numbered images, if that's helpful:
http://members.ozemail.com.au/~hodsond/fileSeq.html

(It has a minor bug which should be fixed when Gimp 2.2 is released.)

Geoffrey
2004-12-13 11:52:18 UTC (over 19 years ago)

Batch-Resizing Photos, etc.

Lyle (Hiroshi) Saxon wrote:

Greetings from Tokyo!

I've been using Linux for all of my text-based tasks for about nine months now, but have kept an off-line W-box running with ACD-See and PS-7 for my photo work. ACD-See (Ver.-4.0) handles most of what I need to do with photos - mainly batch renaming, batch file type conversions, batch rotations, and batch resizing. More than I used to, but still only fairly rarely do I spend much time with a single photo changing colors, and when I do, it's usually to correct the color balance of non-flash available-light photos with wildly incorrect colors or to slightly rotate (via free transform) photos taken slightly at an angle. Although I've been reading things posted at this gimp user group on and off, I'm ashamed to admit that I've only actually used gimp for the first time this past week. From what I can see, it's able to do what I have been doing with PS-7 for the most part, but I wasn't able to find a function for resizing or the other things I generally do with ACD-See. So, I want to ask if the following things can be done with gimp - help me to finally escape from the sinister W-world! I can't keep my old W-box running forever.....

1) batch renaming

You can do this with any number of scripting languages including perl, python and shell. I generally do it with a shell script:

You would need to offer an example of your specific needs. If I had a bunch of files named *.JPG and wanted them changed to *.jpg, I would do:

for fn in *.JPG; do mv $fn ${fn%JPG}jpg
done

2) batch file-type conversion

Imagemagick, specifically the 'convert' command:

convert foo.gif foo.jpg

3) batch rotations (righting vertical photos)

A combination of shell and imagemagick:

for fn in *.jpg; do convert -rotate 90 $fn $fn
done

4) batch resizing

imagemagick:

for fn in *.jpg; do convert -resize 50% $fn $fn
done

Also, are there any viewing options that allow for jumping from photo to photo by using Page Up & Page Down? (I'm able to do that with GQview, so it's not important, but if the feature exists, I'd like to try it with gimp.)

There are various tools out there available to preview images on Linux, you'd be best to do a bit of googling.

Sven Neumann
2004-12-13 12:31:26 UTC (over 19 years ago)

Batch-Resizing Photos, etc.

Hi,

"Lyle (Hiroshi) Saxon" writes:

1) batch renaming
2) batch file-type conversion
3) batch rotations (righting vertical photos) 4) batch resizing

I posted a script to do batch processing here about a week ago. It showed how to apply unsharp-mask on a bunch of pictures. You should be able to dapt it to your needs.

After looking at your needs I would however say that ImageMagick is probably a better choice than GIMP. You also might want to look into jpegtran or exiftran which are utilities for lossless rotation of JPEG images (optionally using the EXIF orientation tag).

Sven

Alexander R. Pruss
2004-12-13 14:34:49 UTC (over 19 years ago)

Batch-Resizing Photos, etc.

On Mon, 13 Dec 2004, Lyle (Hiroshi) Saxon wrote:

2) batch file-type conversion
3) batch rotations (righting vertical photos) 4) batch resizing

This seems easiest done with ImageMagick (www.imagemagick.org).

Alex Pruss

-- Dr. Alexander R. Pruss || e-mail: ap85@georgetown.edu Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057 ||
U.S.A. ||
----------------------------------------------------------------------------- "Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur." - Paul of Worczyn (1424)