


You can use an option preset name (string) or an options object to control the tracing and rendering process. "Browser only" means that Node.js doesn't have built-in canvas and DOM support as of 2018, so loading an image to an ImageData object needs an external library. There are more functions for advanced users, read the source if you are interested. Imagedata is standard ImageData here, canvas is canvas. Nothing, loading an image from a URL, then executing callback(canvas) Nothing, an SVG will be appended to the container DOM element with id=parentid. Svgstring /*string*/, parentid /*string*/ Helper Functions (Browser only) Function name Nothing, callback(tracedata) will be executed Imagedata /*object*/, options /*optional object or preset name*/ Nothing, callback(svgstring) will be executed Image_url /*string*/, callback /*function*/, options /*optional object or preset name*/ options.layering : default 0 = sequential, new method 1 = parallel, old method.RGBA ImageData check in colorquantization(), solving Issue #24 and #18.FIXED: Handle (absolute) paths in CLI correctly Issue #42.FIXED: hole shape parent search (Issues #31 #39).Imagetracerjs/nodecli/panda.svg was saved!
