Image > Set DPI...

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

Moderators: XnTriq, helmut, xnview, Dreamer

cday
XnThusiast
Posts: 4213
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Image > Set DPI...

Post by cday »

When Image > Set DPI... is used to change the X and Y DPI values of an opened image to values that will result in a change in the aspect ratio of the image, the new aspect value is not immediately displayed and is only visible when the file is saved and reopened.

Shouldn't the new aspect ratio be visible immediately?
simon
Posts: 77
Joined: Wed Aug 23, 2006 4:51 pm

Re: Image > Set DPI...

Post by simon »

A related question: no means to save the DPI change through lossless transformation rather than 'lossy full saving' for JPEG files ?
User avatar
xnview
Author of XnView
Posts: 45051
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image > Set DPI...

Post by xnview »

cday wrote: Wed Sep 13, 2023 10:27 am Shouldn't the new aspect ratio be visible immediately?
:bugconfirmed: Thanks to your detailed description I can reproduce
Pierre.
cday
XnThusiast
Posts: 4213
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Image > Set DPI...

Post by cday »

simon wrote: Wed Sep 13, 2023 10:47 am A related question: no means to save the DPI change through lossless transformation rather than 'lossy full saving' for JPEG files ?
This thread was a bug report, a new support or suggestion thread would be best for that question/suggestion...
User avatar
xnview
Author of XnView
Posts: 45051
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image > Set DPI...

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 45051
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image > Set DPI...

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.6.0. Please check and confirm the bug fix here.
Pierre.
cday
XnThusiast
Posts: 4213
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Image > Set DPI...

Post by cday »

Fixed. :D

However, while testing I noticed that the meaning of the icon between the X and Y values is not very clear:

Set DPI interface.png

Due I think to both the small size of the window and to the symbol used, the meaning of which is not immediately clear.


Edit: On further examination, the symbol between the DPI windows can actually display three states:

Strip 1.png

Is there possibly a better way of indicating whether or not changing one value also changes the other?

Note: Also an issue where sometimes changing between states has been opening a folder window.
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 4213
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Image > Set DPI...

Post by cday »

Previous post updated. :D

Suggestions for a more intuitive symbol indicating whether the two DPI values change together:

o An equal sign '=' in a box, with a background colour (not too dark) when enabled;

o A box with an outline that changes from light to bold when the option is enabled;

o An outline that becomes coloured to indicate enabled.

o Or maybe an 'Equal' checkbox would be clearer?
User avatar
xnview
Author of XnView
Posts: 45051
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image > Set DPI...

Post by xnview »

and like that
Clipboard-2.jpg
Clipboard-1.jpg
You do not have the required permissions to view the files attached to this post.
Pierre.
User avatar
user0
XnThusiast
Posts: 2052
Joined: Sat May 09, 2015 9:37 am

Re: Image > Set DPI...

Post by user0 »

Symbol
it's 2 state, pretty much standard symbol (ref 🔗 link symbol U+1F517) to represent linked values, sometimes lock can be used
  • photoshop
    ps_resize.png
  • GIMP
    Image
  • mspaint
    mspaint_resize.png


Visualization
it definitely can be better
xnview wrote: Thu Oct 19, 2023 8:54 am and like that Clipboard-2.jpgClipboard-1.jpg
yep, that's better
  • on - chain icon with bg
  • off - chain icon w/o bg OR broken chain icon


Dialog
speaking about dialog itself, maybe something like this:
set_dpi.png


Example
  • PS, GIMP - see above
  • FastStone
    faststone_set_dpi.png
You do not have the required permissions to view the files attached to this post.