react-native-image-size
react-native-image-size copied to clipboard
Alternate to big image files
For Android Only.
The library works great for small image sizes.
Considering image sizes varying from 4MB+, the conversion of image to bitmap and then fetching resolution takes a lot of time and causes bad UX in the application.
@divyaswormakai Hey man, would be great if you share the results of your work, how did you solve your issue and maybe you have an implementation...
@eXist-FraGGer In my case, I edited my backend code. When uploading the image to the server, I calculated the dimensions then and there and saved it after I could find a good enough solution to the problem.
Sorry if this was not the answer you were hoping for.