jankovicsandras / imagetracerjs

Simple raster image tracer and vectorizer written in JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Callback function is not executing in Reactjs project

devikanarmada opened this issue · comments

I have a react js project in which I am trying to use this package. The callback method is not getting executed in that

Hi,

Can you send me more details? Which callback function? Please note that imageToSVG() and imageToTracedata() needs Canvas API, which is not included in Node.js by default. You might need an external Canvas module for Node.js or loading the image file to an ImageData object (see https://github.com/jankovicsandras/imagetracerjs/tree/master/nodecli for example)

I hope this worked. Feel free to reopen the Issue, if you need more help.