]> Cypherpunks repositories - gostls13.git/commit
image/png: support encoding of paletted images with alpha channel.
authorDmitry Chestnykh <dchest@gmail.com>
Thu, 5 May 2011 03:46:27 +0000 (20:46 -0700)
committerNigel Tao <nigeltao@golang.org>
Thu, 5 May 2011 03:46:27 +0000 (20:46 -0700)
commit737e96c7f35af64167072b1ff4b4ee63d009bc1c
tree3ae2a5d7ef68d8ad8fb9943b24bc0560434ddccd
parentbcf3bfe2fe6828ca787c8559f741f706ed792eb0
image/png: support encoding of paletted images with alpha channel.

Encoder now writes tRNS chunk for non-opaque paletted images.
CL includes new test images (basn3a08-trns.[ps]ng).

R=nigeltao, rsc, r
CC=golang-dev
https://golang.org/cl/4432078
src/pkg/image/png/reader_test.go
src/pkg/image/png/testdata/pngsuite/README
src/pkg/image/png/testdata/pngsuite/basn3p08-trns.png [new file with mode: 0644]
src/pkg/image/png/testdata/pngsuite/basn3p08-trns.sng [new file with mode: 0644]
src/pkg/image/png/writer.go