4

I'm struggling with this. I have a lots of (big) images that I need to re-size to a specific smaller dimension. The important thing is to keep the aspect ratio and don't do any weird stretching to the images. Empty space should be filled with my background color.

What I normally do is something like;

  • Re-size canvas to 550x800.
  • (the image is now bigger than the canvas)
  • Use the transform tool with alt+shift (to re-size from center) until image fits perfectly into canvas size
  • Fill transparent pixels with white background

This is too much custom work and doesn't really work with batch. Can I use Photoshop's image re-size or canvas re-size to do this?

My attempts have all failed. The image is either not the right size or with the right size but with weird stretching/transforming.

4 Answers 4

4

Now there is a tool that does exactly what you need, called CropToFit.

In your case, since you need to use the same 550x800 dimensions again and again, you can create a pre-set link, as I have done below. Just click this link and it will open with the dimensions pre-set:

Click here to Crop Image to 550x800

If you click the link above, you should get the page shown here:

Screen shot of CropToFit.com with preset dimensions

In your case, you can select white fill by expanding the menu (click Advanced controls). CropToFit uses high quality resampling so the results should be as good as photoshop.

How to adjust CropToFit

Disclaimer: I created CropToFit originally for my own needs since I do this all the time in iOS development and web development and I couldn't find a tool that does this well.

2
  • Best tool ever @trausti-krsjansson !
    – Andy K
    Commented Dec 7, 2016 at 13:37
  • Its good tool. Is it possible to remove extra gray line added in images on both side?
    – Maverick
    Commented Jan 13, 2017 at 12:35
3

Use image>image size instead of image>canvas size. Just make sure you have constrain proportions ticked on.

****EDIT****

If you want your image to change ratio but you don't want it to look "squashed" then you won't be able to avoid either cropping your image or doing the opposite and adding in black bars like you see on movies to fill the rest of the ratio.

enter image description here

2
  • If I keep Constrain Proportions on then the Width+Height stay exactly the same value (I cant have w550xh800). Commented Jun 17, 2014 at 11:43
  • I must of miss understood your question. To get what you want you will always have to crop the image to an amount if you're changing the ratio of the canvas and not squash the image
    – SaturnsEye
    Commented Jun 17, 2014 at 11:51
2

Use File->Automate->Fit Image and enter your desired image dimensions. Then use Image->Canvas Size and enter the desired image dimensions again. The canvas size adjustment should automatically fill the background in with your selected background color (if you have a background layer).

1

In Photoshop you can record an action that does something and repeat it for all open images. See the image below that shows the general gist of it.

enter image description here

However, batch processing in Photoshop feels abit like heavy lifting. I usually use Bimp Lite instead. It allows you to minimize alot of the tedious work of doing the same thing to plenty of images, for instance restrict to width resizing or watermarking.

enter image description here

1
  • Batch doesn't work if I use the method described above since it's a little different for every image (depending on the size of the image). Commented Jun 17, 2014 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.