A script to encode image files as base64 text.