kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast
https://kanryu.github.io/quickviewer/
GNU General Public License v3.0
539 stars 65 forks source link

Add option to not stretch small images #5

Closed Keith94 closed 7 years ago

Keith94 commented 7 years ago

Hi, I would prefer if images that are smaller than the window size can be displayed at their original size (and centered in window) without upscaling. This way, only images bigger than the window are resized down to fit, and small images still look crisp. Would be nice to have an option for it.

NXij commented 7 years ago

Options are the key here, the View menu could have additional options such as:

The Key config menu could include the 1:1 option as a toggle between 1:1 and last used zoom level, and also let the scroll up/down be defineable as a sequence. Also double click to fullscreen would be a good UX implementation. concept

kanryu commented 7 years ago

Hi All, Thank you for using this application.

If you want it, I can consider implementing it. But as NXij says, you have to prepare more options to specify the size of the image than you think. Probably one more main menu will be added.

Currently there are plans to create a configuration dialog to add options to save memory as some users claim. I want to improve the display of the tool bar, menu bar, and page bar. It will be next, but your request will be realized.

If you are a software engineer, it will be faster to add the source code and post a pull request.

anantoghosh commented 7 years ago

I agree with @Keith94, this is the default behavior in many image viewers Only the images which do not fit the window are resized Smaller images are not scaled Smaller images are centered

Currently the options are Zoom to fit Show 100% (No Scaling) which is controlled by the "fitting" button

Maybe you could split the "fitting" button to two buttons and add a single more image size option - "Fit Window" or "Auto Fit" So user can select only one of the three at a time Zoom to fit Show 100% (No Scaling) Fit Window (Auto Fit)

kanryu commented 7 years ago

Hi All,

@Keith94 I made that "show original size when images smaller than window on fitting".

I will close this issue if we can confirm that the original request has been achieved. Please post the remaining topics again as new issues :)

NXij commented 7 years ago

Can confirm that the fitting works like expected now.

Keith94 commented 7 years ago

@kanryu Yes, that works. :)