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 550×800.
- (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
canvas re-sizeto 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.
Now there is a tool that does exactly what you need, called CropToFit.
In your case, since you need to use the same 550×800 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:
If you click the link above, you should get the page shown here:
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.
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.