node-lwip
Version:
Comprehensive, fast, and simple image processing and manipulation
17 lines (12 loc) • 394 B
JavaScript
(function(undefined) {
var lwip_image = require('bindings')('lwip_image');
function Image(pixelsBuf, width, height, trans, metadata) {
this.__lwip = new lwip_image.LwipImage(pixelsBuf, width, height);
this.__locked = false;
this.__trans = trans;
this.__metadata = metadata;
}
// EXPORTS
// -------
module.exports = Image;
})(void 0);