Working on a simple camera based application that needs to generate a base64 encoded data uri version of the image. Ideally avoiding creating and storing a file on disk. r