]> Cypherpunks repositories - gostls13.git/commit
image/tiff: implement a decoder.
authorBenny Siegert <bsiegert@gmail.com>
Thu, 5 May 2011 03:52:55 +0000 (20:52 -0700)
committerNigel Tao <nigeltao@golang.org>
Thu, 5 May 2011 03:52:55 +0000 (20:52 -0700)
commitd97b8a817bbc0c4a40ca9f567e5e0d7c227f1fd6
tree539baba3375bdc4692003f99dc51875d19dd2101
parent737e96c7f35af64167072b1ff4b4ee63d009bc1c
image/tiff: implement a decoder.

The current iteration can decode 8-bit images in
grayscale, paletted, RGB, RGBA and NRGBA mode. LZW compression
is implemented but does not work on my test images.
Deflate (i.e. zlib) compression with or without a horizontal
predictor is supported.

R=nigeltao, nigeltao_gnome
CC=golang-dev, mpl
https://golang.org/cl/4240051
src/pkg/Makefile
src/pkg/image/decode_test.go
src/pkg/image/tiff/Makefile [new file with mode: 0644]
src/pkg/image/tiff/buffer.go [new file with mode: 0644]
src/pkg/image/tiff/buffer_test.go [new file with mode: 0644]
src/pkg/image/tiff/consts.go [new file with mode: 0644]
src/pkg/image/tiff/reader.go [new file with mode: 0644]