rerun icon indicating copy to clipboard operation
rerun copied to clipboard

Always allow image to zoom out to 1:1 scale

Open jleibs opened this issue 2 years ago • 4 comments

When displaying an image that is smaller than the current canvas, there is no way to "zoom out" to the native 1:1 resolution of the image. This means small images may be oversized.

Exa: image

There is no way to scale down the image here to match the size of the imshow window without doing something like abusing the selection panel to take up space.

jleibs avatar May 31 '23 18:05 jleibs

This is part of a larger issue of rewriting the 2D "eye" (view) code to allow arbitrary panning and zooming

emilk avatar Jun 12 '23 10:06 emilk

Blocked by

  • #2531

emilk avatar Aug 08 '23 11:08 emilk

It's unclear how this should work. We could add a button to go to zoom=1 for a 2D space view, but I'm not sure how useful that would be. Should it keep that zoom even if we resize the space view? Would it be one image pixel per screen pixel, or per ui point?

emilk avatar May 06 '24 05:05 emilk

Maybe could see what other common image preview tools do for this.

jleibs avatar May 06 '24 10:05 jleibs