Pick Image From Gallery & Crop It

Hey Developers!
I was wondering how can I make a button that opens up the gallery for the user to pick an image, I know it may be done using ImagePicker component. But unfortunately the user can pick any image with any dimension and i want the user to pick an image and crop it using a fixed relative dimensions exactly like when you change your profile image in WhatsApp!

Am not sure how can I do that but i will be very happy to read your suggestions
Thanks & Happy Coding!

2 Likes

Image Cropping Extension

3 Likes

Oh thank you very much @Fabio, that’s very helpful!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.