Add in/out ColorSpace to ImageDecoder
Bug: 76448408 Test: I851173b771668f0e6712bebfe06bfb8559801199 Add ImageInfo.getColorSpace() for retrieving the default ColorSpace. This matches BitmapFactory.Options.outColorSpace. Add ImageDecoder.setTargetColorSpace() for choosing a new ColorSpace. This matches BitmapFactory.Options.inPreferredColorSpace. Rename setSampleSize to setTargetSampleSize to match setTargetSize and setTargetColorSpace. Change-Id: If2f4e755dfc163f754849f896de24659198973db
Loading
Please register or sign in to comment