PaintbrushJS is a lightweight browser-based image processing library
You use it by applying a class to an element on the page and setting a few parameters with some extra HTML attributes. If the element is an
imgor it has a
background-imageset in your CSS, PaintbrushJS will create a temporary
canvaselement and manipulate the image there, before finally saving it back out to the original element.