invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.41k stars 2.41k forks source link

[enhancement]: zoom and pan in viewer #6989

Open Jonseed opened 2 weeks ago

Jonseed commented 2 weeks ago

Is there an existing issue for this?

Contact Details

No response

What should this feature add?

It would be nice to be able to zoom and pan in the viewer mode, especially to see the image at 100%. Currently you can only zoom and pan in the canvas mode.

Alternatives

Open image in a new tab, and zoom/pan there.

Additional Content

No response

psychedelicious commented 2 weeks ago

Agreed. This has been on my list for a while - basically as soon as I finished with the viewer in its current state.

It's implemented using the DOM, but I'd like to redo it so that it uses a canvas. This would make it a lot easier to support zoom/pan and some other stuff, like tiled preview and better handling of comparison between images w/ different sizes and aspect ratios.