biokys / cropimage

Replacement for deprecated official Android crop image function
555 stars 292 forks source link

How to draw predefined grids on the image to be cropped? #42

Open arniesaha opened 10 years ago

arniesaha commented 10 years ago

Hello!

Great library! I've had much ease in integrating and tweaking the library to my requirements. But, I have been trying to implement this in a wallpaper app, where I need multiple options for the user to set the wallpaper as, scrollable, fixed etc.

How can I draw predefined grid on the image to be cropped? Something like this: http://awesomescreenshot.com/0722wkzhfa

Any assistance in this regard is much appreciated!

Thanks, Arnab

arniesaha commented 10 years ago

Hi Everyone,

Does anyone have any idea of how can I predefine the crop area using this library? For eg. http://awesomescreenshot.com/05c3hjoof9

for eg. I want the user to be able to select a "No Scroll" option for cropping the image before they set as a wallpaper. In that case, the crop area should be like in the screenshot where the user can position the area of the picture. But, not resize the crop box.

Any assistance or direction towards which section of the library I should be focusing on to achieve this, will be much appreciated.

Thanks, Arnab