You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using some compression before storing the images in the database. Since we are using base64 encoding for the image, the length increases by approximately 30-35% but using some kind of compression, like gzip can reduce the inflation to 2-10%. This can be a minor improvement in fetching the data from the Firebase database.
Description
Using some compression before storing the images in the database. Since we are using base64 encoding for the image, the length increases by approximately 30-35% but using some kind of compression, like
gzip
can reduce the inflation to2-10%
. This can be a minor improvement in fetching the data from the Firebase database.Here I have written a short script to check the compression percentage.
https://gist.github.com/arnabsen1729/833df5001e14206d0340925bdd731708
The text was updated successfully, but these errors were encountered: