How to resize image height and width from image picker and save it as a file.
I tried decodeImage
and copyResize
then encodePng
but I have issue it blocks ui thread, is there another way?
[UPDATED]
There are some solutions like:
ResizeImage
instantiateImageCodec
But how I use it and get the image as a file after resizing?