Correct the correction: RelatedImageWidth=0x1001, RelatedImageLength=0x1002

This commit is contained in:
hugovk 2014-08-27 11:06:34 +03:00
parent a428321bee
commit c2f0903627
2 changed files with 4 additions and 4 deletions

View File

@ -67,8 +67,8 @@ TAGS = {
0x0213: "YCbCrPositioning",
0x0214: "ReferenceBlackWhite",
0x1000: "RelatedImageFileFormat",
0x1001: "RelatedImageLength",
0x1002: "RelatedImageWidth",
0x1001: "RelatedImageWidth",
0x1002: "RelatedImageLength",
0x828d: "CFARepeatPatternDim",
0x828e: "CFAPattern",
0x828f: "BatteryLevel",

View File

@ -306,8 +306,8 @@ class TestFileJpeg(PillowTestCase):
tag_ids = dict(zip(ExifTags.TAGS.values(), ExifTags.TAGS.keys()))
# Assert
self.assertEqual(tag_ids['RelatedImageLength'], 0x1001)
self.assertEqual(tag_ids['RelatedImageWidth'], 0x1002)
self.assertEqual(tag_ids['RelatedImageWidth'], 0x1001)
self.assertEqual(tag_ids['RelatedImageLength'], 0x1002)
if __name__ == '__main__':