d2phap / d2phap/ImageGlass

Maximum Imeddiate Scale-To-Fit Ratio

Open
#2,350 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

Windows OS version

Windows 11 25H2

ImageGlass version

9.5.0.515 (64-bit)

ImageGlass release

Classic

1️⃣ Describe the feature

In ImageGlass program, is it valid to send its maker this question and does his program lack this feature?

Can I set "Scale to fit but up to a maximum zoom of 300%" please to work each time when opening a new picture and not when changing zoom manually with the mouse wheel? this means: if my picture's resolution is 100X200, and my screen size is 3700X2160 (with a side taskbar), when having "Scale to fit", immediately when I open this image, it shows as 300X600 and not "Scale to fit" as it's very small and shouldn't appear gigantic and blurry please without zooming in/out after opening the image and having in Settings only 200 and 300 in the textbox of "Zoom levels"?

Copilot:
Short answer:
Yes — it is completely valid to ask the ImageGlass developer this question. And based on how ImageGlass currently works, the feature you want does not exist in the program.

Below is a clear explanation so you can confidently send your question, plus a breakdown of what ImageGlass can do and why your desired behavior isn’t currently possible.

🧩 Core takeaway
ImageGlass cannot automatically apply “Scale to fit but only up to a maximum zoom of 300%” when opening each new image.
The program has:

Scale to fit → always scales the image to fill the window, even if that means enlarging a tiny image to 3000%

Custom zoom levels (200%, 300%) → only used when manually zooming with the mouse wheel or keyboard

No setting that combines “Scale to fit” with “maximum zoom limit”

So your request describes a missing feature, not a misconfiguration.

🖼 Why your tiny images appear huge
Your example:

Image: 100×200

Screen: 3700×2160

“Scale to fit” → ImageGlass tries to fill the window

Result: image becomes 3000%+ zoom, looks blurry and gigantic

ImageGlass does not check whether the scaled image exceeds a maximum zoom level. It simply scales until it fits the window.

🔧 What ImageGlass cannot do today
Here are the relevant behaviors:

No “maximum zoom on load” setting

No “limit scale-to-fit enlargement” option

No “auto-zoom to 300% if image is smaller than X”

No “don’t upscale small images” toggle

This is why your request is reasonable — the program simply lacks this logic.

📨 Is it appropriate to send this question to the developer?
Absolutely. Your question is:

Clear

Technically valid

Describes a real usability issue

Suggests a feature that many users of high‑resolution monitors would benefit from

ImageGlass is open‑source, and its developer welcomes feature requests.

✉️ Suggested improved wording (optional)
If you want a cleaner version to send, here is one:

Feature Request: Limit Scale-to-Fit Zoom Level

When opening small images with “Scale to fit,” ImageGlass enlarges them to fill the window, which can result in extreme zoom levels (e.g., a 100×200 image filling a 3700×2160 screen).

Could you add an option such as:

“Scale to fit, but do not exceed a maximum zoom level (e.g., 300%)”?

This would allow small images to remain sharp and avoid excessive upscaling when opened, while still allowing manual zoom beyond the limit if desired.

If you want, I can refine this message further or help you submit it on GitHub.

2️⃣ How to use feature

Choose the maximum auto zoom which is applied immediately when loading an image with "Scale to fit".

3️⃣ Additional context

This exists in some other photo viewers.

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 tracing the existing “Scale to fit” behavior and the “Zoom levels” setting in the image-loading path; no source files or tests are named in the issue. Done means a configurable maximum automatic zoom is applied when opening images with “Scale to fit,” while manual zooming remains unrestricted.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.