Conversion between images and base64 code.