golang-image/tiff
ChaiShushan 420d421738 go.image/tiff: encoder fix non LZW Predictor and Paletted SamplesPerPixel and non RGB ExtraSamples.
TIFF6.0 Spec:
Page 31: ExtraSamples can only included in RGB mode image.
Page 39, SamplesPerPixel is usually 1 for bilevel, grayscale, and palette-color images.
Page 64, Currently Predictor field is used only with LZW.

Fixes golang/go#6421.

R=bsiegert, nigeltao, gbulmer
CC=golang-dev
https://golang.org/cl/13779043
2013-09-22 11:21:53 +10:00
..
buffer_test.go go.image: initial code. 2012-01-31 11:32:50 +11:00
buffer.go go.image/tiff: optimize reading uncompressed files from a tiff.buffer. 2012-02-21 11:25:19 +11:00
compress.go go.image: initial code. 2012-01-31 11:32:50 +11:00
consts.go go.image/tiff: decoder support tiled tiff format 2013-09-06 20:07:58 +10:00
reader_test.go go.image/tiff: support 16bit RGB 2013-09-18 17:16:05 +10:00
reader.go go.image/tiff: support 16bit RGB 2013-09-18 17:16:05 +10:00
writer_test.go go.image/tiff: support 16bit RGB 2013-09-18 17:16:05 +10:00
writer.go go.image/tiff: encoder fix non LZW Predictor and Paletted SamplesPerPixel and non RGB ExtraSamples. 2013-09-22 11:21:53 +10:00