pqiv
pqiv copied to clipboard
Missing SCALE_TO_FIT_WINDOW option/parameter/action
The SCALE_TO_FIT_WINDOW
options exists in the code, but is not exposed as an option/parameter/action to the user.
There is
toggle_scale_mode(INT)
Change the scale mode: Use 1 to disable scaling, 2 for automated scaledown (default), 3 to always scale images up, 4 to maintain the user-set zoom
level, and 5 to maintain the window's size. 0 cycles through modes 1-3.
But pqiv --action='toggle_scale_mode(5)' IMAGE
does not work ...?
This is a pretty crucial use-case. I'm sort of surprised it wasn't the default. I love PQIV and am considering using it as a front-end for a commercial enterprise I am working on due to it being one of the few image vieweres that actually supports transparency without requiring fancy hardware. Somebody wrote a library for autohotkey (lol I know) that does the same thing in windows that I was going to look at- but now I see pqiv also has a windows port. Brilliant!