How to merge PDF and image files into one document

Merging PDFs with photos breaks when images come in sideways, enormous, or in a format nothing accepts. The image side of the merge — rotation, HEIC, page fit, and quality.

7 min read

How to merge PDF and image files into one document

By ScoutMyTool Editorial Team · Last updated: 2026-05-21

Combining a PDF form with a few photos sounds trivial, and then you do it and the photos are sideways, one weighs eight megabytes, an iPhone image refuses to import at all, and the pages lurch between letter-size and whatever shape each photo is. Merging the files is the easy part; making the images behave is the real work, and it is almost entirely about the quirks of how photos are stored. This guide is the image side of the merge: why your pictures come in rotated, what to do about formats like HEIC, how to keep the file from ballooning, and how to fit mismatched photos onto consistent pages — so the combined PDF actually looks like a finished document instead of a glitchy scrapbook.

Image problems in a merge — and the fix

ProblemCauseFix
Photo comes in sidewaysEXIF orientation flag ignoredApply the rotation before adding it as a page
Image won’t importHEIC or other unsupported formatConvert to JPG/PNG first
Image page is hugeFull-resolution phone photo as a pageCompress images to a sensible resolution
Pages jump sizePhotos and PDF pages have different sizesFit images to a consistent page size
Portrait photo on a landscape page (or vice versa)Orientation mismatchSet page orientation to match the image
Blurry image in the PDFLow-res source or over-compressionUse a higher-res original; compress gently

Step by step — merge PDFs and images cleanly

  1. Normalise image formats first. Convert HEIC or other unusual formats to JPG or PNG so every image will import without errors.
  2. Fix orientation. Apply (bake in) the rotation on any phone photos so they are genuinely upright, rather than relying on an EXIF tag the merge may ignore.
  3. Compress the images. Reduce full-resolution photos toward screen resolution so each image page is not megabytes of unseen detail.
  4. Choose a target page size and fit images to it. Pick one page size (A4 or Letter), centre each image with a margin, and match page orientation to portrait/landscape images.
  5. Arrange the order. Put the PDFs and images into the intended reading sequence (or name them with sortable prefixes), and preview before combining.
  6. Merge, then check and compress if needed. Combine everything, scroll the result to confirm orientation/order/size, and run a final compression pass if the file is still too large.

The principle: prep the images, then merge

Almost every problem with a PDF-plus-images merge comes from treating the images as if they were already page-ready when they are not. A phone photo carries an orientation tag instead of being truly upright, sits in a format that may not import, holds far more resolution than a page needs, and has its own dimensions unrelated to your PDF. Fix those four things first — convert the format, bake in the rotation, compress, and fit to a chosen page size — and the merge itself becomes the trivial step it should be. Skip the prep and you fight the result afterwards, or ship a document with sideways, oversized, mismatched pages. Prep the images, set the order, then merge: do it in that sequence and a bundle of PDFs and photos comes out as one clean, consistent, sensibly-sized document.

Related reading

FAQ

Why do my photos come into the merged PDF sideways?
Because of the gap between how a photo is stored and how it is meant to be displayed. Phone cameras almost always save the image in a fixed orientation and add an EXIF "orientation" tag that says "rotate this 90 degrees when showing it." Good photo viewers read that tag and rotate automatically, so the picture looks upright to you — but when a tool places the image into a PDF page, if it ignores the orientation tag it uses the raw stored pixels and the photo lands sideways. The fix is to actually apply the rotation (bake it into the image) before or during the merge, rather than relying on the tag. If your merged PDF has sideways photos, this orientation-tag handling is almost always the cause, and rotating the source images first resolves it.
My images are HEIC and won’t import — what do I do?
Convert them to a widely-supported format like JPG or PNG first, then merge. HEIC (the High Efficiency Image format Apple devices use by default) is efficient but not universally accepted by PDF and merge tools, so an "unsupported format" error on iPhone photos is common. You have two easy routes: change your phone’s camera setting to capture in JPEG instead of HEIC going forward, or convert the existing HEIC files to JPG/PNG before merging. Once the images are in a common format, they drop into the combined PDF without complaint. The same approach applies to any unusual image format — normalise to JPG or PNG first, and the merge step stops being where things break.
How do I stop the image pages from being enormous?
Compress the images, because a modern phone photo placed straight into a PDF as a full-resolution page is huge and mostly wasted detail. A single 12-megapixel photo can be several megabytes, so a merged PDF of a dozen photos balloons to something slow to open and impossible to email. Since the merged document will usually be viewed on screen, the images can be reduced toward screen resolution with no visible loss, dramatically shrinking the file. Compress the photos before or during the merge — and if the result still needs to fit a size limit, run a compression pass on the finished PDF. The goal is a combined document that opens fast; full camera resolution inside a PDF that will be read on a laptop is detail no one sees.
How do I keep the page sizes consistent when mixing photos and PDF pages?
Decide on a target page size and fit everything to it, rather than letting each photo become a page of its own dimensions. Left alone, a merge gives every image a page sized to that image, so the combined document lurches between your PDF’s letter/A4 pages and assorted photo sizes as you scroll. The cleaner result comes from fitting each image onto a consistent page (say, all US Letter or all A4), centring it with a margin, and matching the page orientation to whether the image is portrait or landscape. This is the same mixed-size problem that affects merging PDFs of different sizes, applied to images — and the fix is the same: choose one target size and bring everything to it for a uniform, finished document.
In what order will my files be combined, and how do I control it?
Most tools combine in the order you arrange the files (or by filename), and you should set that order deliberately because it is fixed once merged. When mixing PDFs and images — say a form PDF followed by photo evidence, or a cover page then scanned receipts — drag the items into the intended sequence in the tool, or name them with a sortable numeric prefix so they fall into order automatically. Preview the arrangement before combining. Getting order right matters as much for a PDF-plus-images bundle as for any merge, because the reader experiences the combined document as one sequence; a receipt photo landing before its cover note, or pages out of order, undermines an otherwise clean result.
Is it safe to merge personal photos and PDFs online?
Use a tool that runs on your own device, because the things people combine — ID photos, receipts, medical images, signed forms — are often personal. Many online merge tools upload every file to a third-party server, which for a bundle of personal images and documents is a lot of sensitive data leaving your control at once. Client-side (in-browser) tools merge, rotate, convert, and compress locally so nothing leaves your computer — ScoutMyTool’s PDF tools work this way. For anything containing personal images or documents, confirm the tool is client-side before uploading, or use offline software. A combined personal bundle is exactly the case where the tool’s privacy matters most.

Citations

  1. Wikipedia — PDF (the combined-document container)
  2. Wikipedia — Exif (the orientation tag behind sideways photos)
  3. Wikipedia — High Efficiency Image File Format (HEIC and its compatibility)
  4. Wikipedia — JPEG (a widely-supported image format to convert to)

Combine PDFs and photos — in your browser

Merge your PDFs and images into one clean document with ScoutMyTool — client-side, so personal photos and forms never leave your computer.

Open Merge-PDF tool →