Access exif data from gimpfu plugin
<p>I am trying to access an images exif data from inside a gimpfu plugin, specifically the date a photo was taken, I can do this with PIL,</p>

<pre><code>from PIL import Image

date_taken = Image.open(file)._getexif()[36867]
</code></pre>

<p>But when I try to import PIL, the plugin no longer appears inside the gimp menu. No error is being produced, and GIMP starts normally.
Is there a way to get the exif data with gimpfu? Or is there a way to import PIL into the plugin? </p>