Sample PDF with images (3 pages)

A three-page PDF in which every page carries a caption, a paragraph of selectable text and one embedded RGB image: widescreen, 4:3 and square.

Download

sample-pdf-with-images.pdf

1.45 MB1,521,229 bytes

Download PDF sample

Direct download. No sign-up and no waiting.

Type
application/pdf
SHA-256
8a78b0afd6b8f11395cda2b3b2f53e05780b1c5203845369cad84eb30115d42e
Direct URL
https://sampletestfiles.com/downloads/samples/sample-pdf-with-images.pdf

Why test with this file

For testing image extraction, page rendering and PDF compression. The images are stored uncompressed, so a compressor has a great deal to remove and its effect is easy to measure.

Pages3
Images3: 640 × 360, 480 × 360, 320 × 320 px
Image encodingUncompressed 8-bit RGB (no filter)
Page sizeA4 (595 × 842 pt)
PDF version1.4
Text selectableYes
EncryptedNo

What to check

After your application has processed sample-pdf-with-images.pdf, confirm that:

First bytes of the file

The first 64 bytes of sample-pdf-with-images.pdf as a hex dump: offset, bytes, then the same bytes as text. The PDF signature is 25 50 44 46 2D.

00000000  25 50 44 46 2d 31 2e 34 0a 25 e2 e3 cf d3 0a 31  |%PDF-1.4.%.....1|
00000010  20 30 20 6f 62 6a 0a 3c 3c 20 2f 54 79 70 65 20  | 0 obj.<< /Type |
00000020  2f 43 61 74 61 6c 6f 67 20 2f 50 61 67 65 73 20  |/Catalog /Pages |
00000030  32 20 30 20 52 20 3e 3e 0a 65 6e 64 6f 62 6a 0a  |2 0 R >>.endobj.|

Preview

Loads the whole 1.45 MB file in your browser.

Technical details

File namesample-pdf-with-images.pdf
FormatPDF (Portable Document Format)
Extension.pdf
MIME typeapplication/pdf
Size1,521,229 bytes (1.45 MB)
KindBinary
Signature25 50 44 46 2D
SHA-2568a78b0afd6b8f11395cda2b3b2f53e05780b1c5203845369cad84eb30115d42e
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryDocuments

Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Download from the command line and verify

Fetch the file with curl, then compare its checksum with the SHA-256 value above.

curl -o sample-pdf-with-images.pdf 'https://sampletestfiles.com/downloads/samples/sample-pdf-with-images.pdf'
sha256sum sample-pdf-with-images.pdf     # Linux
shasum -a 256 sample-pdf-with-images.pdf # macOS

On Windows, run Get-FileHash sample-pdf-with-images.pdf -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.

About PDF

Fixed-layout documents that look the same on every device. The most common format for upload forms that accept documents.

PDF format reference

Where it fits

Related files

All curated sample files