Page 1 of 1

Image > Set DPI...

Posted: Wed Sep 13, 2023 10:27 am
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?

Re: Image > Set DPI...

Posted: Wed Sep 13, 2023 10:47 am
by simon
A related question: no means to save the DPI change through lossless transformation rather than 'lossy full saving' for JPEG files ?

Re: Image > Set DPI...

Posted: Thu Sep 14, 2023 7:16 am
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

Re: Image > Set DPI...

Posted: Thu Sep 14, 2023 7:48 am
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...

Re: Image > Set DPI...

Posted: Fri Sep 29, 2023 3:18 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: Image > Set DPI...

Posted: Thu Oct 12, 2023 1:11 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.6.0. Please check and confirm the bug fix here.

Re: Image > Set DPI...

Posted: Wed Oct 18, 2023 7:13 pm
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
Set DPI interface.png (12.72 KiB) Viewed 15937 times

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.

Re: Image > Set DPI...

Posted: Wed Oct 18, 2023 8:19 pm
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?

Re: Image > Set DPI...

Posted: Thu Oct 19, 2023 8:54 am
by xnview
and like that
Clipboard-2.jpg
Clipboard-2.jpg (4.14 KiB) Viewed 15904 times
Clipboard-1.jpg
Clipboard-1.jpg (4.44 KiB) Viewed 15904 times

Re: Image > Set DPI...

Posted: Thu Oct 19, 2023 9:16 am
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
    ps_resize.png (8.99 KiB) Viewed 15885 times
  • GIMP
    Image
  • mspaint
    mspaint_resize.png
    mspaint_resize.png (7.95 KiB) Viewed 15552 times


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
    faststone_set_dpi.png (4.04 KiB) Viewed 15512 times