Basic Content PDF Test Files
Before testing advanced security or corruptions, your rendering engine must flawlessly process the fundamental graphical elements of a PDF. Unlike HTML, PDF does not have a concept of "paragraphs" or "tables." Instead, it uses absolute coordinates (e.g., 100 700 Td) to explicitly paint text and shapes onto a canvas.
These files isolate core graphical primitives: pure text operators, embedded raster images (RGB and CMYK), and pure vector graphics. Use them to verify that your extraction tools correctly reconstruct semantic meaning from absolute coordinates.
Valid blank
A completely empty PDF. Perfect for testing if your parser throws an exception when 0 text operators are found.
RGB image
A PDF containing an image encoded in standard screen-ready RGB colorspace.
Image only
A document containing zero text, only a single embedded raster image. Essential for triggering OCR pipelines.
Image heavy
A file packed with multiple high-resolution images to stress-test memory buffering during rendering.
Vector graphics
A document containing pure mathematically drawn lines and curves, testing anti-aliasing in rendering engines.
Text only
A baseline document containing only pure text operators, skipping all images and fonts for maximum parsing speed.
Text charts
Contains visual charts and graphs built using vector primitives alongside text labels.
Multi column
A layout with two or more distinct columns of text to test text-extraction algorithms (ensuring they read down the column, not straight across the page).
Magazine layout
A highly complex layout with floating images, sidebars, and wrap-around text.
Text tables
Contains grids of data built entirely using vector lines, meant to torture-test automated table-extraction libraries.
Technical drawing
A document packed with dense CAD-style mathematical vector lines to stress-test vector rasterization engines.
Multi page text
A dense text document spanning multiple pages, useful for testing string buffering limits.
Mixed content
A balanced mix of text, images, and vectors to simulate a standard realistic document.
CMYK image
A PDF containing an image encoded in print-ready CMYK colorspace. Tests color-profile conversion logic in web viewers.
Frequently Asked Questions
Use Cases
- Validating PDF-to-HTML conversion algorithms to ensure absolute coordinates are correctly stitched back into semantic `<p>` and `<table>` tags.
- Testing OCR and layout-analysis models against complex multi-column magazine layouts.
- Ensuring print-spoolers correctly interpret CMYK color spaces versus standard RGB.
- Checking that pure vector graphics render sharply at infinite zoom levels.