Hello, I want to know how can i crop an existent image in gcs and save it?
until now, i have achieved to crop the image by using img = images.Image(filename=obj_fileinfo.gs_object_name) img.crop(0.0, 0.0, (200.0 / 300.0), (150.0 / 300.0)) img.im_feeling_lucky() thumbnail = img.execute_transforms(output_encoding=images.JPEG) and serve the image self.response.headers['Content-Type'] = 'image/jpeg' self.response.out.write(thumbnail) but, I need to create an url to serve the image already cropped. I suppose that i need to save the cropped image in GCS and create it a serving url, but i don't know how can i do this. Can someone help me, please? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/fee507bc-2a52-4e94-8de6-4c4ef1958180%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
