Thanks!
Problem solved. I used the blobstore BolbReader(blob_key) to read
image data, then used EXIF.py (http://sourceforge.net/projects/exif-
py/) to get image EXIF data:
blob_reader = blobstore.BlobReader(blob_key)
tags = EXIF.process_file(StringIO.StringIO(str(blob_reader.read(
Thanks,
Yass
I have a similar need, to read SRTM files. Here's how I did it:
try:
da = open( "./SRTM/" + fn + ".hgt", "rb"
).read()
# print "Opened data file: ./SRTM/%s.hgt" % fn
if da:
If you're not modifying the image in any way using the Images API, you
probably just want to read the raw data from the blobstore rather than
instantiating an images.Image from the data. You may be able to get
the data out of images.Image(blob_key=blob_key_reference)._image_data,
but the leading u