Added the ability to specify the position of the crop.

Hello,

First, thank you for your work!

Then, I propose the following changes to the library. What do you think ?

Thanks!