# HG changeset patch # User kostya # Date 1196523695 0 # Node ID a6c9aa23d379db1b53a127cdd73c5e18dae037d6 # Parent 74e314bb31c43e804e6507dfc924b05e3a7a9b47 TIFF may omit compression tag. This fixes issue 276. diff -r 74e314bb31c4 -r a6c9aa23d379 tiff.c --- a/tiff.c Sat Dec 01 12:05:59 2007 +0000 +++ b/tiff.c Sat Dec 01 15:41:35 2007 +0000 @@ -422,6 +422,7 @@ } s->le = le; s->invert = 0; + s->compr = TIFF_RAW; // As TIFF 6.0 specification puts it "An arbitrary but carefully chosen number // that further identifies the file as a TIFF file" if(tget_short(&buf, le) != 42){