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
Our code needs to check whether an image is CMYK or RGB (and reject any image that is CMYK).
However, @mattleibow "explicitly set the color space to null for backwards compatibility". That is breaking things, since it now seems to be impossible (without jumping through major hoops) to check whether an image is CMYK or not.
Solution: Allow ColorSpace to return the correct value. Or provide another method for checking the color space.
Code
SKBitmap.ColorSpace
Expected Behavior
SKBitmap.ColorSpace should return correct value, instead of null.
Actual Behavior
SKBitmap.ColorSpace always returns null.
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
All
Platform / Operating System Version
All
Devices
All
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Description
Our code needs to check whether an image is CMYK or RGB (and reject any image that is CMYK).
However, @mattleibow "explicitly set the color space to null for backwards compatibility". That is breaking things, since it now seems to be impossible (without jumping through major hoops) to check whether an image is CMYK or not.
Solution: Allow ColorSpace to return the correct value. Or provide another method for checking the color space.
Code
SKBitmap.ColorSpace
Expected Behavior
SKBitmap.ColorSpace should return correct value, instead of null.
Actual Behavior
SKBitmap.ColorSpace always returns null.
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
All
Platform / Operating System Version
All
Devices
All
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: