Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go.image/tiff: encoder fix non LZW Predictor and Paletted SamplesPerP…
…ixel 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
- Loading branch information
Showing
1 changed file
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters