Python Png To Base64 String
. I know how to open files but Im not sure how to do the encoding. Base64-encoded data takes about 33 more space than the original data.I have a PHP script that can encode a PNG image to a Base64 string. I know how to open files but Im not sure how to do the encoding. This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean such as mail bodies.
I have a PHP script that can encode a PNG image to a Base64 string.
This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean such as mail bodies. Encodes the given string with base64. Base64-encoded data takes about 33 more space than the original data. Im not used to.