facebook / fresco

An Android library for managing images and the memory they use.
https://frescolib.org/
MIT License
17.07k stars 3.75k forks source link

Color spaces in Android O are not handled properly by some features #1871

Open fabianeichinger opened 7 years ago

fabianeichinger commented 7 years ago

Description

O is the first Android release that introduces a proper color management system into the OS and platform framework. This addition doesn't require any changes for simple decoding and displaying of Bitmaps, but some of Fresco's more advanced features seem to drop ColorSpace information.

I went through the Fresco Showcase sample app modified as described below and found bad color reproduction in these parts of the app:

Things that I've not tested yet:

Reproduction

Additional Information

dmitry-voronkevich commented 7 years ago

Hi, @fabulant, thank you for great report, we will take a look at this issues.