zoom steps by a ratio of qrt(2)=1,414213562

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, helmut, xnview

User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

zoom steps by a ratio of qrt(2)=1,414213562

Post by oops66 »

Hello,
Request to have a customized option to change the zoom steps by a ratio of qrt(2)=1,414213562 (current step * 1,414213562 = next step) or (current step / 1,414213562 = previous step) .
Because this ratio is the same as the paper size between the formats sizes ( ... A5 to A4 to A3 to A2 .. to A0) so it would be very easy by this way to see the result on the screen for an other paper size format before the print.

So have the ability to change the currents steps 7%,10%,15%,...,1600% to the steeps 1.75%,..7%,9.9%,14%,...,1792%

current-> new
------> 1.75%
------> 2.47%
------> 3.50%
------> 4.94%
7% --> 7.00%
10% --> 9.90%
15% --> 14.00%
20% --> 19.80%
25% --> 28.00%
30% --> 39.60%
50 --> 56.00
70 --> 79.20
100--> 112.00
150--> 158.40
200--> 224.00
300--> 316.78
400--> 448.00
500--> 633.57
600--> 896.00%
700%--> 1267.13%
800%--> 1792.00%
1200 %
1600%
XnViewMP Linux X64 - Debian - X64
User avatar
rra
Posts: 192
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Re: zoom steps by a ratio of qrt(2)=1,414213562

Post by rra »

Good idea, I allready posted a request some time ago, to zoom in relative steps, with selectable step-size,
eg. 1.41 x ;
in your case I think it would be better to normalize the zooming around 100% ,
the zoom-table would then be:

...
6.25
8.8
12.5
17.7
25
35
50
71
100
141
200
283
400
566
800
1131
1600
...

René
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Relative zoom steps by a ratio of qrt(2)=1,414213562

Post by oops66 »

Why not, it's better, but not necessary because if you type the key "*" then you have automaticaly the 100% zoom step, then after if you zoom down or up (with this relative zoom step behavior) you will meet your 100% --> 141% --> 200% --> and so zoom steps.
And if you zoom down from this 100% zoom step (key "*"), you will also have automaticaly : 100% --> 71% --> 50% --> and so....

But you are right, a selectable step-size ratio is better (with maybe 1.4142 by default).

Plus, by this way (a relative zoom step behavior), the zoom behavior will also be more smooth.
XnViewMP Linux X64 - Debian - X64
User avatar
rra
Posts: 192
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Re: zoom steps by a ratio of qrt(2)=1,414213562

Post by rra »

Plus, by this way (a relative zoom step behavior), the zoom behavior will also be more smooth.
Yes, that is the big advantage, in the current version the zooming steps aren't allways "smooth" .
By the way: I wasn't aware of the "*" shortcut, might be handy .

René
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: zoom steps by a ratio of qrt(2)=1,414213562

Post by oops66 »

rra wrote:...
By the way: I wasn't aware of the "*" shortcut, might be handy .
René
Yes...
FI - numpad keys:
"*" -->for the 100% zoom step
"/" -->fit image to window
"1" -->fit image to window width
"3" -->fit image to window height
"Ctrl" + "-" --> real size
"-" and "+" (or scroll the middle mouse button) --> zoom out / zoom in

sketch a square with the mouse --> to zoom in and fit this area into the window (I hope in a future XnView version too) ???
XnViewMP Linux X64 - Debian - X64
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: zoom steps by a ratio of qrt(2)=1,414213562

Post by oops66 »

Custom Relative zoom steps by a ratio done under v1.97
Thank you Pierre
XnViewMP Linux X64 - Debian - X64
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Re: zoom steps by a ratio of qrt(2)=1,414213562

Post by Clo »

:arrow: oops66

:) Hello !
Custom Relative zoom steps by a ratio done under v1.97
Thank you Pierre
• With a damper : The strings are still in English in the French DLL… :|

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: zoom steps by a ratio of qrt(2)=1,414213562

Post by oops66 »

Clo wrote:...• With a damper : The strings are still in English in the French DLL… :...Clo
Hello Clo,
Right here too.

added here:
http://newsgroup.xnview.com/viewtopic.p ... 885#p78885
XnViewMP Linux X64 - Debian - X64