TabGarden

Guides

Scan Documents to PDF with Phone Photos: A Practical Workflow

From phone photos to a clean multi-page PDF: light, angle, cropping, page order, A4 vs image size, and measured file sizes for a 5-page example.

You need to send a signed form, a set of receipts or a few pages of a contract, and there is no scanner nearby. A phone camera and a browser are enough. The difference between a PDF that is easy to read and one that is a 20 MB pile of tilted, shadowy photos comes down to a few choices made before and after you press the shutter.

This guide walks through those choices in order and shows, with a measured 5-page example, how much each one changes the size of the final PDF.

Step 1: Light and position

Most of what makes a phone scan look bad happens when the photo is taken, and it cannot be fully fixed later.

Dim light has a second cost beyond looks: cameras compensate by amplifying the signal, which adds grain (noise), and grain makes JPG files larger. Our measurements below show how much.

Step 2: Crop and straighten

A raw photo contains the table, your fingers and a tilted page. Before building the PDF, crop each photo to the page edges and straighten it. Your phone's photo editor can usually crop and rotate; dedicated scanner apps can also correct the trapezoid shape automatically.

TabGarden's Images to PDF tool does not crop or straighten. It places each image on a page as it is. So the crop has to happen first, in your phone's editor or another app.

Cropping matters for size too. In our example, cropping alone cut the PDF by 32% in good light and 47% in dim light, because the cut-away table area was full of detail and noise.

Step 3: Bring the size down to what a page needs

A modern phone photo has far more pixels than a document page needs. Our test photos were 3024 × 4032 pixels (12 megapixels). An A4 page rendered at 150 dpi is 1240 pixels wide, and at 200 dpi 1654 pixels wide (see PDF page size and DPI for the formula). Text at those sizes is easy to read on screen and prints cleanly at normal size.

Use Resize Image to set the width, for example 1654 px for documents with small print or 1240 px for ordinary letters and receipts. If the files are still too large, Compress Image lowers the JPG quality; its default is 75.

Step 4: Put the pages in order

Images to PDF puts the images in the PDF in the order of its list, top to bottom. When you select several photos at once, the order they arrive in depends on your browser and system, so always check the list and use Up and Down to fix it before clicking Start. Naming the photos 01, 02, 03 before you start makes mistakes easier to spot.

If you photographed pages with the phone held sideways, the tool reads the orientation tag of each JPG and turns the pixels upright, so pages come out the right way in every PDF viewer. The details are in why phone photos turn sideways.

Step 5: Choose the page size: A4 or "Same as image"

The tool offers two page sizes.

For documents that someone may print, or that will be filed with other A4 documents, choose A4. In our test the choice made no meaningful difference to file size: the A4 PDF was at most about 200 bytes larger than the "Same as image" PDF, because the image data is identical and only the page description differs.

Measured: what each step does to file size

Method

The script and the CSV are in the site's research/scan-documents-to-pdf-with-phone-photos/ folder.

Good light, 5 pages

Dim light, 5 pages

What the numbers show

A quick recipe

  1. Photograph each page flat, in even light, phone held level above it.
  2. Crop and straighten each photo in your phone's editor or a scanner app.
  3. Resize to 1654 px wide (small print) or 1240 px wide (ordinary text) with Resize Image.
  4. If the total is still too large, compress at quality 75 with Compress Image. For how quality and size trade off, see image quality vs file size.
  5. Open Images to PDF, add the files, check the order, choose A4, and click Start.
  6. Open the PDF and page through it once before sending.

After the PDF is made

Common questions

Why is my PDF so big when it is only a few pages?

Each page is a full photo. A 12-megapixel JPG can be several megabytes, and the PDF holds it unchanged. Cropping and resizing before building the PDF is the most effective fix, as the numbers above show.

Will resizing make the text unreadable?

At 1240 px across an A4 page, the body text of our synthetic pages (about 10.5 pt on the A4 page) stayed readable when we viewed it at 100%. If your document has very small print, footnotes or signatures that must stay sharp, use 1654 px or keep the crop at full size.

Should I use PNG instead of JPG for scans?

For colour or greyscale photos of paper, JPG was much smaller in our tests. PNG only won when the page was reduced to pure black and white.