Mobile app version of vmapp.org
Login or Join
Murray976

: How to batch resize a group of images by area? I know how to run a batch resize based on fixed width, height, or percentage... but what if I have a number of photos of all different sizes

@Murray976

Posted in: #AdobePhotoshop #BatchProcessing #Images #Resize

I know how to run a batch resize based on fixed width, height, or percentage... but what if I have a number of photos of all different sizes and shapes and I want them to be roughly the same size visually? I am using photoshop, but could try fireworks or some other thing, but hopefully nothing too complex.

I guess this would mean the same number of pixels in each image (as in the example image), but there may be a better ways of determining.

Max-height and max-width constraints on a percentage resize would probably suffice here as well.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray976

1 Comments

Sorted by latest first Latest Oldest Best

 

@Twilah924

You say "nothing too complex", so this might be out of the question, but ImageMagick can do this. If you're not familiar with it, it's a command line image editor, so it's great for batch processing.


Resize using a Pixel Area Count Limit
There is one final "-resize" option flag. The "at" symbol '@', will resize an image to contain no more than the given number of pixels. This can be used for example to make a collection of images of all different sizes roughly the same size. For example here we resize both our images to a rough 64x64 size, or 4096 pixels in size.


convert dragon.gif -resize 4096@ pixel_dragon.gif
convert terminal.gif -resize 4096@ pixel_terminal.gif


If you're not familiar with shell scripting, would Photoshop's "Fit Image" work? You can have an image fit within a given area and Photoshop will constrain the proportions. This can be automated with a script in Photoshop as well.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme