# Get Binary Representation of PIL Image Without Saving
s = StringIO.StringIO()
window.save(s, "jpg")
encodedWindow = base64.b64encode(s.getvalue())

a7a32395698073339816d6287802d63937f4e27f
<mask token>

<mask token>
window.save(s, 'jpg')
<mask token>

s = StringIO.StringIO()
window.save(s, 'jpg')
encodedWindow = base64.b64encode(s.getvalue())

# Get Binary Representation of PIL Image Without Saving
s = StringIO.StringIO()
window.save(s, "jpg")
encodedWindow = base64.b64encode(s.getvalue())
