I am working on a React Native app that takes an image and converts it into ASCII art (in PNG/JPEG format so that I can add color). Which packages would I use and how would I do it? So far I haven't found a way to do it in React Native. I've found a way to do it in React but I don't know how I would translate it into React Native.
EDIT: I have tried to do it with Ionic React but the performance is much worse.
CodePudding user response:
You could use a module that doesn't rely on React at all to generate the ASCII, such as this one: https://github.com/IonicaBizau/image-to-ascii
If that doesn't work, you could create a separate React Web app and use react-native-render-html to render the React Web app within the React Native app.