Wednesday, October 6, 2010

Re: Orkut-like profile photo cropping

You can wrap jcrop with gwt.

http://deepliquid.com/content/Jcrop.html

On Oct 6, 9:15 pm, LittleWaver <alfaomeg...@gmail.com> wrote:
> Hello everyone,
> I'm new to this group, so please excuse me, if this isn't the right
> place to post my question to.
>
> Situation:
> I'm trying to implement a component, that will enable cropping of
> photo that user wants to set as his profile photo.
>
> e.g. User has a nice photo from some "team building" event, but of
> course the photo contains also other people, has wrong orientation and
> he isn't skilled with any image processing tool (gimp, photoshop,
> whatever). What he needs is to select only some area from the photo,
> where his face is to see.
>
> I checked various products like facebook, linkedin, myspace, orkut,
> gmail, etc. to see what is their approach and the winner for me is the
> way Orkut and Gmail do it.
>
> My idea:
>  1. Upload picture to server
>  2. provide URL of data representing the stored picture back to client
>  3. manipulate with the picture on the client - select the right size
> and position of the cropping area
>  4. send the coordinates back to server
>  5. create profile photo from the original photo based on the
> coordinates from step 4. via ImageMagic library
>
> Problem:
> Can't find any way to solve STEP 3 from the My idea section.
> I went through many forums but couldn't find any recommendation how to
> solve such thing in GWT. There are some projects like gwt-canvas or
> gwt-g2d, but I'm not sure if these are the right ones for my task.
> They seem to me more drawing-oriented.
>
> Question:
> Could someone give me an advice what parts of GWT could be used to
> create and manipulate with the picture cropping area similar to what
> Orkut or Gmail use - STEP 3 from the section My idea?
>
> With regards,
> LittleWaver

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate