In the last two(1)(2) releases of JPedal, we added some exciting new features to our PDF Inspector tool which can help you debug those problematic PDF files! Cross-Reference Stream Viewer Cross-reference streams (AKA XRef streams) were introduced in PDF 1.5 as a way to more compactly store object offsets in the file. While this greatly […] The post Improvements to Our PDF Inspector appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
PDF is one of the most common formats for sharing documents. PDF files are portable and universally supported, but you may be unaware that PDF files can contain hidden content and functionality which may pose security or privacy risks. Malicious actors can use PDF files to deliver malware through embedded JavaScript or file attachments, and […] The post How to Sanitize PDF Files: Removing Hidden Risks appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Sometimes you might want to duplicate pages in a PDF. For example, when filling in multiple copies of a form. Our Java PDF toolkit, JPedal, makes this an easy task. In this post I will show you the three simple steps of duplicating pages using JPedal. 1. Download JPedal You can download a JPedal trial […] The post How to Duplicate Pages in a PDF in Java (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
If you have ever printed slides for a presentation and wanted to save paper when sharing handouts, you might have encountered N-up formatting. N-up is a common pre-print layout technique when working with PDF files and it means arranging multiple pages on a single sheet. For example, 2-up places two pages side by side, while […] The post How to N-Up Pages in PDF Files in Java (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Some PDF files can be “tagged” which means they contain information about the structure of the file. This structure is embedded as metadata within the PDF and is made up of a hierarchy of tags that label elements such as headings, paragraphs, lists, tables, and images. This is very similar to HTML where text is […] The post How to extract text from a PDF as Markdown appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Why do we need to parse PDF files? PDF files are unusual in that they do not contain the actual content you see displayed when you view the file. Instead it is a program which draws the text, lines, shapes and images to create that display. This code needs to be ‘executed’ in order to […] The post JPedal: Java PDF Parser appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Developers that work with PDF in Java often have to rely on SDKs made specifically for the document format. Where free community based libraries may be useful for solo developers and hobbyist, ente…| Java PDF Blog
What is PDF Annotation? Annotating PDF files is an essential skill for collaboration, review, and seamless communication in both professional and educational workflows. PDF annotations allow you to draw over, highlight, label, or otherwise “annotate” the document without modifying the existing content. Why Annotate PDF Files? A common use case would be for gaining feedback […] The post How to add annotations to a PDF file appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Today I will demonstrate a worked example to show how you can create a PDF translator using our PDF toolkit JPedal and Translator. This will convert any PDF Document from one language to another (in this case English to Chinese). You can get a copy of JPedal here. Extracting text First, we will need to […] The post How to translate PDF files in Java (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Everybody loves free stuff. In the field of software, developers use free solutions in countless projects. However, free solutions come with invisible costs as well, such as the time spent on self-…| Java PDF Blog
When building Java applications, localization is a valuable approach to making the app accessible to users across various regions. What is localization Localization is modifying how data is display…| Java PDF Blog
In this article I will show you how you can attach PDF files in Java using our JPedal PDF SDK toolkit, using a few lines of Java code. JPedal offers other PDF manipulation features, to aid Java developers working with the PDF format. Introduction PDF is a powerful format, and one such feature is the […] The post How to attach files to a PDF in Java (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Drawing shapes in Java for PDFs is easy with our PDF toolkit JPedal. It only takes three steps: Download the JPedal trial jar Create your shape using Java’s Shape interface Run the following code snippet For more information on drawing shapes in Java for PDFs, and other manipulations you can perform with JPedal, check out […] The post How to draw shapes in PDF files in Java (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
If you are looking to add images to pdf in java you have a couple of options: Insert an image as an annotations Insert an image into the page content stream This article explores the pros and cons of each method and how to perform them in Java. Image Annotations Using annotations to insert images […] The post How to Add Images to PDF files in Java (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Why convert PDF files to BMP images? A PDF is a vector image (so it is rendered when you display it at whatever size you specify). A BMP is a lossless bit-mapped file of a set size with fixed values. So to convert a PDF to a BMP file we need to create a blank […] The post Java PDF to BMP conversion (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Introduction Developers working with the PDFs know the pain that comes with the handling the format. This is especially true for Java developers specifically the ones who are looking for enterprise level solutions to integrate into their own systems. In this blog we will look the the strengths, best use cases and licensing options of […] The post Aspose Alternative Java PDF Library appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Why convert PDF files to TIFF images? A PDF is a vector image (so it is rendered when you display it at whatever size you specify). A TIFF is a lossless, bit-mapped file format that supports multiple pages and high color depth. So to convert a PDF to a TIFF file we need to create […] The post Java PDF to TIFF conversion (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Why convert PDF files to GIF images? A PDF is a vector image (so it is rendered when you display it at whatever size you specify). A GIF is a lossy bit-mapped file of a set size with fixed values. …| Java PDF Blog
Why convert PDF files to JPEG images? A PDF is a vector image (so it is rendered when you display it at whatever size you specify). A JPEG is a lossy bit-mapped file of a set size with fixed values. So to convert a PDF to a JPEG file we need to create a blank […] The post Java PDF to JPEG conversion (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
Introduction Java cannot automatically generate thumbnails of PDF pages, but luckily there is plenty of software which can do this. This example uses our own JPedal library to create Thumbnails in …| Java PDF Blog
Introduction PDF manipulation is a common requirement for Java developers working on document management systems, automation tools, or business applications. Whether you need to add pages, resize content, insert watermarks, or annotate files, having a reliable and easy-to-use Java PDF SDK is essential. JPedal’s PDF Manipulation Toolset Recently, we added some new PDF manipulation features […] The post How to manipulate PDF documents in Java (Tutorial) appeared first on Java PDF Blog and w...| Java PDF Blog
Introduction Java developers working with PDF documents are always looking to enhance functionality in their document workflows. There is a large selection of Java PDF SDK libraries for them to choose from, one of the key feature is PDF merging. PDF merging is an important requirement for use cases such as streamlining user downloads, consolidating […] The post PDF Merge in Java (Tutorial) appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
We’ve been making progress on improving our PDF merge tool JPedal, and I was curious to run some tests in order to see how well it does against alternatives. The merging tool is capable of merging entire documents, including large files. How We Tested the PDF Merge Output We ran these comparison tests on our […] The post Testing PDF Merging: Performance and Content Integrity appeared first on Java PDF Blog and was written by Jacob Collins.| Java PDF Blog
This blog post shows you how to convert a PDF to YAML, by extracting marked content with structure tags. What is structured PDF? Some PDF files contain structured content, also known as tagged or m…| Java PDF Blog
Some PDF files can be “tagged” which means they contain information about the structure of the file. This structure is embedded as metadata within the PDF and is made up of a hierarchy …| Java PDF Blog