d2phap / d2phap/ImageGlass

Image Information Tags return incorrect information

Open
#2,381 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐞 bug
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

10.0.3.720-rc-win-x64

ImageGlass release

Classic

1️⃣ Steps to reproduce
  1. Enable tags for ColorSpace, HdrInfo, DateTimeAuto, ExifDateTimeOriginal
  2. Browse images with various ICC profiles, bit depth, EXIF/XMP date fields.
2️⃣ Actual behavior
  • ColorSpace tag always returns 'sRGB' regardless of embedded color profile.
  • HdrInfo tag is active for SDR images (returns "wide gamut 16-bit").

Combined, these return a contradictory phrase that does not describe the image entirely correctly ("sRGB wide gamut 16-bit").

  • DateTimeAuto tag returns NTFS file system date even though EXIF/XMP date exists.
  • ExifDateTimeOriginal tag returns no date.
3️⃣ Expected behavior
  • ColorSpace tag returns 'sRGB', 'Display P3', 'Adobe RGB', 'BT.709', etc.
  • HdrInfo tag distinguishes between SDR and HDR and does not contradict ColorSpace.

So, combined, something like:

  • "Display P3 16-bit" or
  • "BT.2020 HDR PQ 32-bit" or similar.
  • Maybe a separate tag for bitdepth?

  • DateTimeAuto tag prioritises dates and returns most authoritative value found (XMP > EXIF > IPTC > NTFS).
  • ExifDateTimeOriginal tag returns the corresponding EXIF date.
  • Maybe we need an XMPDateTimeOriginal tag?
4️⃣ Screenshots / Video / Sample image file

No response

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 at the implementations of the ColorSpace, HdrInfo, DateTimeAuto, and ExifDateTimeOriginal tags, then reproduce the report with images using different ICC profiles, bit depths, HDR states, and EXIF/XMP/IPTC dates. Done means the tags report the embedded color and HDR information consistently, and date selection follows XMP, EXIF, IPTC, then NTFS priority.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.