- 
                Notifications
    You must be signed in to change notification settings 
- Fork 546
Description
Discussed in #3149
Originally posted by Hello1nside May 18, 2025
Hi everyone 👋
I'm using @shopify/react-native-skia to render JPEG photos in my app, but I'm noticing a significant difference in color rendering between Skia and React Native.
When I render the same image using React Native's built-in , the colors look correct — vibrant and true to the original. However, when I render it using Skia’s , the result looks washed out or desaturated, especially in brighter and more colorful areas.
I'm loading images with expo-image-picker, and they do contain EXIF metadata. For example, the ColorSpace tag is 65535 (which I understand means "uncalibrated").
I assume the issue might be related to Skia not handling embedded ICC profiles or gamma correction. React Native seems to do this automatically, while Skia may not.
My questions:
- Does ImageShader support embedded color profiles (e.g. sRGB, Display P3)?
- Is gamma correction applied automatically when rendering images?
- Is it recommended to wrap every ImageShader in a custom shader that applies gamma correction manually (e.g. pow(color.rgb, vec3(1.0 / 2.2)))?
- Are there any known workarounds or plans to support color management in the future?
Visual Example:
Here’s a visual comparison of how the same image looks in React Native vs Skia:
🔗 https://fex.net/uk/s/a394nvx
Any advice or clarification would be greatly appreciated 🙏
Thanks in advance!