Equal cropping on top and bottom for images with different heights

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

corr
Posts: 131
Joined: Tue Jun 13, 2017 8:00 am

Equal cropping on top and bottom for images with different heights

Post by corr »

I have pictures with different heights. I would like to shorten them to a uniform height. To achieve this, they should not be shortened at the top or bottom, but evenly at the top and bottom. How can I achieve this?

With Crop from position it only cuts from the bottom. With From Edge, I would have to manually determine the crop amount for each image individually, which I don't want to do because it's too much work.
cday
XnThusiast
Posts: 3985
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Equal cropping on top and bottom for images with different heights

Post by cday »

corr wrote: Tue Mar 05, 2024 5:27 pm I have pictures with different heights. I would like to shorten them to a uniform height. To achieve this, they should not be shortened at the top or bottom, but evenly at the top and bottom. How can I achieve this?
I think Image > Canvas resize... will do that, if you set Position to Centre and Mode to Size - Pixels ... :D :?:

Edit:

Setting Mode to Size - % should also work, if more convenient.
corr
Posts: 131
Joined: Tue Jun 13, 2017 8:00 am

Re: Equal cropping on top and bottom for images with different heights

Post by corr »

Works like a charm. Thank you :D