- replace `document.createElement('img')` with its equivalent `new Image()` which works both in node and the browser. - added a third-parameter `callback` to the `nodeSave`-function, passing the result of `fs.writeFile()`
Load images via URL in Node
The hermite curve variant guarantees that the curve passes through given control points. This is the method that applications such as Photoshop and GIMP use for tone mapping. Consequently it will be easier to port effects from those environments to CamanJS. The new curve variant may be passed as an optional parameter to the curves effect. It defaults to bezier when one is not provided.
Note that even though the API docs state it uses the new syntax, it is also compatible with the old one. It is likely neatest to drop that in 5.0.
Looks like we don't have to change `curves` filter API after all. Instead it was enough just to remove restriction related to maximum amount of control points.
Note that this breaks API. Also might need to figure out a nice way to round those result x's. Related to #43.
…xel object #94