title: GWT Image Cropping
body: <p>I'm building a website using GWT and would like to add Image Cropping capability so users can upload their profile image and then crop it as they need to. I'm looking for something similar to Jcrop but in GWT. </p>
  
  <p>I found <a href="http://c.gwt-examples.com/home/ui/canvas" rel="nofollow noreferrer">THIS</a> and <a href="http://code.google.com/p/gwt-examples/wiki/gwt_hmtl5" rel="nofollow noreferrer">THIS</a> code samples how to crop an image on the client side but there is no UI part where user can select part of their image that needs to be cropped.</p>
  
  <p>There were also couple of similar questions on SO (<a href="https://stackoverflow.com/questions/986418/gwt-client-side-image-crop-and-resize">for example</a> and <a href="https://stackoverflow.com/questions/7374899/gwt-client-side-cropping">this</a> GWT with Jcrop) but nobody gave an example of the selection part of the image that uses pure GWT.
  If you have an idea how to do it please share and I'm sure other people will leverage from this in the future.</p>
  
  <p>Here is the example of what I'm looking for:
  <img src="https://i.stack.imgur.com/0Y4v1.png" alt="enter image description here"></p>