I have a web application which allows users to take a picture with a webcam, which is then displayed as an HTML canvas. The canvas is then successfully converted to an image