1. markotibold
  2. pil

Commits

Fredrik Lundh  committed 29ed21d

Added _getiptc helper method.

  • Participants
  • Parent commits dc6b32e
  • Branches default

Comments (0)

Files changed (1)

File PIL/JpegImagePlugin.py

View file
                 gps[key] = fixup(value)
         return exif
 
+    def _getiptc(self):
+        # Extract IPTC information (experimental API).
+        import IptcImagePlugin
+        return IptcImagePlugin.getiptcinfo(self)
+
+
 # --------------------------------------------------------------------
 # stuff to save JPEG files