Aspose.Page for JavaScript is an on premise JavaScript API that allows you to add XPS manipulation features to your own applications. The API also supports to convert XPS, EPS & PS documents to other formats.
Directory | Description |
---|---|
Examples | A collection of JavaScript examples that help you learn and explore the API features |
Convert PS,EPS,XPS to BMP, TIFF, JPEG, PNG, GIF or PDF
Merge PS, EPS, XPS to PDF or several XPS to single
Crop, resize EPS file
var fImageAsEPS = function (e) {
const file_reader = new FileReader();
file_reader.onload = (event) => {
const json = AsposeSaveImageAsEps(event.target.result, e.target.files[0].name, e.target.files[0].name + "_out.eps");
if (json.errorCode == 0) {
DownloadFile(json.fileNameResult, "image/eps");
}
else
document.getElementById('output').textContent = json.errorText;
}
file_reader.readAsArrayBuffer(e.target.files[0]);
}
Aspose.Page for JavaScript is a completed library. No need others libraries to include.
Are you ready to give Aspose.Page for JavaScript a try? Simply visit our documentation and follow instruction
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License