on a  browser with canvas support:<p>Uncaught exception: DOMException: NOT_SUPPORTED_ERR
Error thrown at line 58, column 6 in formatter(pixelData, width, height) in <a href="http:&#x2F;&#x2F;grafijs.org&#x2F;grafi.js" rel="nofollow">http:&#x2F;&#x2F;grafijs.org&#x2F;grafi.js</a>:
    return new window.ImageData(pixelData, width, height)
called from line 471, column 4 in invert(imgData) in <a href="http:&#x2F;&#x2F;grafijs.org&#x2F;grafi.js" rel="nofollow">http:&#x2F;&#x2F;grafijs.org&#x2F;grafi.js</a>:
    return formatter(newPixeldata, imgData.width, imgData.height)
called from line 147, column 4 in &lt;anonymous function: $img.onload&gt;() in <a href="http:&#x2F;&#x2F;grafijs.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;grafijs.org&#x2F;</a>:
    imageCtx.putImageData(grafi.invert(original), 0, 0)