Converting JPG Images to PDF With the Right Page Size
Turning photos into a PDF is one of the most common phone-and-laptop chores: a receipt, a signed page, a whiteboard, a set of certificates. It usually works on the first try, but the result can surprise you. Pages come out huge, or sideways, or in the wrong order, or the file is far bigger than you expected.
Almost every one of those surprises traces back to one idea: how a PDF page gets its size. Understanding it makes the rest easy.
How PDFLeo decides the page size
PDF measures pages in points, where one point is 1/72 of an inch. A standard A4 page is about 595 by 842 points, and US Letter is 612 by 792 points.
PDFLeo's JPG to PDF tool creates one page per image and sets the page size to the image's pixel dimensions, using one pixel as one point. The image is drawn to fill that page edge to edge, with no margins and no white border. Two consequences follow:
- The page is not A4 or Letter unless the image happens to be that shape and size. A photo from a 12-megapixel phone is around 4000 by 3000 pixels, which becomes a page of 4000 by 3000 points, or roughly 55 by 42 inches. On screen it looks fine because the viewer scales it to fit your window. Print it "at actual size" and it will be cut off.
- The shape of each page follows its image. A landscape photo makes a landscape page, a portrait photo a portrait page, and a square logo a square page. A document mixing all three will have mixed page shapes.
This is neither right nor wrong. It is simply how the tool works, and it is perfectly fine for sharing on screen. It matters when you need a document that prints neatly on A4.
Preparing images for a tidy A4 result
If the final PDF will be printed or submitted to a system that expects standard paper sizes, prepare the images first so that they already match the shape you want.
Match the aspect ratio
A4 has a ratio of about 1 to 1.414. Crop your photos to that ratio in your phone's gallery or any image editor before converting. Then every page will have the same shape as an A4 sheet, and printing with "fit to page" will fill the paper without distortion.
Reduce the pixel size
Resize images to something sensible. For a page that will be read on screen or printed on a normal office printer, an image around 1600 to 2500 pixels on its long edge is usually plenty for text documents. Smaller pixels also mean a smaller PDF.
Crop out the background
Photographed documents often include a table edge or your thumb. Crop tightly first, because the PDF tool will not do it for you. If you already have the PDF, Crop PDF Pages can trim afterwards.
Straighten and brighten
Photos of paper look better with contrast boosted slightly and the perspective corrected. Most phones have a "document scan" mode that does this. Our Scan to PDF tool is another route if you are working from a camera.
Step by step: converting images
- Rename the images so that they sort in reading order, for example
page-01.jpg,page-02.jpg. - Open JPG to PDF.
- Select your images. The tool accepts JPG, JPEG and PNG files.
- Run the conversion and download the PDF.
- Open the result and flip through every page.
Pages are created in the order the images are processed, so selecting them in the intended sequence matters. If you pick them in the wrong order, run the conversion again, or fix the result afterwards with Organize PDF.
Problems you may run into
Photos appear sideways
Phones often record a picture in one fixed orientation and add a small note, called EXIF orientation, that tells apps how to rotate it for display. PDF creation tools frequently ignore that note, so a photo that looked upright in your gallery can land sideways in the PDF. The fix is to rotate and save the image before converting, or to rotate the finished file with Rotate PDF. Note that Rotate applies one angle to all pages of the file, so it works best when every page has the same problem.
A file was left out
Only JPG and PNG images are used. Other formats you might have, such as HEIC from some iPhones, WebP or screenshots saved as other types, are skipped. If none of the selected files is a supported type, the tool reports an error. After converting, compare the page count with the number of images you selected. If it is lower, convert the missing images to JPG first.
The PDF is far larger than expected
Each image is embedded at its original resolution. Ten full-size phone photos can easily make a very large PDF. Resize before converting, or compress after. Our article on choosing a compression level explains the trade-offs, and note that compressing a photo-based PDF can noticeably soften small text.
Transparent PNGs look odd
If a PNG has a transparent background, it is shown over the PDF's white page. Logos with white text on transparency can disappear. Add a solid background in an image editor first if that matters.
Text in the PDF cannot be selected
An image-based PDF is just pictures. To make it searchable you need OCR, which tries to recognise the letters. PDFLeo has an OCR PDF tool, and its accuracy depends on scan clarity, so proofread the output.
Good habits for photographed documents
- Shoot from directly above, with even light and no shadows from your hand or phone.
- Fill the frame with the page, so that no pixels are wasted on the desk.
- Use the same orientation for every page of one document.
- Take a second photo of any page with small print so you can check legibility before you delete anything.
- Keep the original images until the PDF has been accepted.
Combining the new PDF with other documents
If your image PDF needs to sit inside a larger packet, with a typed cover letter or other PDF documents, create it first and then merge everything in the correct order. Mixed page sizes will be preserved as they are, so a huge photo page next to an A4 page is expected. If that looks odd, go back and size your images before converting.
Frequently asked questions
Can I choose A4 or Letter in the tool?
No. The page takes its size from each image. To get a standard paper shape, crop and resize the images beforehand as described above.
Are my images uploaded?
The conversion runs in your browser, so the images are not sent to a PDFLeo server.
Does the order of selection matter?
Yes. Pages follow the order of the files as the tool receives them, so number your files and select them in sequence. Always check the finished document.
Can I turn a PDF back into images?
Yes, with PDF to JPG. The images are re-rendered from the pages, so they will not be the original photos.
This article is general educational guidance, not legal or professional advice. Tool behaviour can change, so always check the downloaded result.