ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

Minimal/Maximum window size for window fit zoom

Open Elypha opened this issue 2 months ago • 0 comments

System information

  • Windows OS version: windows 11 22h2
  • ImageGlass version: 9.0.11.502
  • ImageGlass release: Store / Classic? classic

Describe the feature

It's not a very original idea and maybe I just didn't find it but if it's not:

Currently, the window fit zoom mode resize the window to actual image resolution. I hope to have an option to limit the size of window to no smaller than a configured resolution, and another option for no larger than.

How to use feature

2024-05-28_08-38-19_294 it's just my first thought on this and it could be like two combo boxes that accept string input in the formart of:

  • 0, meaning no limit
  • \d%, meaning the percentage of the (current) monitor where the instance is drawn
  • \d, meaning that many pixels

for example:

Limit the window size to no smaller than { 200 } width { 200 } height Limit the window size to no larger than { 80% } width { 0 } height

especially for no smaller than, centre the small image and zoom at 100% and leave white space around it

Elypha avatar May 27 '24 23:05 Elypha