Convert image to base64 and check size?

You can calculate it by using simple math. One character of base64 represents 6 bits, and therefore four characters represent three bytes. So you get 3/4 bytes per character.

Which gives.

You're losing - the base64 string will use more bytes to store than would your original image. Possibly a lot more, if this is all in-memory: strings in . Net are unicode, so they use twice as many bytes as an ASCII-encoded string would.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions