Repository navigation
Conversation
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
|
The |
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
I've improved the color management implementation to better handle wide-gamut images with embedded color profiles like Display P3. The original fix only applied color management to RGB/sRGB/scRGB color spaces, but Display P3 images often have embedded color profiles that weren't being handled properly. The updated logic now:
This should resolve the issue where the "W" wasn't visible in Display P3 images. The improvement is in commit 19388c8. Note that seeing the "W" in wide-gamut images also requires:
|
Use following option in `QuickLook.Plugin.ImageViewer.config` to fix the issue: ```xml <?xml version="1.0" encoding="utf-8"?> <Settings> <UseColorProfile>false</UseColorProfile> <UseNativeProvider>false</UseNativeProvider> </Settings> ```
|
I fix it with 67b5dbf instead of your PR. |
Use following option in `QuickLook.Plugin.ImageViewer.config` to fix the issue: ```xml <?xml version="1.0" encoding="utf-8"?> <Settings> <UseColorProfile>false</UseColorProfile> <UseNativeProvider>false</UseNativeProvider> </Settings> ```
|
Color Management still works incorrect. See explanation here #2080 |
QuickLook was failing to render Display P3 and other wide-gamut color space images correctly, showing washed-out or incorrect colors compared to Windows 11 Photos App. While the initial fix enabled color management by default, it had limitations in handling images with embedded color profiles.
Root Cause
The original color management logic was too restrictive - it only applied color profiles to images with RGB/sRGB/scRGB color spaces, but Display P3 and other wide-gamut images often have embedded color profiles that weren't being handled properly.
Changes Made
This PR enables color management by default and improves the handling of wide-gamut images:
UseColorProfiledefault fromfalsetotrueUseColorProfiledefault fromfalsetotrueImageMagickProvider.cs:Technical Impact
The improved logic properly handles images with embedded color profiles by:
mi.HasColorProfile)Benefits
Fixes #1725.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.