Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adamvr/751093 to your computer and use it in GitHub Desktop.
Save adamvr/751093 to your computer and use it in GitHub Desktop.
import Image
import StringIO
buffer = file("xyz.jpg").read()
si = StringIO.StringIO(buffer)
i = Image.open(si)
i.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment