Export with resizing by shortest or longes side gives incorrect output size

When exporting multiple images with 3:2 or 2:3 crop to disk using resize with shortest (or longest) size, I see the output images are sometimes incorrectly sized. For example with “export short dimension 1024”, the 2:3 output images should all be 1024x1536, but I see several that are 1024x1537 or 1024x1535 instead. I need the exports to all be the same exact size.

It appears there is some roundoff creeping in based on the original image resolution, but the specified crop 2:3 crop ratio should represented exactly in the output file.

Sometimes, a crop done in customize view is not quite what it should be and some ratios are prone to rounding errors.

Check your original crop and see if it is 2:3 really, if it isn’t, drag a corner until it is. This will not necessarily prevent all rounding errors, but it might help in a few cases.

Hello,

Some software tools may introduce rounding errors. If possible, adjust your settings or use software that handles aspect ratios and rounding more precisely. If rounding errors are minimal, you might need to manually adjust the dimensions in an image editor to ensure uniformity.

Best Regard,
MyCoveredCalifornia