How to configure Capacitor camera from Quasar File Picker
-
I’m using the Quasar File Picker component and I’d like to give the user the possibility to crop the uploaded picture. I can see that there is an option in the Capacitor Camera plugin allowEditing for that purpose. Is there a way to set this configuration through the Quasar File Picker?
Also is there a way to provide crop size to Camer Plugin? For example, I’d like to have a squared picture.
-
@DavidGo said in How to configure Capacitor camera from Quasar File Picker:
Capacitor Camera
you could display the picture to the user after upload and use vue-croppie to crop it:
https://github.com/jofftiquez/vue-croppie
DEMO:
https://foliotek.github.io/Croppie/other vue crop libraries:
https://github.com/Agontuk/vue-cropperjs
https://github.com/Norserium/vue-advanced-cropper/ -
Yeah, that’s the option. Although I hoped to have some tool integrated into Capacitor and Quasar, so it would behave more natively. Thank you for the effort, @dobbel