-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color Profile details are null if string tags are type 'mluc' instead of 'desc' #1509
Comments
Can you share a file that contains this color profile type? And feel free to create a pull request that resolves this issue. |
Hi Dirk,
Sure, I'll have to create one - we have had this issue on end user uploaded files so I'll replicate with a file I create myself...it happens from iPhones but may just be HDR images.. I'll get a file that can be used for tests...and I will create a PR for this fix...
Thanks,
Sam
…________________________________
From: Dirk Lemstra ***@***.***>
Sent: 05 January 2024 13:37
To: dlemstra/Magick.NET ***@***.***>
Cc: Samy Mesbah ***@***.***>; Author ***@***.***>
Subject: Re: [dlemstra/Magick.NET] Color Profile details are null if string tags are type 'mluc' instead of 'desc' (Issue #1509)
Can you share a file that contains this color profile type? And feel free to create a pull request that resolves this issue.
—
Reply to this email directly, view it on GitHub<#1509 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXO2XN6W6U5XKTHT5NDH6JTYNAXN5AVCNFSM6AAAAABBNMCUJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZYHE4TINBYG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Magick.NET version
13.5.0 Magick.NET.Core
Environment (Operating system, version and so on)
Windows 10/11
Description
ColorProfileData is not correctly populated when type for string tags is 'mluc' rather than 'desc' or 'text'. This is BigEndianUnicode versions of the string which can extend to multiple string for multiple languages.
I have a code fix to return the strings in the first language.
Steps to Reproduce
Any iPhone photo with Display P3 color profile embedded will not populate the data in MagickImage.GetColorProfile() correctly. Apple is using the 'mluc' type for the embedded profile description. This type was introduced in the 2022 version of the ICC 4 spec.
The text was updated successfully, but these errors were encountered: