Viewer - inform user about different X/Y DPI

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
user0
XnThusiast
Posts: 1681
Joined: Sat May 09, 2015 9:37 am

Viewer - inform user about different X/Y DPI

Post by user0 »

XnViewMP 1.6.1 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


Viewer
sometimes users don't know why their images are displayed stretched/compressed (due to different X/Y DPIs)
[1,2,3,4..]

there are few ways to approach this issue:
- (cosmetic) uncheck 'Adjust zoom if X/Y DPI are different' in Settings OR
- (fix image) equalize image DPIs, eg via 'Set dpi...' dialog

I suppose fixing the image is the right thing to do, as it makes no sense to have photos with different horizontal and vertical DPIs,
eg there are no consumer devices with non-square pixels anymore
thus..

Suggestion
viewer_open_image_with_different_DPI.png
  • add popup message when opening an image with different X/Y DPIs

    message:
    - like above OR
    - "Image has different X/Y DPI and may render stretched/shrunk.
    Do you want to change DPI?
    "

    buttons:
    A
    - Yes - open 'Set dpi...' dialog
    - No - close popup

    B
    - Yes - change DPI to the max value (image and EXIF (if exists))
    - No - close popup


Related
xyz wrote: Sat Sep 04, 2021 11:04 am So it's probably a good idea to show a warning to the user or a message in the status bar in this case.
This warning could have a button to invoke the SET DPI dialog box.
You do not have the required permissions to view the files attached to this post.


Last bumped by user0 on Sun Apr 14, 2024 1:46 pm.