flutter_image_cropper
flutter_image_cropper copied to clipboard
[web] Cropped images are being resized to the viewport size
I'm cropping large images however the output images are the size of the croppie viewport (around 400px). My source images are approximately 3000x2000 and if I crop the largest square possible I would expect the output image to be 2000x2000 however it's only 400x400.
Any advice would be appreciated. Thanks
There is a work around in croppie for this: https://github.com/Foliotek/Croppie/issues/757
I'm looking in to how this would be acomplished with this plugin
I've added this but I'm still not getting cropped images at the correct size: https://github.com/hnvn/flutter_image_cropper/compare/master...jimmyff:flutter_image_cropper:master
I'm also finding lots more issues with the web implementation such as not honouring the aspectRatio. Can anyone confirm if they are having success with web cropping or do I need to migrate to another package?
@jimmyff I am having the same issue with my cropping needs as I needs users to crop their photos to 1024x1024 however the viewport widget is also 1024x1024 and that is way too large. I'm not sure if there is a way to scale the viewport to a more reasonable size while still being able to crop at a larger size.
I did get aspect ratio to work with this inside of my ImageCropper().cropImage aspectRatio: const CropAspectRatio(ratioX: 1.0, ratioY: 1.0)