Add BitmapFactory.Options.inColorSpace
This allows applications to load bitmap in a preferred target color space, similar to inPreferredConfig for configurations. This change also applies recent changes made to BitmapFactory to BitmapRegionDecoder: support for outColorSpace, inColorSpace and outConfig. Bug: 32984164, 36905374 Test: CtsGraphicsTestCase (BitmapColorSpaceTest/BitmapRegionDecoderTest) Change-Id: I4eded9190d1aa9c7f3033f9bb78a6854cc48a3ef
Loading
Please register or sign in to comment