SnappFr / react-native-image-base64

Simple react native library to convert an image to a base64 string 🌄
MIT License
49 stars 28 forks source link

[ISSUE] - After converting an image to base64, it rotates 90 degrees. #24

Open guilhermecampossilva9 opened 3 years ago

guilhermecampossilva9 commented 3 years ago

const base64 = await ImgToBase64.getBase64String(Platform.OS === 'android' ? uri :file://${uri});

After converting an image to base64, it rotates 90 degrees to left. There is no prop in the documentation for leaving the image orientation fixed.

React Native: 0.63.3
React: 16.13.1
Lib: 0.1.4
magina671 commented 2 years ago

any solution?