How can I load a image already in Memory

Asked by Janitha

How can I load image data already in in memory in to pyexiv2.

At the moment the the only available method is to use pyexiv2.Image(filename). Is there a method where I can pass pyexiv2.Image( ) a StringIO or a string that contains the binary image data and extract the EXIF data in it?


Question information

English Edit question
pyexiv2 Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Olivier Tilloy (osomon) said :

In pyexiv2 0.2, the ImageMetadata class has a from_buffer(…) class method that does what you need.

Can you help with this problem?

Provide an answer of your own, or ask Janitha for more information if necessary.

To post a message you must log in.