d2phap / d2phap/ImageGlass

Making the window as the actual size of an image

Open
#1,405 3 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

When first opening an image, it's great to see it in it's actual dimensions.

This will return these benefits:

  1. It will give you a better Idea of how big is the image.
  2. It will Look nicer without the empty margins.
  3. It won't take screen space more than it needs to.

I don't know much C#, but I think making this change is possible through resizing the window to the size of the image at startup.

Things to take into consideration:

  • an option should be added to resize the image keeping it's aspect ratio intact.

& Thx for the amazing application.

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 code that opens the first image and sizes the window; the issue names no file or test. Done means the initial window matches the image dimensions, avoids unnecessary empty margins, and supports resizing while preserving the image aspect ratio.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.