0.81 MacOS: Embedded aspect ratio issues

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderator: Dreamer

sd_snatcher
Posts: 26
Joined: Sat Sep 10, 2016 11:29 pm

Re: 0.81 MacOS: Embedded aspect ratio issues

Post by sd_snatcher » Sun Aug 05, 2018 4:59 pm

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;

User avatar
xnview
Author of XnView
Posts: 30220
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.81 MacOS: Embedded aspect ratio issues

Post by xnview » Mon Aug 06, 2018 7:48 am

ok, will be fixed
Pierre.

Post Reply