CreativeSDK / android-getting-started-samples

Getting started guides and sample code for the Adobe Creative SDK for Android
63 stars 33 forks source link

Crop image with a fixed crop ratio #58

Open sibiklpm opened 6 years ago

sibiklpm commented 6 years ago

I am trying to crop image with a fixed width and height.

Is there any option for that?

I tried with this code, but I don't now what value implement on this:

AdobeImageIntent.ForceCrop forceCrop=new AdobeImageIntent.ForceCrop.Builder() .addCropRatio() .build();

In that addCropRatio() method what are the values I need to submit. In options it's showing 2 string paramaters. But I am not finding any document for it.