Image Information Tags return incorrect information
Open
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
- Enable tags for ColorSpace, HdrInfo, DateTimeAuto, ExifDateTimeOriginal
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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