current saveAsPngUri function supports only callback style,
which can be inconvenient under certain circumstance.so i promisified it, and wrote test case.
and it is compatible with callback style.
Thanks for catching this. I applied these changes a bit differently and to the latest version of the code. The changes are published to NPM as v1.4.4. Let me know if you run into any problems.
current saveAsPngUri function supports only callback style, which can be inconvenient under certain circumstance.so i promisified it, and wrote test case. and it is compatible with callback style.