flutter_image_cropper icon indicating copy to clipboard operation
flutter_image_cropper copied to clipboard

Impossible to change hardcoded minimum size for crop area

Open pleasehelpalex opened this issue 1 year ago • 2 comments

It is currently impossible to crop smaller areas. I need to be able to crop small areas but it is impossible to do so as there is a minimum size beyond which it is impossible to drag the corners. IMG-20230605-WA0007

pleasehelpalex avatar Jun 05 '23 20:06 pleasehelpalex

This is on android. I am not sure if the same thing happens on iOS.

CroppedFile? cropped = (await ImageCropper().cropImage( sourcePath: image.path, //aspectRatio: CropAspectRatio(ratioX: 1, ratioY: 1), compressQuality: 100, maxWidth: 700, maxHeight: 700, compressFormat: ImageCompressFormat.jpg, uiSettings: [ AndroidUiSettings( toolbarTitle: 'Crop me!!', toolbarColor: Colors.deepOrange, toolbarWidgetColor: Colors.white, //initAspectRatio: CropAspectRatioPreset.original, hideBottomControls: true, lockAspectRatio: false, initAspectRatio: CropAspectRatioPreset.ratio16x9, ), IOSUiSettings( title: 'Drag corners to select \n ONLY the exercise you want to solve', rectHeight: 10000, rectWidth: 30000, rectX: 1, rectY: 30000) ] ));

pleasehelpalex avatar Jun 05 '23 21:06 pleasehelpalex

Any ideas?

lucasvps avatar Jun 16 '23 13:06 lucasvps