Need to learn about set image size

I add Camera option in app. I want to do : After Capture image using CAMERA, I Want that user only allows upload image with size 500px X 200px.

Please Suggest me how to do it.

:clap:
Maybe , help You

https://puravidaapps.com/image.php

Or This

Add image component from kodular

After Picture is clicked, set image component height and width and use this extension to scale your image to your desired size