eXist-FraGGer / react-native-image-size

Use to get original image size (iOS + Android)
MIT License
32 stars 31 forks source link

URI format #16

Open Crojach opened 2 years ago

Crojach commented 2 years ago

I am trying to load an image in base 64 (data:application/octet-stream;base64,/9j/4AAQSk....) format but I always get the Error: unknown protocol: data. I am getting a blob from the server which I convert to base64 to display in the app. Should I do something special with it to be able to get the size?

wh201906 commented 10 months ago

According to the current implementation of this library, it doesn't support the data schema.