PHP command line script to encode an image to a base64 script suitable for JavaScript to use.