]> Cypherpunks repositories - gostls13.git/commit
image/color/palette: move Plan9Palette and WebSafePalette out of the
authorNigel Tao <nigeltao@golang.org>
Fri, 30 Aug 2013 06:03:16 +0000 (16:03 +1000)
committerNigel Tao <nigeltao@golang.org>
Fri, 30 Aug 2013 06:03:16 +0000 (16:03 +1000)
commitaeb8b45866b8e9664d931c1c297b122237fe679e
treebdbc376af09d02141fc29372b882822a7c12a52c
parent5d6ea6f70ee340f13beeee9af0b326d302cabfe7
image/color/palette: move Plan9Palette and WebSafePalette out of the
image/color package into their own package. They require some non-
trivial init-time code (interface conversions, currently 40KiB of text)
that would otherwise burden any Go program that imported image/color.

R=r
CC=golang-dev
https://golang.org/cl/13256046
src/pkg/image/color/palette.go [deleted file]
src/pkg/image/color/palette/gen.go [moved from src/pkg/image/color/gen.go with 76% similarity]
src/pkg/image/color/palette/palette.go [new file with mode: 0644]
src/pkg/image/gif/reader_test.go
src/pkg/image/gif/writer.go