Page 2 of 2

Re: 0.81 MacOS: Embedded aspect ratio issues

Posted: Sun Aug 05, 2018 4:59 pm
by sd_snatcher
Ok. I wasn't aware that I had to rebuild the thumbnails. That fixed them, thanks!

> for preview, 512x256 & 256x512 should be expanded as 512x512 or 256x256?

For Pixel Aspect Ratio correction, the image dimensions should always be expanded and not shrunk.

This means that a 512x256 image with 1:2 PAR must be rendered as 512x512, and a 256x512 image with a 2:1 PAR must also be rendered as 512x512.

In pseudocode, the final image dimensions will become like this:

Code: Select all

IF PAR<1 ;THEN
	final_widht = orig_width;
	final_height = orig_height * (1/PAR);
ELSE
	final_width = orig_width * PAR;
	final_height = orig_height;
ENDIF;

Re: 0.81 MacOS: Embedded aspect ratio issues

Posted: Mon Aug 06, 2018 7:48 am
by xnview
ok, will be fixed