Python's PIL: Python PIL library implementation of Base64 format is based on the picture format conversion
Introduction of Base64
Base64 is one of the most common network for the transmission of 8Bit encoding bytecode, Base64 is based on 64 printable characters to binary data representation. To see RFC2045 ~ RFC2049, MIME above detailed specification.
Base64 encoded character from binary to process, can be used to deliver a longer identification information HTTP environment. Base64 encoded has not readable, need to read after decoding.
Due to the above advantages Base64 is widely used in computer, but since the output content includes two or more "symbol class" characters (+, /, =), different scenarios are developed and various Base64 "variant" . Base64 is unified and standardized output, Base62x be treated as an unsigned version of the improvements.
1, conversion tables Table 1: The Base64 Alphabet