I want to give user a threshold and blackOnWhite option just like node-potrace has them as parameters, using this Javascript port of Potrace https://github.