Photo Cropper API: How is it achieved?

Posted 12 CommentsPosted in Web Development
Photo Cropper was something which was introduced or I must say became popular after various social networking sites started applying it. This allows users to choose a section from a photo which he wants to upload and show to the world around. I initially tried to investigate how Orkut do this for their users. Further I took a look at API's provided by YUI for the same purpose. After investigating a few other sources of photo  cropper I finally decided to build a photo cropper with an approach used by orkut. I will further explain the algorithm used in more...