You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: ***@***.***>
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: