Manipulate PDF pages
Add, Copy, Delete, Resize pages in an existing PDF Document
How to Manipulate PDF Pages in Java
final PdfManipulator pdf = new PdfManipulator();
pdf.loadDocument(new File("inputFile.pdf"));
pdf.addPage(1, PaperSize.A4_LANDSCAPE);
pdf.apply();
pdf.writeDocument(new File("outputFile.pdf"));
final PdfManipulator pdf = new PdfManipulator();
pdf.loadDocument(new File("inputFile.pdf"));
pdf.removePage(1);
pdf.apply();
pdf.writeDocument(new File("outputFile.pdf"));
final PdfManipulator pdf = new PdfManipulator();
pdf.loadDocument(new File("inputFile.pdf"));
pdf.scalePage(1, 0.5f, 0.5f);
pdf.apply();
pdf.writeDocument(new File("outputFile.pdf"));
JPedal is a complete Java toolbox for working with PDF Documents
Java Viewer
- 100% Java PDF and Image Viewer
- Single and multipage views
- Search and navigation
- Customisable UI and L & F
- Simple to Localize
- Programmable API
- 3 lines of code to add
Rasterize
- PDF to BufferedImage
- PDF to AVIF (Soon)
- PDF to JPEG/JPEG2000
- PDF to HEIC
- PDF to PNG
- PDF to TIFF
- PDF to WEBP
Print PDF
- Client and server printing
- Full JPS support
- Define multiple paper sizes
- Page scaling / rotation
- All Acrobat output options
- Page ranges
- Fast draft print mode
Process Documents
- Digital signing
- Extract embedded files
- Manipulate
- Merge
- Optimise
- Remove unused objects
- Split
Extract Content
- Images
- Marked / Structured content
- Metadata
- Outlines
- Raw text
- Text search
Interaction
- Annotations
- AcroForms
- XFA Forms
- Add/delete/edit/read values
- Access raw form data
- Read raw XFA data
PDF Inspector
- COS tree
- Object dictionaries
- Decoded / raw stream data
- Outlines
- Raw text
- Single step debugging
JPedal has the advantage of running in the same Java virtual machine, so we save a lot of CPU resources.
- T. Büngener (Software Architect InSign)
JPedal is absolutely easy to use and it provided the best results of all libraries we tested over the years. We need to create renditions of PDF files so that people can view them conveniently in the browser.
- Roman K. (Developer at German Digital Big Data Platform)
Support for JPedal is done extremely well and for continuously using the software, what the customer needs is good support for the issues we face. And it is superb in that respect.
- Developer (Large Multinational Corporation)