TIFF decoder: fix ASsoc/Disassoc setting mismatch (#1349)
authorskal <pascal.massimino@gmail.com>
Fri, 12 Oct 2018 23:03:11 +0000 (01:03 +0200)
committerImageMagick <urban-warrior@users.noreply.github.com>
Fri, 12 Oct 2018 23:03:11 +0000 (19:03 -0400)
commit93cb7fcfa30026f87fb8f0ccab9ad520a184cc6c
treeadbfb53a6b2e8108dab4b2291e9987e3afd6519c
parentbea6f7fbc3b8bcfa6956db38395b5c3142bbb41e
TIFF decoder: fix ASsoc/Disassoc setting mismatch (#1349)

DisassociatedQuantumAlpha was used in the EXTRASAMPLE_ASSOCALPHA case.
Should have been the opposite.

Spotted on a bug reported to WebP: https://bugs.chromium.org/p/webp/issues/detail?id=401
The sample file test.tiff wouldn't decode correctly.
coders/tiff.c