Wednesday, September 22, 2010

Crop a photo stored locally

I'm building a costume database program for a local high school. I
want the kids to be able to take a picture of a costume, load the
memory stick on a PC and upload the pic via a FileUpload widget, then
present them with a photo cropping gui to cut down the picture. From
there the post-cropped pic goes back to the server and into a
database.

There's lots of stuff on this forum saying I can't read the JPG
directly from the client browser, so I think that means I have to use
the form widget with an HTML servlet (right?). Once its on the
server, I need to get the pic back to the client (how do i do that)?
Then present it with a cropping mechanism.

There are some really slick looking croppers on the web, but haven't
found anything on how to pull them into GWT:
Yahoo ImageCropper: http://developer.yahoo.com/yui/examples/imagecropper/simple_crop.html
Kroppr: http://kroppr.rborn.info/
Jcrop: http://deepliquid.com/content/Jcrop.html

How can I get these overlaid on my picture, then get the results after
the user has accepted their crop operation so the numbers can be sent
back to the server to actually crop the pic?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment