目录

How do I implement conversion between PixelMap and Base64?

PixelMap is an uncompressed bitmap object that contains pixel data and basic image information such as the image size, pixel density, and pixel format.

Base64 encoding is an encoding scheme that converts binary data into ASCII strings for storage and transmission purposes. Generally, PixelMap is not encoded using Base64. Instead, PixelMap is encoded into Uint8Array, and then the binary data of the file is encoded using Base64.

Reference

Image Encoding

Image Decoding

Base64Helper