Is Qoppa PDF SDK thread safe and is it multi-threaded?

Question: Does Qoppa’s PDF library jPDFImages make use of parallelism, using multiple cores instead of just one? Answer: Content in a PDF page is serial, it consists of a list of drawing commands that have to be executed in order. This is because content elements can overlap and can build on each other, so it […]

Read More

How to Convert PDF Portfolio to Images

Q: We use Qoppa PDF library jPDFProcess to convert PDF documents uploaded by users into TIFF format for one of our applications. We’ve just seen an Adobe PDF Portfolio document (containing 3 separate PDFs) that was attempted to be uploaded to our application, and the resulting TIFF was a single page sheet from Adobe reading: […]

Read More

Leave feedback or review for Qoppa’s products

Qoppa’s team strives to develop the best products possible and to provide excellent support to our customers. Support Question If you have any question or support request, make sure to email us or call +1 404-343-4940 so we can help resolve your issue promptly. Leave Feedback If you are satisfied with our products and services, […]

Read More

Java Sample Code to Recognize (OCR) and Add Text to a PDF Document

Here is a simple small Java program that uses Qoppa’s PDF library jPDFProcess and the Tesseract libraries to recognize text in a PDF and add it as invisible text on each PDF page: // Load a PDF that contains scanned pages needing to be OCRed PDFDocument pdfDoc = new PDFDocument("C:/test/test.pdf", null); // initialize the OCR […]

Read More

Clearing out a job’s working files in PDF Workflow Module

Qoppa PDF Automation Server Workflow Module will keep files that are being processed in a working folder, so that the server can resume file processing after it is stopped and restarted. Sometimes, you might need to clear a file from the working folder for a given job. You can find the instructions below. Working files […]

Read More

IDs and class names in SVG Element Structure

Starting with v2018R1, when converting from PDF to SVG using jPDFWeb, the library will used the following standardized names for IDs and class names in the SVG output for clarity. The new SVG element structure looks like this: <svg id=”qoppa_document” … > # Top level SVG element that holds the document <g id=”qoppa_viewxform” … > […]

Read More

Sample Java Program to Print to a given printer

This is a sample Java program to check Java printer connections on your machine. It will print a page with a yellow image on it to the first print service found. package test;   import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.awt.print.PageFormat; import java.awt.print.Printable; import java.awt.print.PrinterException; import java.awt.print.PrinterJob; import javax.print.PrintService;   public class […]

Read More

Crop pages in a PDF using Java PDF library jPDFProcess

This is a sample Java program showing how to crop a page in Java using Qoppa’s PDF library jPDFProcess. This small snippet shows how to open a PDF, get the first page, set a new crop box and save the cropped PDF to a new file name.   // Open PDF file PDFDocument pdfDoc = new […]

Read More