Open vbylen opened 2 years ago
Hi @vbylen
getImageSize
needs to return the original width and height of the image. You can use any other tool to find them or maybe your image picker returns them. Using random numbers is not indicated.
See the example app for more implementation details.
Hi @cristian0791
Thanks for publishing an awesome library.
How would you get
getImageSize
to work without using thereact-native-image-size
library?I tried just passing a simple object like this:
to the
getImageSize
prop but it's not working for some reason.Would you mind testing this on your end?
Thanks!