]> Cypherpunks repositories - gostls13.git/commit
image: introduce Config type and DecodeConfig function, to decode an
authorNigel Tao <nigeltao@golang.org>
Fri, 3 Sep 2010 08:03:08 +0000 (18:03 +1000)
committerNigel Tao <nigeltao@golang.org>
Fri, 3 Sep 2010 08:03:08 +0000 (18:03 +1000)
commit2b4218f321e227c9d566dd10fbe4db78aa9fa8f1
tree888fa520164acec9096a150de5ae7dd72fd756f1
parent1a5d3c224d7390f59730e8d5cf9e204631baea73
image: introduce Config type and DecodeConfig function, to decode an
image's color model and dimensions without allocating and decoding its
actual pixels.

Fixes #695.

R=r
CC=golang-dev
https://golang.org/cl/2151042
src/pkg/image/format.go
src/pkg/image/image.go
src/pkg/image/jpeg/reader.go
src/pkg/image/png/reader.go