Viewer - inform user about different X/Y DPI
Posted: Sun Apr 14, 2024 1:46 pm
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
Related
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
- 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.