Commits

Fredrik Lundh committed 29ed21d

Added _getiptc helper method.

Comments (0)

Files changed (1)

PIL/JpegImagePlugin.py

                 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