Browse our Products

Aspose.Page for Node.js via C++ Release Notes

See example for saving image to EPS file:

const AsposePage = require('asposepagenodejs');

const img_file = "./data/jbig2-8-1-I0.bmp";

console.log("Aspose.Page for Node.js via C++ examples.");

AsposePage().then(AsposePageModule => {

    let json = AsposePageModule.AsposePageAbout();
    console.log("AsposePageAbout => %O",  json.errorCode == 0 ? JSON.parse(JSON.stringify(json).replace('"errorCode":0,"errorText":"",','')) : "error:" + json.errorText);

    json = AsposePageModule.AsposeSaveImageAsEps(img_file, img_file + ".eps");
    console.log("AsposeSaveImageAsEps => %O",  json.errorCode == 0 ? "Files(pages) count: " + json.filesCount.toString() + json.filesNameResult.toString() : json.errorText);
},
    reason => {console.log(`The unknown error has occurred: ${reason}`);}
);

Major Features

Fixed using license files with different product names.

For more details see Aspose.Page for Node.js Documentation.