How Image to PDF works
You arrange pages using drag-and-drop or keyboard reorder buttons, choose page format and margins, and adjust JPEG embedding quality.
When you click Generate PDF, pdf-lib creates each PDF page directly in browser memory—one image per page, scaled cleanly inside margins without cropping.
Step-by-step usage
- Upload one or multiple JPG, PNG, or WebP files.
- Reorder pages by dragging cards or clicking the move arrows, and remove unwanted frames.
- Pick Page Size (A4, A3, Letter, or Custom mm), Orientation (Auto, Portrait, Landscape), Margins, and Quality.
- Review the live page layout preview and click Create & Download PDF.
Supported formats and technical notes
Formats
Inputs verified by binary magic-byte headers before decoding:
Input: JPG, JPEG, PNG, WebP
Output: PDF
Implementation notes
- Auto orientation inspects each image’s aspect ratio and matches Portrait or Landscape per page automatically.
- WebP and re-compressed images are normalized cleanly before embedding with pdf-lib.
Privacy handling
All image decoding, pixel transformations, and file packaging execute inside your browser tab via Canvas, OffscreenCanvas, and WebAssembly codecs. Your original files and exported outputs are not transmitted to Squeezo servers. Review full details in our Privacy Policy.
Questions about Image to PDF
Can I mix portrait and landscape images in one PDF?
Yes. Set Page Orientation to Auto so vertical scans stay Portrait and horizontal certificates or slides automatically become Landscape.
Is there any watermark or page limit?
No watermarks are added. Because PDF construction happens locally in memory, batch size is bounded only by your device RAM.