Capturing an image from an HTML5 Canvas or Video Element

Originally published at: Capturing an image from an HTML5 Canvas or Video Element - Server Side Up

Ever want to save your HTML5 canvas element as an image? You totally can! I’ve done this a few times to solve a variety of different issues. With this trick you can capture a screenshot from a video, save a rendered graphic, pretty much anything within the canvas element. Step 1: Make a Reference To…