Image to PDF

Convert images to a single PDF document.

What Image to PDF helps you do

Combine images into a single PDF document, one per page, in the order they were added. Each page takes the pixel dimensions of its image, so there is no A4 fit or margin step. JPEG and PNG are embedded directly, and the PDF is generated in the browser with pdf-lib.

PDF creation runs in your browser. Your images are not uploaded to Haivix.

How it works

These tools decode the image in your browser, draw it onto a canvas, apply the change, and encode a new file. Nothing is uploaded, so the result depends on the browser's own decoders and encoders rather than a server library. Re-encoding always creates a new file: metadata such as EXIF, GPS and color profiles is generally dropped, and JPEG or WebP output loses a little quality on every save. Canvas work is capped at roughly 36 megapixels, so very large images may be refused rather than processed slowly. Browsers normally apply EXIF orientation when decoding, so a phone photo usually appears upright before any rotation is applied.

How to use Image to PDF

  1. Add the images in the order you want them to appear.
  2. Check the file count and the order before creating the PDF.
  3. Generate the PDF and download it.
  4. Reopen the file and confirm the page order and sizes.

When to use it

  • Turn phone photos of documents into one PDF.
  • Assemble scanned pages into a single file.
  • Submit a set of images as a single document.
  • Combine receipts or tickets into one attachment.
  • Package a set of designs for review.
  • Send a photo story as one file instead of many.

When not to use it

  • Do not use it when every page must be A4 or Letter; pages follow image dimensions.
  • Do not expect OCR; the PDF contains images, not selectable text.
  • Do not rely on it for WebP input; the PDF library may reject that format.

Example

Three photos added in order become a three-page PDF with one image per page. A 4000 by 3000 photo creates a page of 4000 by 3000 PDF units, roughly 55 by 42 inches, because there is no scaling to a paper size. Small phone images create small pages.

What you can do with Image to PDF

  • Add several images to one PDF.
  • Place one image per page.
  • Keep the images in the order added.
  • Size each page to its image.
  • Download the combined PDF.
  • Run the assembly locally in the browser.

Example: pick the format for the job, then check the result

Keep the original. Every tool downloads a new file, and repeated conversion between lossy formats compounds artifacts.

Choose the format by purpose: PNG for sharp edges, text and transparency; JPEG for photographs; WebP when file size matters on the web.

Check transparency before converting to JPEG. Alpha is flattened onto a background color, and the choice is permanent in the output.

Look at the output at 100 percent. Smoothing, sharpening and watermark placement are easier to judge at full size than in a small preview.

For a batch, check the ZIP contents and file count. A single failed image is reported separately and does not stop the rest.

Note the output dimensions and file size. A larger pixel count does not always mean a better result, and a large PNG can be slower to load than a smaller JPEG.

What to know before you start

  • Images are placed on pages and are not OCRed, so the PDF text is not searchable.
  • Large or high-resolution images can produce a big PDF.
  • Page size follows the image dimensions; there is no A4, Letter or margin option.
  • The order is the order added, with no reorder or remove control.

Common mistakes

  • Expecting A4 pages and getting pages the size of the photos.
  • Assuming the images are resized to fit a margin.
  • Uploading a WebP and getting a conversion error.
  • Adding images in the wrong order; the list is append-only.

Troubleshooting

If the PDF is rejected by a printer, the pages may be an unusual size; resize the images first.

If a WebP fails, convert it to JPG or PNG and try again.

If the file is huge, the images are embedded at full resolution.

If a page is rotated, the source image's orientation was baked in.

Related standards and documentation

  • PNG is specified by the W3C and supports lossless compression and alpha.
  • JPEG is standardized as ISO/IEC 10918 and is lossy.
  • WebP is a Google format with both lossy and lossless modes.
  • sRGB (IEC 61966-2-1) is the usual color space for web images.
  • EXIF (CIPA DC-008) stores camera settings and can include GPS coordinates.
  • ICC profiles describe a device's color gamut, and most canvas exports do not preserve them.
Local, lossy, final
  • Keep the source file.
  • Match the format to the use.
  • Check alpha and size.
  • Inspect the export.