Adobe PDF Library 21 is now available! Get your free trial of 21 today
Use Cases & Solutions

PDF/Raster: A Simpler, Smarter Format for Scanned Documents

#PDF File Types #PDF Manipulation #PDF Rendering & Rasterizing
Published January 18, 2022 Updated December 1, 2026

PDF/Raster is a tightly restricted subset of PDF built for storing and exchanging scanned documents. It offers the portability of PDF with the core functionality of TIFF, and it is simple enough to create and read that it can replace TIFF and JPEG for scanner output.

A while back, the PDF Association and TWAIN Working Group published the first public draft of the PDF/Raster specification. In this article, we'll give an introduction to PDF/Raster and its relationship to PDF, and talk about use cases.

PDF/Raster: Purpose

The PDF/Raster format aims to provide the scanning and document industry with a standardized format for creating and exchanging sets of page images. Typically, these images would be created by a device such as a scanner.

Each page of scanned input is represented either by one image, or by a series of image strips that can be put together to form a page image. These images may be compressed, and may be color, gray, or black and white depending on the capture device. A document is a collection of images of scanned input pages.

Because it is still PDF, PDF/Raster benefits from the wide support PDF already has for viewing, printing and processing. And because it is so narrowly restricted, it is far simpler to generate and interpret than a conventional PDF. It supports bitonal, grayscale and RGB images, with compression options of JPEG, lossless CCITT Group 4 fax, or uncompressed data.

How PDF/Raster Improves on TIFF and JPEG

PDF/Raster improves upon the most popular existing formats – TIFF and JPEG – in the following key ways:

  • An open ISO standard. As PDF files, PDF/Raster files follow an open ISO standard. TIFF is based on a vendor standard and a quarter-century of both "generally understood" and proprietary tags (extensions) to the format.
  • Multiple pages and page strips. PDF/Raster files can contain multiple pages and can represent pages as multiple page strips. JPEG files are limited to containing one raster.
  • Mixed image types. PDF/Raster files may mix color, gray, and black and white page images – and mix multiple color spaces for page images – for maximum compression.
  • Built-in encryption. PDF/Raster files support data encryption in the file format itself, for better security of data in transit and at rest.

The PDF format already contains support for all these features. PDF/Raster uses only the syntax from PDF that is required to support its use cases. This syntax is simple enough that a full-fledged PDF parser is not required to create or read PDF/Raster files. The PDF/Raster format is well-suited for creation and consumption by restricted-CPU environments, such as scanners and MFP (multifunction peripheral) output preview stations.

Working with PDFs and images and want options? Check out What to Know When Converting PDF to Images and Cracking the Code: Creating Images in PDFs.

A PDF/Raster File Is a PDF File

PDF/Raster is a substantially restricted subset of PDF syntax. Because it does not rely on any features not already within the PDF specification, all PDF/Raster files are valid PDF files. This means that any PDF reader that can handle PDF files properly can open PDF/Raster files as well.

  • Unencrypted files: any PDF 1.7 (ISO 32000-1) compatible viewer can view these.
  • Encrypted files: these are based on PDF 2.0 (ISO 32000-2), and can be opened and viewed by any viewer that can handle PDF 2.0 files.

Creating PDF/Raster Files

Creating PDF/Raster files requires explicit PDF creator or processor support. There are two reasons for this.

First, PDF/Raster files are denoted by a specific PDF language comment in the file. General PDF processors are not required to write any specific PDF comments or to preserve these at all (other than the beginning of file and end of file comments). A PDF/Raster file is identified by a comment placed just before the startxref keyword, indicating conformance. Therefore, to write a PDF/Raster file, a processor must understand the importance of writing the comment in its specific location.

Second, because PDF/Raster allows only very specific page content sequences and commands, PDF creators need to understand and write very specific syntax to create PDF/Raster files.

PDF/Raster Restrictions

There are many important PDF concepts and constructs that are not permitted in PDF/Raster files. Some of the most important restrictions include:

  • Page contents may only include images in CCITT G4 (FAX), DCT (JPEG), and uncompressed (RAW) formats. These images are restricted to RGB color, grayscale, and black and white (monochrome) format.
  • Page contents may not include anything other than raster images: no text, no line art, no forms, or other graphical elements.
  • No annotations, AcroForms, or XFA are permitted.
  • Transparency and layers are not permitted.
  • No compression of non-image data is permitted. Compressed object streams are disallowed.
  • Only page content streams and document metadata are allowed. Other elements such as interactive actions, bookmarks, search indexes, and marked content are explicitly not permitted.

In other words, PDF/Raster is intentionally a very limited subset of PDF. PDF/Raster focuses on storing and transmitting scanned page data. PDF/Raster is not intended to support updating or annotating scanned page data. But, since PDF/Raster files are always valid PDF files, it's very easy to annotate or update a PDF/Raster file and save it as a general purpose PDF file.

Ready to Get Started?

Get a free trial of Adobe PDF Library and test it with your own documents and projects.

Prefer to discuss your project first? Contact us or schedule a meeting with a software engineer.