onyx-intl / OnyxAndroidDemo

158 stars 41 forks source link

Storing Path objects #116

Closed cvetelinandreev closed 5 months ago

cvetelinandreev commented 7 months ago

Hi theam,

This is not your problem. It is mine. But I think you know the best answer for this ...

I want to store my raw drawings to firebase database. I save them as list of TouchPoints. But then there are a lot of drawings on a single page it becomes to heavy to store them. What's the best format to store the touchpoints to disk or cloud?

cvetelinandreev commented 5 months ago

Converting to float array and then base64 works fine for huge amount of points and strokes