• Benny Siegert's avatar
    image/tiff: Reject images with SampleFormat != 1. · 14c59abd
    Benny Siegert authored
    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
    14c59abd
Name
Last commit
Last update
..
bmp Loading commit data...
gif Loading commit data...
jpeg Loading commit data...
png Loading commit data...
testdata Loading commit data...
tiff Loading commit data...
ycbcr Loading commit data...
Makefile Loading commit data...
color.go Loading commit data...
decode_test.go Loading commit data...
format.go Loading commit data...
geom.go Loading commit data...
image.go Loading commit data...
names.go Loading commit data...