[Note] About the small zoom-steps…

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

[Note] About the small zoom-steps…

Post by Clo »

:) Hello !

• Now, we may use a zoom-step from 1% up to 99%, that's nice :D
- However, the 1% step use could look strangely in some cases…

• This is related to this thread - bug fixed for the black BG in a test version-

- While testing for that bug, I noticed that the small images were not enlarged on the screen when using a 1% zoom step,
up to a certain number of “Zoom in” strikes (where the bug occured).

• In fact, this is normal, since the image must be enlarged enough to get at least one more pixel
representing n…1% (fractions of 1 pixel) of the largest side.

- So, to use 1% and see the image growing on the screen at the first Zoom +, the minimal size is indeed 100*100 pixels.
- With a 50*50 image, we need two strikes, with 25*25 four strikes etc.
- In the opposite, using 2 % the minimal size is 50*50… and so on.
- For “standard” Win icon sizes - always an even amount of pixels and multiples of 8¦16 - there are some calculation rounds,
hence this is not absolutely true…
- Same for i.e. 99*99 (behaves as 50*50), while we'ld expect rather it behaves as 100*100,
since it's greater than the average (75*75).

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

Post by ouistiti »

:arrow: Clo

Indeed, the calculation rounds are not very convenient and logical when greater /smaller than the average.

Friendly

Paul
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Ladlefuls !

Post by Clo »

—> ouistiti

:) Hello Paul !

• Thank you for the feedback, Prof !

• The rounds are made “by ladlefuls” in the case ! :D

:mrgreen: Friendly,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply