I want the user to upload his profile picture but I want to force him to crop it before .

How can I do that ?

[![like this](https://i.stack.imgur.com/Omtkg.jpg)](https://i.stack.imgur.com/Omtkg.jpg)

I try to do it from scratch but it will take a lot of time i guess , Is there any library can do the job for me ?