How to effectivetly store tons of images in local database in flutter/android

52 Views Asked by At

I have to create an application for a Doctor. Where the doctor can find the past records of all the prescriptions which were taken in the form of images (physical paper prescription captured by a mobile camera). I can call the api's to get them from a server when the network is available. But there is no way to save those huge amounts of images in a local storage and access them when there is no network. I'm looking for a solution. Your help will be highly appreciated.

1

There are 1 best solutions below

1
Karen Ghazaryan On

On possible way to do it may be converting your images into base64 string and save it in your db.base64 string will have much lower weight about 30% if I am right.