From d0809d80391e4c98d575690e3b67159ac1465851 Mon Sep 17 00:00:00 2001 From: John Evans Date: Thu, 6 Jun 2013 17:02:25 -0400 Subject: [PATCH] Added description of data field in case of Exif. Fixes #32. --- glymur/jp2box.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/glymur/jp2box.py b/glymur/jp2box.py index 613d6f2..f1ccf8e 100644 --- a/glymur/jp2box.py +++ b/glymur/jp2box.py @@ -1556,8 +1556,9 @@ class UUIDBox(Jp2kBox): more verbose description of the box. uuid : uuid.UUID 16-byte UUID - data : bytes or ElementTree.Element - Vendor-specific UUID data. XMP UUIDs are interpreted as standard XML. + data : bytes or dictionary or ElementTree.Element + Vendor-specific UUID data. Exif UUIDs are interpreted as dictionaries. + XMP UUIDs are interpreted as standard XML. """ def __init__(self, **kwargs): Jp2kBox.__init__(self, id='', longname='UUID')