Photos to PDF and PDF to JPG or PNG: Choosing Paper Size, Margins and Resolution (dpi)
How to bundle iPhone HEIC photos or scanned images into a single PDF, and how to turn PDF pages back into JPG or PNG files. Explains the difference between original size, A4 and Letter, when 5 mm or 10 mm margins help, which of 72, 150 and 300 dpi to pick, and why JPG quality is preserved, all based on the app's code.
- Published
- Updated
Two conversions come up constantly: a handful of photos that must be submitted as one PDF, and a single PDF page that has to be dropped into a chat or an email as a picture. The Images to PDF and PDF to Images tools in Mandumon PDF handle both inside the browser. This guide explains what each option actually changes in the output, and what goes wrong when you pick the wrong resolution or paper size, based on how the app really behaves.
Images to PDF: what goes in and how pages are laid out
Images to PDF (/images-to-pdf/) accepts JPG, PNG, WebP, AVIF and HEIC/HEIF. PDF files are rejected by this tool; if you want to mix PDFs in, use Merge instead. You can pick files, drag them in or paste from the clipboard. Each photo shows a thumbnail, its original file size and its orientation-corrected width and height in pixels.
- Add photos and set the order by dragging or with the forward/back buttons. Remove single photos or clear everything.
- Choose a page size: Original (default), A4 or Letter.
- Choose a margin: None (default), Narrow (5 mm) or Normal (10 mm).
- Press Create PDF, check the page count and resulting file size, then press Download. The file is named after the first photo with _images appended, for example IMG_0001_images.pdf.

Original size vs A4 vs Letter
Original size maps one image pixel to one PDF point (1/72 inch). A 4000×3000 photo becomes a 4000×3000 pt page, roughly 141×106 cm. That sounds enormous, but PDF viewers fit the page to the window, so it reads fine, and if you do not mind every page having a different size this is the most faithful choice. Choosing a margin grows the page by the margin on each side.
A4 (595.28×841.89 pt) and Letter (612×792 pt) fix the paper size. The photo keeps its aspect ratio and is centred at the largest size that fits inside the margins. Portrait or landscape is decided automatically per photo, and square photos use portrait. Pick one of these when you will print, or when a form asks for A4 specifically.
When to add a margin
- None: for viewing on screen, or for scans that already contain their own white border.
- Narrow (5 mm ≈ 14.17 pt): for home printers, most of which cannot print the outer few millimetres.
- Normal (10 mm ≈ 28.35 pt): for paperwork that needs a generous border, or anything that will be hole-punched or bound.
Why JPG quality is preserved
JPG files are embedded with their original compressed bytes, with no re-encoding. The EXIF orientation (eight possible rotations and flips) is applied purely through the PDF's coordinate transform. PNG pixels are recompressed losslessly (the pixel values are unchanged) and its eXIf orientation chunk is honoured. Either way, the picture quality is identical to the source. Because the PDF adds its own structure, the total file size can differ slightly from the sum of the photos.
WebP, AVIF and HEIC/HEIF cannot be stored directly in a PDF, so they are decoded and placed as orientation-corrected PNG. If the browser cannot open HEIC (Chrome on Windows, for example), a decoder bundled with the app reads it instead. The conversion is lossless, but the PNG is usually larger than the original HEIC.
PDF to Images: deciding on resolution and format
PDF to Images (/pdf-to-images/) takes one PDF and renders each page as a picture. It shows a preview of the first page and checks the page count, encryption and damage up front. The defaults are JPG, 150 dpi and all pages (1-).
- Add the PDF. If it has an open password, enter it.
- Pick the image format. JPG is saved at quality 0.92 on a white background; PNG is lossless.
- Pick a resolution: 72, 150 or 300 dpi.
- To convert only some pages, type a range. The syntax is the same as in Split (for example 1-3, 5, 8-) and keeps your order and any duplicates.
- Press Convert, check the size, and download. A single page is saved as ‘original_page_3.jpg’; several pages go into ‘original_images.zip’ named like ‘original_page_3_1.jpg’, with the page number followed by a sequence number.

What 72, 150 and 300 dpi really mean
dpi decides how many pixels represent one inch of the PDF page. For a portrait A4 page (8.27×11.69 in), 72 dpi gives about 595×842 px, 150 dpi about 1240×1754 px and 300 dpi about 2480×3508 px. Pixel count grows with the square of the dpi, so 300 dpi needs roughly four times the memory and time of 150 dpi.
- 72 dpi: thumbnails and list previews. Small text becomes hard to read.
- 150 dpi: on-screen viewing and chat or email attachments. Enough for most purposes.
- 300 dpi: printing, or feeding the result back into OCR. If 20 or more pages are selected at 300 dpi the app recommends 150 dpi and offers a one-click switch, but never lowers the setting on its own.
If a page is unusually large or the dpi is high enough that one side would exceed 16,384 px or the whole image would exceed 32 Mi (about 33.5 million) pixels, the app refuses before allocating memory and asks you to lower the resolution. An A0 drawing (about 33×47 in) at 300 dpi would be roughly 9900×14000 px, around 139 million pixels, so it has to be rendered at 72 or 150 dpi.
JPG or PNG?
- JPG: pages dominated by photos or scans. Small files that paste anywhere; transparent areas become white.
- PNG: pages of text, lines and charts that must stay crisp. Larger files, but no compression artefacts.
- Rotated pages and PDFs with a UserUnit are rendered in the orientation and size you see in a viewer.
Using the two tools together
- Submitting paperwork: make a PDF from four photos at A4 with Normal margins, then combine it with your existing PDF forms in Merge.
- Sending one PDF page in a messenger: in PDF to Images, type just that page number as the range and download a JPG at 150 dpi.
- Editing a PDF page as a picture: export PNG at 300 dpi, edit it in an image editor, then rebuild a PDF with Images to PDF. This turns vector text into pixels, so the result is no longer text-searchable.
Common mistakes and fixes
- Photos come out sideways: the photo probably lacks EXIF orientation data. The app follows EXIF when present. Rotate and save the photo in the Image app first.
- A PDF was rejected: Images to PDF only takes images. Use Merge to combine PDFs.
- The conversion was refused with a message about lowering resolution: the page exceeded the 16,384 px or 32 Mi pixel limit. Switch to 150 or 72 dpi.
- File names in the ZIP have two numbers: in ‘_page_3_1’ the first is the page number and the second is the output sequence, so that listing a page twice does not overwrite anything.
- The result disappeared when I changed an option: changing the file, format, dpi or range releases the previous result. Settle the options, then convert.
FAQ
Are my photos uploaded anywhere?
No. Image decoding, PDF creation, page rendering and ZIP packing all run in workers inside your browser. The PDF app also does not keep the files in browser storage, which is why you have to add them again after a refresh.
How many photos can I add at once?
There is no count limit; a memory warning appears when the total reaches 500 MB. Dozens of high-resolution photos are fine on a desktop but may fail on a phone, so build smaller PDFs and combine them with Merge if needed.
Can I turn the text in exported images back into text?
Images carry no text layer. If you need the text, use the ‘Extract text (OCR)’ button in the PDF app to hand the PDF itself to the OCR app; pages that already have a text layer are extracted without OCR at all.
