How it works
The file never leaves your browser. HandyTools HQ has no upload step. pdf-lib embeds each JPEG or PNG and adds a page the same size as the image. JPEG stays JPEG. PNG stays PNG, so a transparent logo keeps its transparency only as far as the PDF viewer allows.
The order is the order you selected. HEIC photos from a phone need the HEIC to JPG tool first. This page does not accept HEIC.
Formula
- Page size
page width and height = image pixel width and height - Order
first selected image is page 1
Worked examples
Three scans
Three JPGs become a 3-page PDF, one photo per page, in the order you chose them.
A PNG logo
A PNG is embedded as PNG. A JPEG is embedded as JPEG. A file that is neither is skipped by the encoder with an error, rather than guessed.
| Input | Page | Note |
|---|---|---|
| JPEG | One page | Embedded as JPEG |
| PNG | One page | Embedded as PNG |
| HEIC | Not here | Convert to JPG first |
Common questions
Are the images uploaded?
No. The PDF is built in your browser from the files you picked.
Can I mix JPG and PNG?
Yes. Each file becomes its own page, using the matching embed for that format.
Why is the PDF page a odd size?
The page uses the image’s pixel dimensions as points. A 3000-pixel-wide photo makes a very wide page. Resize the image first if you need a letter-size page.
Does this compress the photos?
No. It wraps them. Use the image compressor before this step if the photos are larger than you need.