I’m trying to resize and compress the image file (XFile
) picked by image_picker
package
But I don’t where to get the image information (width, height)
I tried image_size_getter
package but I got an unsupported exception
Is there an easy way to get the width and height from XFile
?
2
Answers
you can try this:
Using the below code you are able to get different things of
Image