Closed ubraz closed 12 years ago
Rendering is asynchronous, so you have to put save() in a callback like this:
var image = caman.Caman('/opt/node/001.jpg', function() {
this.sunrise();
this.render(function () {
this.save('/opt/node/001_save.png');
});
});
Hi, I'm testing the CamanJS and I have a little issue. Using the nodejs, the pictures are saved, but none effect was applied.
My nodejs code:
My script is wrong or something is not working.
Thanks in advance.