From 0c374912012c691fe2d77b64f774d21c7a0dd60e Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 20 Sep 2018 20:15:49 +1000 Subject: [PATCH] Corrected tags --- src/PIL/TiffTags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIL/TiffTags.py b/src/PIL/TiffTags.py index ef19ee66e..bb15a64ee 100644 --- a/src/PIL/TiffTags.py +++ b/src/PIL/TiffTags.py @@ -122,7 +122,7 @@ TAGS_V2 = { 316: ("HostComputer", ASCII, 1), 317: ("Predictor", SHORT, 1, {"none": 1, "Horizontal Differencing": 2}), 318: ("WhitePoint", RATIONAL, 2), - 319: ("PrimaryChromaticities", SHORT, 6), + 319: ("PrimaryChromaticities", RATIONAL, 6), 320: ("ColorMap", SHORT, 0), 321: ("HalftoneHints", SHORT, 2), @@ -159,7 +159,7 @@ TAGS_V2 = { 529: ("YCbCrCoefficients", RATIONAL, 3), 530: ("YCbCrSubSampling", SHORT, 2), 531: ("YCbCrPositioning", SHORT, 1), - 532: ("ReferenceBlackWhite", LONG, 0), + 532: ("ReferenceBlackWhite", RATIONAL, 6), 700: ('XMP', BYTE, 1),