7
I am studying what is the best way to store some images of users that are registered in my system.
I found 3 ways to solve this problem: Save to local directory, Save as BLOB and Save as Base64.
I would like to know the pros and cons of these options and which one would stand out from the others. And also if there’s any other way to save those images.
On the face, I can say that Base64 occupies 25% more space than the other 2 options and for storage it doesn’t make sense. For transmission, then it may be necessary depending on the medium used. (the details I leave to those who will post full reply).
– Bacco
In fact, the correct thing is for me to say that Base64 occupies 33% more than the original information. 25% is just the overhead contained in the coded information.
– Bacco