Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > How to quickly change picture file size?

How to quickly change picture file size?
Thread Tools
Forum Regular
Join Date: Mar 2006
Status: Offline
Reply With Quote
Dec 22, 2006, 10:52 AM
 
In Windows I installed powertoys and right clicked on a picture. In there I had an option to quickly resize a picture from 3 megs to like 100k - for easy email transport. Is there an equivalent on a mac? This is mostly for my wife. I just got her a new Imac and she misses this feature - as she emails a lot of pics to family and friends.
--
Mac Pro 3.0 Gigahertz Xeon 8 gig RAM
Mac Air 128 gig SSD
     
Mac Elite
Join Date: Aug 2006
Location: London
Status: Offline
Reply With Quote
Dec 22, 2006, 11:05 AM
 
If you open a pic in preview you can goto save as and save it as a lesser quality jpeg... but not change the size of the image!!!

I miss this feature of powertoys too!!!

If you have photoshop/imageready you can make an "open with" constrain script, which will open photoshop and automatically constrain any image to 200x200px for example.
(Last edited by richwig83; Dec 22, 2006 at 11:15 AM. )
     
HyperX  (op)
Forum Regular
Join Date: Mar 2006
Status: Offline
Reply With Quote
Dec 22, 2006, 11:24 AM
 
Ok I found this script

-- 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 120
-- 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


And it does what powertoys do, without the options of different sizes. Also I need to figure out how to make it bigger. Right now this script changes it to the size of a thumbnail... gonna mess around with it...
--
Mac Pro 3.0 Gigahertz Xeon 8 gig RAM
Mac Air 128 gig SSD
     
HyperX  (op)
Forum Regular
Join Date: Mar 2006
Status: Offline
Reply With Quote
Dec 22, 2006, 11:29 AM
 
Ok messing with the starget_width I got the pic to be what I want it. Now, can someone be kind enough and tell me how to make it as part of the right click Automator setting? I know I can drag a big pic on top of this one, How do I create an automatic action to resize multiple pics and put them in a folder call 'resized pics'

Thanks to all!!
--
Mac Pro 3.0 Gigahertz Xeon 8 gig RAM
Mac Air 128 gig SSD
     
Dedicated MacNNer
Join Date: Mar 2003
Status: Offline
Reply With Quote
Dec 22, 2006, 12:21 PM
 
If you use Apple's Mail program you could simply drag the images onto a new email message window.

This will give you an option (in the bottom right corner) to resize the images - Small, Medium, Large - and will update the message size automatically in the bottom left corner.



Or


You could play around with Automator quite easily -
-Launch Automator
-Look for 'Preview' under the 'Applications' list
-Select 'Scale Images', drag onto the workspace on the right
-You will be prompted to add a 'Copy' action - so that your originals stay in tact (good thing!)
-Play around with options such as 'Scaling Images' by 'Percentage' or 'To Size'
-Then save onto desktop as an applicaiton to try it on a test batch (remember to backup!)

When you're satisfied, you can save it as a workflow and it'll probably appear under 'Automator' when you select a couple of pictures and right click

You can then pimp your workflow by adding options such as
-Creating a 'New Folder' (Under 'Finder' in the Automator list of applications) before you do the copying
-Enabling 'Show Action When Run' under 'Options' of each action - this presents you with the relevant options at each stage of the action, eg naming your new folder, selecting where it goes, selecting where your copies go (you can then direct them to your new folder), choosing whether to resize by % or to size (and by how much)

To that end you could create various workflows like - silent resizing (where everything is automatic) or prompted resizing (where you get more control)

So you can really get creative with Automator, linking more and more actions from various applications! Just remember to test it on a small batch of photos first
     
Grizzled Veteran
Join Date: Oct 2001
Location: Michigan
Status: Offline
Reply With Quote
Dec 22, 2006, 10:35 PM
 
yeah I have to agree, for simplicity use mail or iphoto. In iPhoto highlight the pictures you want to send then go to Share-> email and then it will give you small, medium or large or full size. iPhoto even opens up a new mail window. But if your not using iphoto then use the option in mail (bottom right corner).

I think this is the easiest way.
Pismo 400 | Powerbook 1.5 GHz | MacPro 2.66/6GB/7300GT
     
Mac Elite
Join Date: Jan 2001
Location: Kansas City, Mo
Status: Offline
Reply With Quote
Dec 23, 2006, 06:11 PM
 
iPhoto. Easy schmeezy.
     
zro
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status: Offline
Reply With Quote
Dec 24, 2006, 09:10 AM
 
I only use Graphic Converter to re-compress JPEGs as it can display a preview dialog of the final output.
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
Dec 24, 2006, 09:22 AM
 
DroPic is my choice. Simple drag-and-drop interface, fine control of size when you need it, and it's not only simple and small, it's FREE.
Glenn -----
OTR/L, MOT, Tx
     
Fresh-Faced Recruit
Join Date: Sep 2006
Status: Offline
Reply With Quote
Dec 24, 2006, 10:35 AM
 
If you want your Automator Action/Workflow to show up in your Contextual Right Click menu under Automator save it as a Plug-In for Finder under the file menu.
     
Senior User
Join Date: Jun 2006
Status: Offline
Reply With Quote
Dec 24, 2006, 11:18 PM
 
i can also recommend dropic. very simple.
imac g3 600
imac g4 800 superdrive
ibook 466
     
Senior User
Join Date: Jul 2006
Status: Offline
Reply With Quote
Dec 25, 2006, 01:33 AM
 
Toyviewer is also capable of resizing images. It is a nice viewer besides.
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:58 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2