Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Rotate image and save in React-Native

$
0
0

I am going to rotate the image in react–native and I would to get base64 of rotated image. I used several libraries

  1. react-native-image-rotate: It's working well on Android but on iOS I get rct-image-store://1 as url so I tried to get base64 using rn-fetch-blob but it is throwing error about can't recognize that url.

  2. react-native-image-resizer: I used this but the response is not good in iOS. If I set -90 then rotate -180, if I set -180 then it's rotating as -270.

Please help me on this problem, how can I rotate the image in iOS.

I need to rotate image as -90, -180, -270, -360(original).


Viewing all articles
Browse latest Browse all 16750

Trending Articles