golang-image/tiff
Patrick Riley 38c1f4ffe8 go.image/tiff: Support missing Compression tag
no_compress.tiff is no_rps.tiff that was read in by go.image/tiff and written out again (with a hack to avoid creating the Compression tag on the way out).

$ tiffdump no_compress.tiff
no_compress.tiff:
Magic: 0x4949 <little-endian> Version: 0x2a
Directory 0: offset 968 (0x3c8) next 0 (0)
ImageWidth (256) SHORT (3) 1<16>
ImageLength (257) SHORT (3) 1<15>
BitsPerSample (258) SHORT (3) 4<8 8 8 8>
Photometric (262) SHORT (3) 1<2>
StripOffsets (273) LONG (4) 1<8>
SamplesPerPixel (277) SHORT (3) 1<4>
RowsPerStrip (278) SHORT (3) 1<15>
StripByteCounts (279) LONG (4) 1<960>
XResolution (282) RATIONAL (5) 1<72>
YResolution (283) RATIONAL (5) 1<72>
ResolutionUnit (296) SHORT (3) 1<2>
ExtraSamples (338) SHORT (3) 1<2>

LGTM=bsiegert, nigeltao
R=bsiegert, nigeltao
CC=golang-codereviews
https://golang.org/cl/95930044
2014-05-12 16:41:44 +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 missing Compression tag 2014-05-12 16:41:44 +10:00
reader.go go.image/tiff: Support missing Compression tag 2014-05-12 16:41:44 +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