commit | 420d421738d3fceb098ac05a3739782744a5c180 | [log] [tgz] |
---|---|---|
author | ChaiShushan <chaishushan@gmail.com> | Sun Sep 22 11:21:53 2013 +1000 |
committer | Nigel Tao <nigeltao@golang.org> | Sun Sep 22 11:21:53 2013 +1000 |
tree | d2f83e7b40107d7f4ede97056514c6f340869cda | |
parent | b2d744f611613af0685e7875e23ef45bbe724565 [diff] |
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