Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Art & Imaging in Linux > can't find batch resizer to suit my needs

Forgot Password?
 Art & Imaging in Linux   Stuff made with The GIMP and/or others

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 02-04-2009   #1 (permalink)
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
acaprez is offline  


Reply With Quote
Old 02-09-2009   #2 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
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.
i92guboj is offline   Reply With Quote
Old 02-09-2009   #3 (permalink)
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'.
acaprez is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:50 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2