renewed: Fit image to window height with option to autoresiz

Proposals and Suggestions for new features and improvements in XnView Classic

Moderators: Olivier_G, Dreamer, XnTriq, helmut, xnview

renewed: Fit image to window height with option to autoresiz

Postby klaus2 » Mon Feb 06, 2006 5:44 pm

This item was already raised and basically committed for the Todo-List;
see: viewtopic.php?t=3449&start=15

For me, with one additionaly option to the viewer fit modes xnview would be perfect:

- i want to define a favorite viewer window height (static)
- with "fit image to window height" the image height will adapt accordingly
image height = viewer height; the image width will change proportionally
- now, what i would like to have: that the viewer window width matches the resulting image width
viewer_width = new_image_width

In short:
Viewer window heigth: user defined; image height fits to that
Viewer window width: depends on calculated image size (limited by desktop width)
Vertically: image heigth = viewer height
Horizontally: viewer width = resulting image width

Pls note that doing so the left pos of the viewer should be kept as originally set by the user (no centering on the desktop wanted).

As far as i know that behaviour cannot be achieved with a combination of the available and activatable options.
klaus2
 

Re: renewed: Fit image to window height with option to autor

Postby xnview » Wed Oct 25, 2006 11:12 am

klaus2 wrote:This item was already raised and basically committed for the Todo-List;
see: viewtopic.php?t=3449&start=15

For me, with one additionaly option to the viewer fit modes xnview would be perfect:

- i want to define a favorite viewer window height (static)
- with "fit image to window height" the image height will adapt accordingly
image height = viewer height; the image width will change proportionally
- now, what i would like to have: that the viewer window width matches the resulting image width
viewer_width = new_image_width

In short:
Viewer window heigth: user defined; image height fits to that
Viewer window width: depends on calculated image size (limited by desktop width)
Vertically: image heigth = viewer height
Horizontally: viewer width = resulting image width

Pls note that doing so the left pos of the viewer should be kept as originally set by the user (no centering on the desktop wanted).

As far as i know that behaviour cannot be achieved with a combination of the available and activatable options.

Could you post a example of waht you want? I don't understand why 'height user defined'??
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 23087
Joined: Mon Oct 13, 2003 7:31 am
Location: France

renewed: Fit image to window height with option to autoresiz

Postby klaus2 » Thu Nov 02, 2006 7:59 pm

Hello Pierre,

- Set option "Fit image to window height"
- Resize the viewer window by using the size grip (lower right corner of the window),

Now, when you scroll through your images eg, using PgDown or Wheel mouse,
each image's height will be calculated to fit within this predefined/fix window height the user did set.

The image's width will be recalulated too, of course.
But as of now, normally the recalculated image's width differs from the window width, which stays fix.
So, actually the image will be either centered or truncated (scrollbars).

I would very like to have an additional option for to adapt the window width to the images width;
something like "Fit image to window height; variable window width"

Window height: fix, eg. set once by size grip
image's height: stretched to window height
image's width: calculated proportionally
==> Window width: variable, depends on image width

It's already on the todo list, i only tried to ask for the chance ...

Best Regards,
klaus2
klaus2
 
Posts: 65
Joined: Thu Nov 02, 2006 7:27 pm

Re: renewed: Fit image to window height with option to autor

Postby xnview » Mon Nov 13, 2006 4:30 pm

And 'Fit to desktop, large only' is not good for you?
You would like to keep current window height, right?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 23087
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Fit image to window height with option to autoresize

Postby klaus2 » Mon Nov 13, 2006 7:06 pm

Yes, Pierre .. :-)
klaus2
 
Posts: 65
Joined: Thu Nov 02, 2006 7:27 pm

Re: Fit image to window height with option to autoresize

Postby xnview » Tue Nov 14, 2006 1:29 pm

klaus2 wrote:Yes, Pierre .. :-)

And what name can i use???
'Fit to window width, var. height'??
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 23087
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Fit image to window height with option to autoresize

Postby helmut » Tue Nov 14, 2006 6:08 pm

xnview wrote:
klaus2 wrote:Yes, Pierre .. :-)

And what name can i use???
'Fit to window width, var. height'??

To be honest I haven't read all the discussion about this option. And to be honest, again, I haven't got a good feeling with this new option since this does not look mature enough to me. I think this matter should be discussed in more detail. Several people should have thought about this, discussed this, and found a solution. Then this should make it into XnView.
User avatar
helmut
 
Posts: 6230
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Fit image to window height with option to autoresize

Postby klaus2 » Tue Nov 14, 2006 6:41 pm

Pierre,
"Fit image to window height, var. width"
(behaves like Fit image to window height, but window width is not fixed, but calculated)

Helmut,
no problem ... wating for responses

Before using xnview, which is for me the most excellent viewer, i liked such that behaviour with acdsee 2 or 3 or irfanview. Maybe it could be helpful to have a kind of preview how that looks doing a short test with irfanview?
(i can tell the options, if needed)

Kind Regards,
klaus2
klaus2
 
Posts: 65
Joined: Thu Nov 02, 2006 7:27 pm

Postby helmut » Tue Nov 14, 2006 6:59 pm

klaus2 wrote:Helmut,
no problem ... wating for responses

This discussion has been going on for a while and there was really time to give input, so I feel a bit bad when writing that we should discuss this a bit more. I'm glad that you understand and are patient. :-)

klaus2 wrote:Before using xnview, which is for me the most excellent viewer, i liked such that behaviour with acdsee 2 or 3 or irfanview. Maybe it could be helpful to have a kind of preview how that looks doing a short test with irfanview?
(i can tell the options, if needed)

It's good to know what other graphic viewers offer, this can give some indication whether something is useful or not. Nevertheless we should understand and discuss things thoroughly, and create our own view and ideas.

If I find the time I'll read the whole discussion (including the old discussion) and will place an answer, here. Perhaps other readers can give input, too.

Viele Grüße, Helmut
User avatar
helmut
 
Posts: 6230
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Fit image to window height with option to autoresize

Postby klaus2 » Tue Nov 14, 2006 7:24 pm

Hello Helmut,

of course i'm patient (btw more than 15 months, i believe), the more i know very well about the gigantic amout of requests handled by Pierre only.

This is a simple case of a user-interface personal preference, and i propose you simply try out irfanview doing:
- press "T" for thumbnail view (browser)
- select a directory, best containing images with different sizes
. doubeclick on a thumbnail (so having the viewer mode)
- Select "View"->"Display options"->"Fit images to desktop height"
- Please don't care about the "desktop" height for the moment, but browse through the images eg. using PgDown.
So you can see the effect.

As told. it's a personal preference; some (like me) would like it, others not.
For me it is better than the "fixed" approach due to the more efficient usage of desktop space. I would like to have it very much. For others it might be annoying that the window width is changing from image to image.

Many thanks for your reply!
klaus2
PS: please let the user decide ... i'm a user too :-)
klaus2
 
Posts: 65
Joined: Thu Nov 02, 2006 7:27 pm

Postby helmut » Tue Nov 14, 2006 8:30 pm

As written above I'll try to understand what is needed. I also believe that it is needed, I just wonder whether there could be a more or less generic and symmetric solution. There is a "Fit image to window height, variable width" but no "Fit image to window width, variable height"?

klaus2 wrote:PS: please let the user decide ... i'm a user too

Right. We are both users striving for a useful and good solution ;-)
User avatar
helmut
 
Posts: 6230
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Fit image to window height with option to autoresize

Postby klaus2 » Tue Nov 14, 2006 9:23 pm

Hi Helmut,

many thanks for understanding and patience again :-)
I missed a symetric ""Fit image to window width, variable height" by intention, because a) one more request b) in my eyes: not useful (try to imagine the behaviour in practice, it does not really appear to make very much sense). It would be symetric, but ... hmm ... i guess you wouldn' find it elsewhere ..
But i'm happy that you immediately got that point :-)

Grüsse!
klaus2
PS: Maybe in the past i had not been able to express my desire understandable enough, so - additionally - what i could offer to you and Pierre is to send you a self written prog that exactly behaves like described (purely hobby driven, a pain <sigh>. - But better to See than to Read .. and maybe it might help to enforce a decision (Go or Nogo) ...). Simply tell me, i'll try to contribute as best as i can!
klaus2
 
Posts: 65
Joined: Thu Nov 02, 2006 7:27 pm

Re: Fit image to window height with option to autoresize

Postby helmut » Tue Nov 14, 2006 10:02 pm

klaus2 wrote:many thanks for understanding and patience again :-)

The patience is on your side ;-)

klaus2 wrote:I missed a symetric ""Fit image to window width, variable height" by intention, because a) one more request b) in my eyes: not useful (try to imagine the behaviour in practice, it does not really appear to make very much sense). It would be symetric, but ... hmm ... i guess you wouldn' find it elsewhere ..
But i'm happy that you immediately got that point :-)

Hmm, perhaps right. I'll have to really figure out what this would be like, then I'll understand.

klaus2 wrote:PS: Maybe in the past i had not been able to express my desire understandable enough, so - additionally - what i could offer to you and Pierre is to send you a self written prog that exactly behaves like described (purely hobby driven, a pain <sigh>. - But better to See than to Read .. and maybe it might help to enforce a decision (Go or Nogo) ...). Simply tell me, i'll try to contribute as best as i can!

I think you have described what you want very well, a sample screenshot might be helpful, though. Since discussions should remain open to anyone and all should have the same info, I would refrain from you sending Pierre and me a sample application. But thank you for your offer to make things more clear.
User avatar
helmut
 
Posts: 6230
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Fit image to window height with option to autoresize

Postby klaus2 » Tue Nov 14, 2006 11:08 pm

Hi Helmut,

it's hard for me to create a screenshot here, because not one image, but a series of images (img1 -> img2 -> img3 -> ..) are involved in that scenario, but i try it with a schematic graph.
"X" represents the portion of an image's content.
Assuming we iterate images in the viewer:

Code: Select all

==== "Fit image to window height" might look like:

       Image1         next ...     Image 2        next ..     Image3
I====Viewer window ===I     I====Viewer window ===I    I====Viewer window ===I
I   XXXXXXXXXXXXXX    I     I       XXXXXX        I    I    XXXXXXXXXXXX     I
I   XXXXXXXXXXXXXX    I     I       XXXXXX        I    I    XXXXXXXXXXXX     I
I   XXXXXXXXXXXXXX    I     I       XXXXXX        I    I    XXXXXXXXXXXX     I
I=====================I     I=====================I    I=====================I


==== "Fit image to window height, var. width" would look like

       Image1         next ...     Image 2        next ..     Image3
I=== Viewer ===I            IViewerI                   IViewer win. I
IXXXXXXXXXXXXXXI            IXXXXXXI                   IXXXXXXXXXXXXI
IXXXXXXXXXXXXXXI            IXXXXXXI                   IXXXXXXXXXXXXI
IXXXXXXXXXXXXXXI            IXXXXXXI                   IXXXXXXXXXXXXI
I==============I            I======I                   I============I



Hope that helps?
Grüsse!
klaus2
klaus2
 
Posts: 65
Joined: Thu Nov 02, 2006 7:27 pm

Re: renewed: Fit image to window height with option to autor

Postby Danny » Wed Nov 15, 2006 5:41 pm

klaus2 wrote:In short:
1. Viewer window heigth: user defined; image height fits to that
2. Viewer window width: depends on calculated image size (limited by desktop width)

1. Should be possible by activating "Remeber window size/position" and "fit image to window height"
2. Wouldn't be possible as of now. I'm missing an option to auto-fit to the window (whatever size) for a long time now..

So there's my opinion. For my other thoughts about this issue look here: viewtopic.php?t=4360&start=0&postdays=0&postorder=asc
Danny
 
Posts: 542
Joined: Sat Sep 04, 2004 5:09 pm

Next

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests