batch resize?

Harvey_nikon

Suspended / Banned
Messages
3,749
Edit My Images
Yes
Hi,

I have around 400 images, portrait and landscape all mixed up. I need to change them to web upload size for things like facebook, looking around 800px on the longest side. I will then need to sharpen them again in photoshop cs4.

Is there anyway I can do a batch resize on the 400 images that will only change the longest side to 800px?

The only way I think I've seen to do it so far would be to split them in to landscape and portrait and then try and batch them as 2 groups.

Can you batch sharpen too? is it advisable or would it be better to go through 1 at a time?

EDIT: is there anything else I should consider when resizing?
 
First thing to do is set up an action for your sharpening then go to File > Scripts > Image Processor and fill in each section as required including 4.Preferences where you can select your newly created action.

Hope this helps! :thumbs:
 
Hacker is on the money.

1: Open ACTIONS in photoshop and create a new action called "Resize, Sharpen & Save""

2: Press RECORD.

3: Go to IMAGE, RESIZE, 800 PIXELS.

4: Do whatever you do to sharpen....

5: Go to SAVE AS, choose a folder, save your photo.

5: PRESS STOP.

Now you can run that action against a folder, I think it's in the file menu...

FILE > AUTOMATE. I do this all the time for online previews. My instructions may be a bit off - its very roughly how you do it.

Gary.
 
I do it the same way Hacker does. Took me ages to find it but Image Processor is great for resizing images and doing an action with a single click (or maybe 3)
 
The only way I think I've seen to do it so far would be to split them in to landscape and portrait and then try and batch them as 2 groups.

I use a script to resize the longest edge to 800 pixels.

doc = app.activeDocument

var startRulerUnits = app.preferences.rulerUnits
app.preferences.rulerUnits = Units.PIXELS

if (doc.width > doc.height)
doc.resizeImage(800, null, 72, ResampleMethod.BICUBIC)
else
doc.resizeImage(null, 800, 72, ResampleMethod.BICUBIC)

app.preferences.rulerUnits = startRulerUnits

The scripts are placed in the CS4 presets\scripts folder.
Just include the resizing script in your action.
 
Apologies I completely missed this requirement. No idea :)

G.

In Photoshop: File>Automate>Fit Image... and type 800 into both boxes.

Include this in your action to sharpen and just throw all your images at it.
 
Does this fit it to the LONGEST side? Ie, 800 tall if portrait, 800 wide if landscape? Thanks for the tip regardless....

G.

Yes, you would be constraining the image to be no bigger than 800x800. So the longest side would be 800, be it portrait or landscape.
 
Is it possible to do this setting the longest side to 6 inches,for example, rather than 800 pixels?
 
Is it possible to do this setting the longest side to 6 inches,for example, rather than 800 pixels?

I suppose that you could work out what DPI you're going to print at and then multiply that by six to get the pixel number to use.
 
All do-able with IrfanView:

acbc5z.gif
 
Yes, you would be constraining the image to be no bigger than 800x800. So the longest side would be 800, be it portrait or landscape.

I used to use this method but it keeps the resolution as set by the camera rather than dropping it to screen res.
 
I used to use this method but it keeps the resolution as set by the camera rather than dropping it to screen res.

Sorry. I don't understand. I must be missing something.

Do you mean the DPI setting? If so, would it really matter?
 
Sorry. I don't understand. I must be missing something.

Do you mean the DPI setting? If so, would it really matter?

You know, I can't remember why it mattered. It was when I was processing images for someone else, they moaned that the images were 240 and not 72. As they were the customer I complied rather than go into it too deeply. The result was the script above which I have just continued to use.
 
Well, I tried Irfanview and although it did what I wanted I wasn't overly happy with the results of just a couple of the images. It did horrible things to a couple of the bridesmaid shots and made her hair all weird.

So, figured out how to use the script that was posted, then set up and action and started a batch run. Worked great but I had forgotten to tell it to close the images afterwards so my PC was slowly dying. Managed to force quit the batch run, added in a 'close' and restarted. Flying through them now :)

A big thank you to everyone that has posted in this thread :clap: :thumbs:
 
Back
Top