Save .jpg to device gallery


#1

Hey Guys,

I want to save.jpg files to the device’s photo Gallery with Ionic 3.

Sadly I couldn’t find a way to save it directly.

Instead of saving the file directly I thought about Encoding it to Base64 String and the use the plugin to save it to the gallery. Sadly I couldn’t encode it to Base64. I already tried some stuff (Canvas, FileReader…) from the Forum but nothing really worked in my case, because functions were unknown or anything else.

do you guys have any suggestions? Thank you very much.

Related : StackOverflow