DescriptionThis change:
- supports kGray correctly
- avoid extra call to png_get_IHDR by storing the bit depth
- call transforms as needed
- checks for tRNS alpha value in RGB and GRAY color types
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/9693037fd41b7ce545b44beaa3489dcfd915018c
Patch Set 1 #Patch Set 2 : removing irrelivant comment #
Total comments: 6
Patch Set 3 : Only allow conversion to N32 #Patch Set 4 : Rebased code to fix merge issue #Patch Set 5 : fixing merge conflict #
Messages
Total messages: 20 (8 generated)
|