Ademking / BetterViewer

a replacement for the image viewing mode built into Firefox and Chrome-based web browsers.
MIT License
247 stars 19 forks source link

[Request] Maximise image button #33

Closed ewanhowell5195 closed 1 year ago

ewanhowell5195 commented 2 years ago

A maximise button would scale the image to display as large as it can. This is different from fullscreen as fullscreen takes up the whole screen, whereas this makes the image large enough to fill the window.

An auto-maximise option would also be nice, where when opening an image it will automatically be maximised, and then from there you can resize it however you like.

This would be useful for viewing things like pixel art, which by default will display really small, and can be annoying to constantly zoom in to see.

Ademking commented 2 years ago

Hello @ewanhowell5195, I think you're talking about 1:1 ratio See this: image

Try using it with this example:

https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg

ewanhowell5195 commented 2 years ago

I am not talking about 1:1 ratio.

I am talking about making images scale to fill the window, aka "maximising"

See this image: https://raw.githubusercontent.com/InventivetalentDev/minecraft-assets/1.18.2/assets/minecraft/textures/block/dirt.png

It shows really small as the image is really small, and 1:1 doesn't change that.

Maximise would change it to display scaled up like this: image