Open feruzm opened 3 years ago
Hello @feruzm, Actually, this is a completely different library approach then what you are looking for, however, maybe I can add this feature in the future but as I said, not the two same libraries with the react-native-image-size
@feruzm have you ever tried this library: https://github.com/ihor/react-native-scalable-image
I wasn’t comparing the two, was just curious if onLoad or some callback could catch the image size or ratio of image from thumbnail. Right now I am using above mentioned library to catch the size and then giving that size to this component which is working ok, but having one component to do both of that would be optimal because thumbnail is downloaded by this library anyway...
fast image or native image component has onLoad, callback which I think returns width and height values.
I will research this weekend :) Also, PR's are welcome.
Is it possible to detect or define custom image sizes ?
react-native-image-size
We were using this to detect size and then set into native