Descriptionimage/tiff: Do not panic when RowsPerStrip is missing.
The RowsPerStrip tag is mandatory according to the spec. However,
Mac OS sometimes (?) omits it. I managed to create such an image
by applying "tiffutil -none" on a compressed image.
If RowsPerStrip is 0, there was a division by zero in the decoder.
Assume that the image is a single strip in this case.
Patch Set 1 #Patch Set 2 : diff -r 7b7b7ef3e147 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 7b7b7ef3e147 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 7b7b7ef3e147 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 7b7b7ef3e147 https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 7b7b7ef3e147 https://go.googlecode.com/hg/ #
Total comments: 6
Patch Set 7 : diff -r 7b7b7ef3e147 https://go.googlecode.com/hg/ #
MessagesTotal messages: 8
|