Callback function is not executing in Reactjs project
devikanarmada opened this issue · comments
devikanarmada commented
I have a react js project in which I am trying to use this package. The callback method is not getting executed in that
András Jankovics commented
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)
András Jankovics commented
I hope this worked. Feel free to reopen the Issue, if you need more help.