JoyToolsJoyTools

Image to PDF

100% Client-Side Private — Zero Server Uploads

Convert JPEG, PNG, and WebP images to a single PDF document with customizable page sizes.

🔒 100% Client-Side: All data is processed locally in your browser and never leaves your device (Zero Server Uploads).
E-E-A-T Security Proof →
Image to PDF Converter
100% Client-Side Private — Zero Server Uploads

Combine one or multiple images (JPEG, PNG, WebP) into a single high-resolution PDF document. Reorder slides and customize page margins in your browser.

Drop images here to convert to PDF

JPEG, PNG, WebP supported — select multiple files

Image Queue (0 images)
No images selected yet. Drop JPG, PNG, or WebP files above or load sample slides to test PDF compilation.
Share & Developer Embed

How do I use Image to PDF?

1

Upload JPG, PNG, or WebP images, or click "Load Sample Data" to generate sample pages.

2

Configure page size (`Fit to Image`, `A4`, `US Letter`), orientation (`Portrait`, `Landscape`), and margin width.

3

Drag cards to reorder sequence and click "Generate PDF" to download your compiled document.

What features does Image to PDF offer?

Multi-format batch ingestion: Merge JPEG, PNG, and WebP images into a single cohesive PDF

Adaptive page geometry: Choose standard ISO A4, US Letter, or dynamic 'Fit Image' aspect ratios

Customizable page margins: Zero-margin full bleed (0pt), Standard (20pt), or Wide print borders (40pt)

Intuitive sequence controls: Reorder your image queue before compiling multi-page documents

High-resolution fidelity: Preserves native pixel clarity without forced lossy re-compression

100% private in-browser compilation powered by pdf-lib — zero server uploads

PDF Image XObject Embedding & Page Geometry Specs

Embeds raster images as `/Subtype /Image` XObjects scaled inside an ISO 32000-1 page coordinate frame.

PDF Page Size Presets & Image Embedding Stream Filters
Page Preset / FormatDimensions (Points @ 72 DPI)Physical SizePDF XObject Stream Filter
ISO A4 Portrait595.28 × 841.89 pt210 × 297 mmScales image to fit within margin box
US Letter Portrait612.00 × 792.00 pt8.5 × 11.0 inCenters image with aspect-ratio lock
Fit to Image DimensionsWidth_px × Height_px ptExact 1:1 pixel-to-point mapZero margin / zero whitespace border
JPEG / PNG SourceNative resolution retainedLossless stream injectionJPEG → DCTDecode; PNG → FlateDecode + SMask

Frequently Asked Questions about Image to PDF

Are JPEG images re-compressed (losing quality) when embedded into a PDF?

No. Standard baseline JPEG byte streams are injected directly into the PDF `/XObject` dictionary using the `/DCTDecode` filter without decoding and re-encoding pixels, preserving 100% original quality and file size.

How is PNG alpha transparency handled inside a PDF document?

The PDF specification does not embed raw PNG files directly; instead, the RGB color channels are compressed with `FlateDecode` and the 8-bit alpha channel is extracted into a separate Soft Mask (`/SMask`) stream.

Why does a smartphone photo sometimes appear rotated 90 degrees if EXIF orientation is ignored?

Smartphones often record sensor pixels in landscape and set EXIF tag `0x0112` (`Orientation: 6` for 90° CW). Drawing via browser `createImageBitmap` / `<canvas>` normalizes EXIF orientation before PDF embedding.

When should I choose "Fit to Image" instead of "A4" or "US Letter"?

Choose **Fit to Image** for digital comics, long screenshots, or mixed-aspect slide decks so no white letterbox bars appear. Choose **A4** or **US Letter** when preparing documents for physical office printing.