I do this in my app. I've written a blog entry with examples here: http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html <http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html>
On Thu, Oct 28, 2010 at 10:05 PM, Mike <[email protected]> wrote: > I know about the new super-fast image serving API for images stored in > the blobstore - it's awesome and greatly simplifies image resizing.. > > However I still want to resize the original image to a smaller size > before handling it with the image serving API.. So if a user uploads a > 5MB Image I want to resize it say to 1000x1000 and then serve using > the Image Service. > > My question is how to resize an image from blobstore and put it back > to blobstore after the resize? The resize API returns the modified > image as a byte array, but can somebody provide an example of how to > put that byte array back into the blobstore? I know we are supposed to > POST it to blobstore, but i couldn't get this thing to work - while > handling the POST for original upload, I transform the Image and > supposed to Invoke yet another POST? An working example would be > great! > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
