Closed emirotin closed 11 years ago
Should be fixed now. Sorry I didn't get to this sooner. Also, the decode
method is synchronous in the browser, so the correct usage of the method would look like this:
image_url = "/images/ninja.png"
PNG.load image_url, null, (png) ->
pixels = png.decode()
console.log pixels
Thanks for the report!
Hi
Doing something in this manner (CoffeeScript, can provide compiled version)
Fails here:
in
.copyToImageData
.