Allow a base64 encoded string representation of an image to be saved without a canvas