Batch change iPhoto sizes ?

Dean M

Registered
Hi.
Is there a way to change a bunch of photos in the iPhoto Library to an Email or Web page size all at once ? Or is there a widget or small downloadable (free) that could do this? Thanks. Dean M.
 
You could use an Applescript in the Finder.

-- save in Script Editor as Application
-- drag files to its icon in Finder

on open some_items
repeat with this_item in some_items
try
rescale_and_save(this_item)
end try
end repeat
end open


to rescale_and_save(this_item)
tell application "Image Events"
launch
set the target_width to 480
-- open the image file
set this_image to open this_item

set typ to this_image's file type

copy dimensions of this_image to {current_width, current_height}
if current_width is greater than current_height then
scale this_image to size target_width
else
-- figure out new height
-- y2 = (y1 * x2) / x1
set the new_height to (current_height * target_width) / current_width
scale this_image to size new_height
end if

tell application "Finder" to set new_item to ¬
(container of this_item as string) & "scaled." & (name of this_item)
save this_image in new_item as typ

end tell
end rescale_and_save
 
Probably the easiest way would be to use the built in methods included with iPhoto. Goto File>Export. You can set the file size, or export to a web page. iPhoto will actually build web galleries for you. You can set either the thumbnail size to what you need or the image size. Either one will put them into a folder of just those images and you are done.
Use iPhoto help for detailed instructions.
For e-mail, you can select as many images as you want using the shift key or command key and then simply click the e-mail button at the bottom. iPhoto will ask you what size images you want. Make your selection and iPhoto will resize the photos and insert them into an e-mail for you. You can then e-mail as is, add text, drag the photos to other e-mails, or drag the photos to any folder on you drive to use for other purposes.
iPhoto has it all built in.
Give it a try,
Robert
 
Thank you all so much.........BobW--- Way beyond my ability. Am planning to learn to make Apple Scripts tho in the future.
ROBERT- I think that's what I'm looking for.....Just couldn't find the right procedure.
And SIRSTAUNCH; I'll check out iResize......Thanks again.Dean M
 
Back
Top