When creating an app, there will be instances where you have to crop images at the center. For example, you need to store equally-sized avatar images for users but you don’t want to force users to crop their images, instead, allow them to use images in any dimension and process them at the server to create equal sized images. Another great example would be to allow the user to crop region in the simplest method possible.
In this article, we’ll show you the code, how it can be achieved and what you can do with it.
You can also view an example application for this tutorial.
Read the rest of the post here:Â http://www.codeproject.com/Tips/683699/Cropping-an-Image-from-Center-i