Descriptionimage/png: always set up palette during DecodeConfig
The old code would decode the palette only for 8-bit
images during a DecodeConfig.
This CL keeps the behavior for 8-bit images and sets
up the decoded palette also for 1, 2 and 4-bit images.
Fixes issue 4279.
Patch Set 1 #Patch Set 2 : diff -r 2fd26930dda2 https://code.google.com/p/go/ #Patch Set 3 : diff -r 2fd26930dda2 https://code.google.com/p/go/ #
Total comments: 4
MessagesTotal messages: 3
|