Aviary for Android - How to make an image crop using editor.launch

How can I force cropping an image using Aviary for Android.

When I take a picture, the aviary editor will be called up, then I need to make the crop crop like a square. here is a sample for the internet. I need to learn how to do this grammatically for Android.

editor.launch({
  'image': ...,
  'url': ...,
  forceCropPreset: ['My Size','2:1']  
});  

thank

+4
source share

Source: https://habr.com/ru/post/1569940/


All Articles