PDA

View Full Version : [ubuntu] Phatch, So easy a caveman can...



sillyboy
September 17th, 2009, 12:07 AM
Please help. Using 8.04. I need to batch resize 20 GB of photos. I was reading where Phatch was easy to use, and can batch resize. I can not figure the thing out. Could someone please spell this out for me?? Or is there another program I could use?

Thanks

oldfred
September 17th, 2009, 12:18 AM
I downloaded several bash scripts and put them into the scripts file
~/.gnome2/nautilus-scripts
One I found again on the internet that has some flexibility:
http://ubuntuforums.org/archive/index.php/t-509102.html

I was primarily looking for thumbnails but you can obviously modify to suit:

#!/bin/sh batch640x480
# author: Bas Wenneker
# email: sabmann [ta] gmail [tod] com
# Use this script to batch resize all images in a folder.
# First open the folder and then use the script.

for file in `ls -l`
do
name=`echo $file | cut -f1 -d.`
convert -strip -geometry 640x480 -quality 50 $file thumbnails/"${name}_640x480.jpg
done

sillyboy
September 17th, 2009, 12:23 AM
Thank You

stani
September 23rd, 2009, 04:56 PM
Please help. Using 8.04. I need to batch resize 20 GB of photos. I was reading where Phatch was easy to use, and can batch resize. I can not figure the thing out. Could someone please spell this out for me?? Or is there another program I could use?

Thanks

Hi, I'm the author of Phatch. Did you read the tutorials?
http://photobatch.wikidot.com/tutorials

Can you describe what you try to do and why it is not working for you?