I have resized image successfully using GAE images api now i again want to store the resized image in blob-store how can i do it kindly help. Here is the code
img = images.Image(blob_key=user.profile_pic)
img.resize(width=80, height=100)
img.im_feeling_lucky()
thumbnail = img.execute_transforms(output_encoding=images.JPEG)
if i use this code it displays the resized image but i want to store it again in blob store.
self.response.headers['Content-Type'] = 'image/jpeg'
self.response.out.write(thumbnail)