]> Cypherpunks repositories - gostls13.git/commit
image: roll back 13239051 (add RGB and RGB48)
authorRob Pike <r@golang.org>
Tue, 17 Dec 2013 18:49:45 +0000 (10:49 -0800)
committerRob Pike <r@golang.org>
Tue, 17 Dec 2013 18:49:45 +0000 (10:49 -0800)
commita075fdbaa647879c37b1969437366b9c94acd010
tree12d8a756504658be0824900f43bb02e1299be990
parent2784a3ea8527083a3d819272f879fa508dcca3b5
image: roll back 13239051 (add RGB and RGB48)

They cause too much bloat in the internals as we find ourselves adding
special case code for all the cross-connections. It's better to use RGBA
and just max out the alpha. We lose a little memory but reduce the number
of special cases the encoders, decoders, and drawers need to provide.

R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/42910045
src/pkg/image/color/color.go
src/pkg/image/image.go
src/pkg/image/image_test.go