What do you get when converting JPG to PDF?
You get a standard PDF where each JPG occupies one page in the exact order shown in your queue. Under the hood, pdf-lib embeds the raw JPEG byte stream directly inside the PDF instead of decoding pixels and re-saving them, so sharpness, color detail, and pixel dimensions remain identical to your original photo.
Because there is no re-compression, the resulting PDF weighs roughly the sum of your input JPG file sizes plus a tiny bit of PDF page-structure overhead. It wraps your photos in a universal document container that opens cleanly on phones, desktops, and office printers.
Whether you convert 1 photo or 30, the browser triggers an automatic download as soon as packaging completes—no extra download click required.
- Merge mode downloads a single multi-page file named docsmall-image-to-pdf.pdf.
- Separate mode downloads docsmall-image-to-pdf.zip containing numbered single-page PDFs (such as 1-receipt.pdf, 2-contract.pdf, deduplicated if filenames repeat).
- Direct JPEG byte embedding: zero re-encoding, zero resolution change, and zero extra compression artifacts.