You can use an action to do what you want, play it back on folder of files for automation, but you going to have to do a crop somewhere looks like.
IF you could live with 640 pixels wide and let the other dimension fall where it may, just record an action for a resize to 640 and play back on entire directory.
If you MUST have exactly 640 by 480, and have origs that don’t fit that, you can still be done as batch, IF you crop each image the same. Action would:
– Use Rectangular marquee, Fixed Aspect Ratio, 4:3
– Set the marquee
– Crop
– Resize long side to 640 pixels.
If you have images that are both horiz and vertical, you’ll probably need to make two actions, and separate your files into horiz and vert and play the appropriate action back on those folders.
If you must decide the crop on each image, you could still do an action, and have it pause for your input, I suppose.
M
IF you could live with 640 pixels wide and let the other dimension fall where it may, just record an action for a resize to 640 and play back on entire directory.
If you MUST have exactly 640 by 480, and have origs that don’t fit that, you can still be done as batch
Hi Mac,
thank you very much for your reply.
The pictures MUST not have exactly 640 x 480, in fact they better should not. The first alternative you suggested is straight on the point. I indeed want a picture to be 640 pixels wide and the other dimension can fall where it – unless it is not higher than 480 pixels.
The problem is that because of the arbitrary aspect ratios I do not know if I have to resize on the vertical or on the horizontal.
Say, one picture was 1280×500. When I tell photoshop to resize the image to a width of 640 and keep the aspect ratio, the resulting picture will be 640×250 pixels. That would be fine.
But, if I have a picture with a size of 1280×1000, things go wrong. Thre resized picture would be 640×500 pixels, and therefore wider than what I want.
So, whether I need photoshop to resize a picture to the width of 640 and keep the aspect ratio or to the height of 480 and keep the a.r. depends on the size of the orginal picture.
What I am searching for is a little bit like a thumbnail tool where the original picture gets fitted into the thumbnail size, maintaining the original aspect ratio. However, I need to keep the layers and psd format so I cannot go for a classic thumbnailer.
Any ideas?
Malte
It’s a simple fact of math, that if your 640 wide image gives more than 480 on the other, you can only crop to get what you want.
You can resize with Constrain Proportions: Off, to get ANY final size you want, on either dimension, but of course this will "warp" the image if the aspect ratio is different to begin with.
Mac
It’s a simple fact of math, that if your 640 wide image gives more than 480 on the other, you can only crop to get what you want.
I already worried my English would not suffice to get my point across. I’ very sorry for the incovenience, Mac.
What I want to achieve is to resize a picture of arbitrary aspect ratio so that it fits into a frame. I may well happen that the resized picture fully fills the height of the frame but not the width.
Like, for example, a photo that was taken *not* in landscape mode but with the short side up. If the picture had a size of 1080×1440 pixels, it is clear that it cannot be perfectly fitted into the 640×480 frame. But I can tell photoshop to reduce the width of the photo by 1/3 and maintain the aspect ratio. The resized picture would be 360×480 pixels – and fit into my 640×480 frame.
On the other hand, a stiched photo might be 1280×480 pixels in size. Here I would have Photoshop reduce the width proportionally by 1/2 which would give a picture of 640×240.
These two would be perfectly fine. The width or height of the frame would not be filled by the photo but that’s how it is supposed to be. Just like the thumbnail images you see in Windows Explorer. Regardless of the aspect ratio, they all get resized to fit into the thumbnail area. That’s similar to what I want to do to my collection of Photoshop pictures.
Is there a way to do it in Photoshop?
Kind regards,
Malte
File>Automate>Fit Image does what you want. You can record an action with it, and batch a directory.
Never mind… Mathias has it nailed, methinks.
Duh, there’s your solution!
I forgot about Fit Image….perfect!
M
Thank you so much!
That’s what I was searching for. You two have helped me a lot.
Kind regards,
Malte
I didn’t do anything but add complications to a simple matter.
M
Sorry to spoil your fun, Mac.. No need to reinvent the wheel. Fit Image is yet another handy little photoshop feature.
I spend time on Elements forum also (have clients I support who use it)…and sometimes I still forget about a full Photoshop feature.
M
Can you tell me why my "fit image" is grayed out? I run PS CS. Please help!
Janice Barnett, Texas
Janice,
Do you have an image open? (Necessary).
Have you got a file open?