Aspect ratio viewing

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
dzenanz
Posts: 5
Joined: Fri May 14, 2010 7:12 am

Aspect ratio viewing

Post by dzenanz »

Hi!

I have an image, 512x14, with DPI 40/5. This image displays the way I want it (properly?): the low-DPI axis (y) gets enlarged. However, if I rotate this same picture to get 14x512 with DPI 5/40, ie. image gets displayed with y axis reduced, so that display size is approx 14x64 instead of 112x512 (as I expect). I guess this is a bug. Windows picture and fax viewer displays these images as I expect, but I don't want to use it - I prefer XnView.

Another remark: when viewing images with different x and y DPI, it would be nice to put an additional zoom mark where the other axis is at 100%. In my case this would mean when I press - to zoom out on the original 512x14 image (which displays as 512x112), one zoom level results in 64x14 image. The + zoom of the rotated image in my case results in the wanted 112x512 on 8x zoom, because DPI aspect ratio is 8. If the aspect ratio was 7.5, that would not have happened.

Regards,
Dženan
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Aspect ratio viewing

Post by XnTriq »

Hello Dženan,

does the problem persist, if you change the following settings?
  • Tools » Options... » General » Operations
    • Use EXIF DPI information if exists
    • Adjust Zoom if X/Y are different
TGB_72 ([url=http://newsgroup.xnview.com/viewtopic.php?p=44292#p44292]Problems to display rightly some files in preview & view[/url]) wrote:Image

Image properties:
Format: JPG trucolor (v1.1)
Width: 640
Heigth: 480
# of bits: 24
Colour model: RGB
DPI: 26x20
Compression: JPG
dzenanz
Posts: 5
Joined: Fri May 14, 2010 7:12 am

Re: Aspect ratio viewing

Post by dzenanz »

Since these are PNG images, EXIF DPI has no effect. However, if I disable "Adjust Zoom if X/Y are different" then the picture is displayed without correcting aspect ratio at all (displayed size is either 512x14 or 14x512).
Post Reply