• Rob Pike's avatar
    image: roll back 13239051 (add RGB and RGB48) · a075fdba
    Rob Pike authored
    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
    a075fdba
image_test.go 3.16 KB