Aspose.PDF is a PDF document generation library for Node.js that makes creating complex, multi-page, printable documents easy.
API is designed to be simple, so generating complex documents has been often as simple as a few function calls. As the name suggests, the library is developed based on program code in C++. This allowed us to make it as fast as possible, and compiling it in WebAssembly made it portable to different operating systems.
Aspose.PDF for Node.js via C++ features
How to Manipulate PDF Files on the Backend with Aspose.PDF for Node.js via C++
Aspose.PDF for Node.js via C++ gives the possibility to manipulate PDF files on the backend. Using Aspose.PDF for Node.js via C++ you can optimize PDF, add and extract text and images, encrypt and decrypt it. You can also split and merge PDF.
Using Aspose.PDF for Node.js via C++ you can convert PDF to JPG and PNG.
To install and use Aspose.PDF for Node.js via C++ from a ZIP archive, follow the following instructions:
- Extract the files from the ZIP archive
- Encrypt your *.lic file using ’encrypt_lic.html'
- Edit ‘settings.json’ and setup your settings
Hyperlink & Attachments Features
Toolkit allows adding:
- Hyperlink shortcuts to other pages within a PDF document
- Hyperlinks to pages in other PDF documents
- Hyperlinks to non-PDF files
- Hyperlinks to web locations.
Along with hyperlink creation, you also get the capability to extract hyperlinks from a PDF document.
PDF Security Features
API offers 40-bit or 128-bit encryption. One can also set user and master passwords for more security. Content manipulation in files like copying content, printing, degraded printing, annotation modification, form field completion as well as PDF file assembly can all be restricted by using this library
Convert PDF to JPG and Other Image Formats
Aspose.PDF for Node.js via C++ allows you to render and transform each page of a PDF file into conventional image formats such as BMP, JPG and PNG, with the highest possible fidelity. Other than images, one can easily save PDF to DOC and DOCX formats.
Save PDF pages as JPEG images in Node.js
Load an existing PDF document. Convert PDF pages to images and save each page in JPG format.