To : elem, defaults to document.getElementById("pixelitcanvas")įrom : elem, defaults to document.getElementById("pixelitimg") You can pass some options when creating the instance (you can alter them later using the api methods). Then load the pixelit.js script and apply it on an image. To use the quick default configuration you need an element from where to draw the image and canvas element with the id pixelitcanvas.
0 Comments
Leave a Reply. |