Question about an option for fit image to height
Moderators: XnTriq, helmut, xnview
Question about an option for fit image to height
Dear XnView'ers,
sorry, i don't want to bother you because i can imagine that you are very busy. Only one question: what do you think about to add an option for the following autosize behaviour?
- user sets option "fit image to heigth"
- so, a small image will e.g. stretch in height to fit into the user-defined window heigth
-> and now, by a new option, its possible too that the width of the viewer window adapts/autosizes to the new image width
( ==> window height is fix, window width would be calculated)
at least for me, it would be a very desirable usage of the space.
Kind Regards,
klaus2
sorry, i don't want to bother you because i can imagine that you are very busy. Only one question: what do you think about to add an option for the following autosize behaviour?
- user sets option "fit image to heigth"
- so, a small image will e.g. stretch in height to fit into the user-defined window heigth
-> and now, by a new option, its possible too that the width of the viewer window adapts/autosizes to the new image width
( ==> window height is fix, window width would be calculated)
at least for me, it would be a very desirable usage of the space.
Kind Regards,
klaus2
-
- Author of XnView
- Posts: 45526
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: question about an option for fit image to height
So an option "fit image to window height" & "force xnview to fit image"?klaus2 wrote:sorry, i don't want to bother you because i can imagine that you are very busy. Only one question: what do you think about to add an option for the following autosize behaviour?
- user sets option "fit image to heigth"
- so, a small image will e.g. stretch in height to fit into the user-defined window heigth
-> and now, by a new option, its possible too that the width of the viewer window adapts/autosizes to the new image width
( ==> window height is fix, window width would be calculated)
at least for me, it would be a very desirable usage of the space.
Pierre.
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
If a request/option is helpful and not hard to implement, it's likely that it will be implemented in the next major release. But only Pierre can definetely say and make promises.klaus2 wrote:one question left: has it a chance to be implemented?
Could you explain a bit what the benefit of this new option is? Also, I wonder whether this should be symmetric: if there's a fit image to height, there should be also a Fit image to width.
Hi Helmut,
the request is very simple and analogue to the way "fit image to deskop, all" already is working ...
If you have a (user-) defined height of the window (fit image to window height) the image should not only enlarge to the window height (as it is already the case), but optionally the width of the window should adapt to the new resulting image width -> no horizontal scrollbars (if image bigger), no gray frames (if iamge smaller), but simply a window width that accords to the image width.
Before:

After:

What is the benefit? ... Simply space economy ... you're seeing the complete image
and not only a part of it
(scrollbars) or vertical gray bars as indicators of wasted space
...
You are right: of course (speaking about symetry) an analogue request regarding "fit image to window width" would be possible, ... theoretically ... but ... i really dont't know if anybody wants to have it.
I would be *very very very* happy to be able to define my viewer window height and see the full image (regarding the x-axis) though ...
Thats my biggest wish to xnview. Comparable viewers do indeed allow such behaviour but i would prefer to have it in xnview too, because i would like to see it as my favorite viewer and kick the others off.
Do you see any chance to accept the request??
Please ask Pierre, it should not cost much efforts.
Kind Regards,
klaus2
the request is very simple and analogue to the way "fit image to deskop, all" already is working ...
If you have a (user-) defined height of the window (fit image to window height) the image should not only enlarge to the window height (as it is already the case), but optionally the width of the window should adapt to the new resulting image width -> no horizontal scrollbars (if image bigger), no gray frames (if iamge smaller), but simply a window width that accords to the image width.
Before:

After:

What is the benefit? ... Simply space economy ... you're seeing the complete image



You are right: of course (speaking about symetry) an analogue request regarding "fit image to window width" would be possible, ... theoretically ... but ... i really dont't know if anybody wants to have it.
I would be *very very very* happy to be able to define my viewer window height and see the full image (regarding the x-axis) though ...
Thats my biggest wish to xnview. Comparable viewers do indeed allow such behaviour but i would prefer to have it in xnview too, because i would like to see it as my favorite viewer and kick the others off.
Do you see any chance to accept the request??
Please ask Pierre, it should not cost much efforts.
Kind Regards,
klaus2
Hello dear Xnview'ers,
because i like xnview very much and i'm very interested to see this functionality integrated, i try to underline my intention with a picture. Maybe its more clear then. At least in my eyes it's a very basic functionality for a picture viewer: user defines a window heigth, the image adapts to it and then the window width accords to the image width.
So, it should not look like (wasted space):

Or, it should not look like (truncated, horizontal scrolbars):

But (with an additonal option for "fit image to window height") it should look like THAT:

Please please answer to me: Is that request (horizontal autosize option for the "fit image to window height") good in your eyes .... and has it a chance?
Kind regards,
klaus2
because i like xnview very much and i'm very interested to see this functionality integrated, i try to underline my intention with a picture. Maybe its more clear then. At least in my eyes it's a very basic functionality for a picture viewer: user defines a window heigth, the image adapts to it and then the window width accords to the image width.
So, it should not look like (wasted space):

Or, it should not look like (truncated, horizontal scrolbars):

But (with an additonal option for "fit image to window height") it should look like THAT:

Please please answer to me: Is that request (horizontal autosize option for the "fit image to window height") good in your eyes .... and has it a chance?
Kind regards,
klaus2
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Thank you, Klaus for the sample images, it's much clearer, now.klaus2 wrote:Hello dear Xnview'ers,
because i like xnview very much and i'm very interested to see this functionality integrated, i try to underline my intention with a picture. Maybe its more clear then. At least in my eyes it's a very basic functionality for a picture viewer: user defines a window heigth, the image adapts to it and then the window width accords to the image width.

Now that I understand what you want, but I still cannot really say whether it's useful or not. Perhaps other people can help out and comment this.klaus2 wrote:Please please answer to me: Is that request (horizontal autosize option for the "fit image to window height") good in your eyes .... and has it a chance?
I have some concern: If you have a very heigh but narrow image, the main window of XnView will resize to that and would be very narrow. Toolbar and menu will become almost unusable, then. So if something like this was introduced, there should be something like a minimum size.
Hello Helmut,
very happy about that finally i succeeded to clarify that issue
[in german: schwitz!! ]
in my eyes it is useful because you'll see the FULL image (no truncations ..) and it's the intuitive way of image presentation.
i really HOPE very much it will have some votes ..
i assumed having defined a "diferent size for browser and viewer", of course (i know this topic is another story); no pbl to restrict the option eg. for having defined that setting (different size) .... )
minsize, to be given -> no problem
maxisze -> desktop size or somthing like that -> no problem
To my opintion of course the main window (browser) should never been affected by that; i fully agree your concern.
Kind Regards!
klaus2
very happy about that finally i succeeded to clarify that issue


in my eyes it is useful because you'll see the FULL image (no truncations ..) and it's the intuitive way of image presentation.
i really HOPE very much it will have some votes ..
i assumed having defined a "diferent size for browser and viewer", of course (i know this topic is another story); no pbl to restrict the option eg. for having defined that setting (different size) .... )
minsize, to be given -> no problem
maxisze -> desktop size or somthing like that -> no problem
To my opintion of course the main window (browser) should never been affected by that; i fully agree your concern.
Kind Regards!
klaus2
-
- Author of XnView
- Posts: 45526
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Hi Pierre,
unfortunately not
"fit xnview"? Do you mean "Force Xnview to fit image" ? If yes: that one is grayed out when selecting "fit to desktop" ..
Anyhow: "fit to desktop" may already behave similiar (as it indeed autosizes the window width),
but the viewer window heigth is predefined to the desktop heigth and not user definable.
What i mean is a favorite user defined viewer window height (fit image to window height)
plus an option for autocalculation of the viewer window width (.... like "fit to desktop" already does).
Important 1: as option .. (Something like: fit image to height, autosize horizontally )
Important 2: probably it is not wanted that the browser size is affected, so the option may be
allowed only if "use different size for viewer and browser" is set, for instance ...
Whats your opinion? At least for me, i miss that option very much.
Kind Regards,
klaus2
unfortunately not

"fit xnview"? Do you mean "Force Xnview to fit image" ? If yes: that one is grayed out when selecting "fit to desktop" ..
Anyhow: "fit to desktop" may already behave similiar (as it indeed autosizes the window width),
but the viewer window heigth is predefined to the desktop heigth and not user definable.
What i mean is a favorite user defined viewer window height (fit image to window height)
plus an option for autocalculation of the viewer window width (.... like "fit to desktop" already does).
Important 1: as option .. (Something like: fit image to height, autosize horizontally )
Important 2: probably it is not wanted that the browser size is affected, so the option may be
allowed only if "use different size for viewer and browser" is set, for instance ...
Whats your opinion? At least for me, i miss that option very much.
Kind Regards,
klaus2
-
- Author of XnView
- Posts: 45526
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France