Find the answer to your Linux question:
Results 1 to 3 of 3
I take all my photos at 8megapixels but resize the majority of them to 1600x1200. I'm looking for a batch resizer but need it to save the EXIF data attached ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2

    can't find batch resizer to suit my needs


    I take all my photos at 8megapixels but resize the majority of them to 1600x1200. I'm looking for a batch resizer but need it to save the EXIF data attached to the image. Most resizers strip this information. I tried David's Batch Processor, but that has one major annoyance, and that it only lets me resize pictures to a full percent. My photos are taken at 3254x2448, and they need to be resized by 49.02% to get 1600x1200. DBP only let's me do it by 49% exactly, so this leaves me with a picture of 1599x1199. I can't do an absolute resize since many of my pictures are shot vertically, so I'd have to separate all the vertical and horizontal pictures to do it this way.

    anyone know of a batch resizer that doesn't have either of these issues?

    thanks

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Imagemagick all the way.

    Code:
    for i in /path/to/images/*.jpg; do echo convert -resize 49.02% "$i" "/destination/$(basename $i)"; done
    If the output seems adequate to you, then remove the "echo" in the middle, and the work will be done. Untested but it should work with percentages, and it should also preserve any existing exif metadata.

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2
    i found another one, that also rotates, rounds images, adds watermarks, etc, called phatch, which I recommend. It's all gui, too and you can save your 'commands'.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •