1
0
mirror of https://github.com/golang/go synced 2024-10-05 02:21:22 -06:00
go/src/pkg/image/tiff
Benny Siegert 14c59abd76 image/tiff: Reject images with SampleFormat != 1.
The TIFF spec says that a baseline TIFF reader must gracefully terminate
when the image has a SampleFormat tag which it does not support.
For baseline compatibility, only SampleFormat=1 (the default) is needed.
Images with other sample formats (e.g. floating-point color values)
are very rare in practice.

R=nigeltao
CC=golang-dev
https://golang.org/cl/4515073
2011-05-12 22:34:48 -04:00
..
buffer_test.go image/tiff: implement a decoder. 2011-05-04 20:52:55 -07:00
buffer.go image/tiff: implement a decoder. 2011-05-04 20:52:55 -07:00
consts.go image/tiff: Reject images with SampleFormat != 1. 2011-05-12 22:34:48 -04:00
Makefile image/tiff: implement a decoder. 2011-05-04 20:52:55 -07:00
reader.go image/tiff: Reject images with SampleFormat != 1. 2011-05-12 22:34:48 -04:00