]> Cypherpunks repositories - gostls13.git/commit
image/jpeg: decode grayscale images, not just color images.
authorNigel Tao <nigeltao@golang.org>
Mon, 16 May 2011 17:13:17 +0000 (10:13 -0700)
committerNigel Tao <nigeltao@golang.org>
Mon, 16 May 2011 17:13:17 +0000 (10:13 -0700)
commit0d111a62e14ebdd5c3e2482620a3e9542d97d3c0
tree1816562a20b7edba56e48b007a2cbae320d08c61
parent4da5cd4cd6d2caaa42996f0e5dd91fee036aa4d4
image/jpeg: decode grayscale images, not just color images.

Also add an image package test that DecodeConfig returns the same
ColorModel as what Decode would.

R=r, r
CC=golang-dev
https://golang.org/cl/4529065
src/pkg/image/decode_test.go
src/pkg/image/jpeg/reader.go
src/pkg/image/jpeg/writer.go