d2phap / d2phap/ImageGlass

(MagickImageErrorException) Could not load this image, image type not supported (heic) despite being able do be loaded if opened directly

Open
#2,458 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐞 bug 🐷 upstream issue
Dominant language
C#
Stars
14.4k
Forks
752
Avg merge
10d 14h
Merged PRs (30d)
1

Description

Windows OS version

Windows 10.0.19045

ImageGlass version

10.0.6.906-win-x64

ImageGlass release

Classic

1️⃣ Steps to reproduce

...

2️⃣ Actual behavior

I have a private image (if you need it for reconstruction of the error, please contact me privately) in .heic format which ImageGlass refuses to open with an error message if loaded via the gallery feature (the horizontal bar at the bottom listing the images in dir). However if the image gets loaded directly from the file explorer ImageGlass opens the image but overlays it with the error message. If the file would be corrupted than i assume it shouldn't load at all...

3️⃣ Expected behavior

Open the image without any error or if the file is damaged tell that the file is damaged.

4️⃣ Screenshots / Video / Sample image file
Image
5️⃣ Additional context

No response

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 on Windows 10 with the reported ImageGlass version and reproduce the private HEIC file through both the gallery bar and direct file opening. Compare the two loading paths and their error handling. Done means the HEIC opens without the unsupported-type error, or a genuine damaged-file error is reported consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.