Resize tool doesn't correctly change image dimensions

Issue #182 invalid
Minjas created an issue

Hi,

I’ve been trying to resize an image using apply to “full image”, “bounding box” and “allow upscaling”. But when specifying width and height in pixel, the output file only has one of the two dimensions (the height) to the specified dimension !
Definition in ppi doesn’t seem to be correct either.

By the way (as I don’t know if it has an impact on this bug), I’m working with equirectangular DNG files from 360 camera (Kandao Qoocam 8K). Although the file is 3840 x 7680, its dimensions are reported as 3832 x 7672 in ART (I’ll submit another issue for that). Hence my trying to resize the final image and get the correct dimensions back.

Comments (4)

  1. agriggio repo owner

    Hi,

    note that resize never changes the aspect ratio. So if you have a picture say 100x200, you can’t resize it to e.g. 300x400. If you specify 300x400 as bounding box, you will get a 200x400 pic. If you want to change the aspect ratio, you should use the crop tool (regardless of the other issue with your raw file, which is an independent one)

    HTH

  2. Minjas reporter

    Hi, thanks for your reply. As the resize tool mentioned “upscale” I thought it could somehow change the aspect ratio. My bad so.

  3. Log in to comment