Opened 8 years ago

Last modified 4 weeks ago

#6937 assigned enhancement

ShowImage 100% zoom not 100%.

Reported by: stippi Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/ShowImage Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


One can for example export a crisp PNG image from Icon-O-Matic, it will render blurry when opened in ShowImage, since it appears to be displayed several pixels too large in both directions. Hopefully this is not a side-effect of the processing of semi-transparent images, but the checker background is also not crisp, so that is not so likely.

Change History (10)

comment:1 Changed 8 years ago by stippi

Just noticed that the problem is with the "Stretch to window" option turned on. 64x64 images produced by Icon-O-Matic are slightly smaller than the minimum window size of ShowImage, so they are slightly stretched. Somehow this needs to work better, even with the option on.

comment:2 Changed 8 years ago by axeld

Type: bugenhancement

Let your ideas be heard.

comment:3 Changed 8 years ago by leavengood

I don't see how this can be fixed except by either decreasing the minimum size of ShowImage (might be tricky under layout management) or we remove the "Stretch to window" option, which I've always thought was not all that useful. Why would you ever want to stretch small images bigger by default? Shrink to window is useful of course, though there isn't an option for that anymore (which is fine I think.)

I say remove "Stretch to window".

comment:4 Changed 8 years ago by axeld

While images tend to get larger and larger, I don't think removing that feature is useful - think slide shows on HD monitors.

But if it is enabled by default, I would just change that.

comment:5 Changed 7 years ago by halilpk

(GCI-2011 Participant)

Haiku revision: hrev42211 not a bug. If the "Stretch to window" option is enable, it will be a problem but you can disable this option.After this there is no problem . System: Haiku hrev1-alpha3 on VMware workstation 8 on windows 7 32 bit

comment:6 Changed 6 years ago by hometue

(GCI-2012 Participant) Haiku revision: hrev44702. Valid, but this is not a bug. Disable "Strech to window" and it should be back to normal. I think that there should be an option made to allow zooming in without any interpolation applied to the image for people who wants to see the individual pixels in the image. System: Haiku R1-alpha4 on Virtualbox 4.1.20 on windows 7 64 bit

comment:7 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned

comment:8 Changed 5 weeks ago by leavengood

How about we ignore "Stretch to window" for images below the minimum window size? That at least fixes the main complaint here.

comment:9 Changed 4 weeks ago by humdinger

+1 There's still zooming to take a closer look at a tiny image.

comment:10 Changed 4 weeks ago by pulkomandy

For small images we should disable interpolation too. It won't do any good on them. Now we have to agree on what "small" means, but I think the minimum window size is a good guess.

Note: See TracTickets for help on using tickets.