d2phap / d2phap/ImageGlass

Minimal/Maximum window size for window fit zoom

Open
#1,926 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🎯 feature
Dominant language
C#
Stars
14.4k
Forks
752
Avg merge
10d 14h
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation and settings for the window fit zoom mode in ImageGlass. Define how minimum and maximum width and height limits should accept pixels, percentages, or zero, then verify that small images remain centered at 100% zoom and that both limits behave as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.