Skip to main content

Image to PDF: Complete Guide

Turn photos and scans into one PDF document in your browser. Page sizes, margins, orientation, quality and ordering — all explained.

CompressMyPic Editorial Team · Published Nov 17, 2026 · 11 min read

Image to PDF: Complete Guide

A PDF is the most reliable way to share a set of images as a single document. It opens the same on every device, prints predictably, and never rearranges your pages.

Turning images into a PDF used to mean installing software or uploading files to a website. Now you can do it in your browser, with the images never leaving your device.

This guide explains the whole process. You will learn about page sizes, orientation, margins, quality, and the small decisions that make a PDF look professional.

What Is Image to PDF Conversion?

Image to PDF conversion takes one or more image files and builds a PDF document from them. Each image becomes a page, and the pages stay in the order you choose.

The result is a single file that anyone can open. Phones, computers, and printers all read PDFs, and the layout stays exactly as you set it.

People use it for scanned documents, ID photos, receipts, homework, portfolios, and photo albums. Whenever several images belong together, a PDF is the tidy way to send them.

The CompressMyPic tool builds the PDF locally in your browser. Your scans and ID photos are never uploaded to a server, which matters for sensitive documents.

Why Choose PDF Over Sending Images?

A folder of twenty images is awkward to send and easy to lose track of. One PDF keeps everything together, in order, under a single filename.

PDFs also protect your layout. An image pasted into a chat app may get compressed or reordered, while a PDF preserves your exact page order and sizing.

Print is another reason. A PDF prints one image per page at a predictable size, while printing loose images often produces surprises.

Finally, many official systems only accept PDF uploads. Visa forms, university portals, and tax websites expect documents, not photo files, and this tool bridges that gap.

Page Sizes: A4, Letter, and Fit to Image

A4 is the standard page size in most of the world. It measures 210 by 297 millimetres, and it is the default choice for documents, forms, and printed submissions.

US Letter is slightly wider and shorter than A4. It is the standard in the United States and Canada, so use it when the recipient is American or the form says Letter.

Fit to Image Size creates a page that matches each image exactly. No white space, no cropping, just the image filling the whole page edge to edge.

Choose A4 or Letter when the PDF will be printed or submitted to an official system. Choose Fit to Image when the PDF is a photo collection or a scan archive.

Orientation and Auto Orientation

Orientation decides whether a page is portrait or landscape. A tall photo belongs on a portrait page, and a wide photo belongs on a landscape page.

Auto Orientation reads each image and picks the matching orientation for it. A mixed batch of portrait and landscape photos gets the right layout on every page automatically.

When you pick Fit to Image Size, the orientation control is disabled. That makes sense, since the page size follows the image, so there is no separate orientation to choose.

For scanned documents, portrait is almost always correct. For screenshots and wide photos, let Auto Orientation decide rather than forcing one layout for everything.

Contain vs Cover Placement

Contain fits the whole image inside the page, even if that leaves white space at the edges. Nothing is cropped, so no part of your document is ever cut off.

Cover fills the entire page, cropping the overflow. The page looks full and edge-to-edge, but the edges of the image may be trimmed.

For documents, IDs, and receipts, always use Contain. A cropped signature or a missing corner of an ID can get a submission rejected.

For photo albums and presentations, Cover looks better. The full-bleed layout feels deliberate, and a little cropping rarely hurts a photograph.

Margins: None, Small, and Medium

No Margin places the image right up to the page edge. It suits Fit to Image Size and full-page photos, where white space would look like a mistake.

Small Margin adds a thin white border around the image. It looks tidy on screen and keeps the image clear of the page edge when printed.

Medium Margin adds a wider border, which suits formal documents and anything that will be printed and filed. The extra space keeps the image safe from printer edges.

Printers cannot print to the very edge of the paper, so a marginless PDF may lose a sliver of the image on paper. Use at least a small margin for anything you plan to print.

The PDF Image Quality Slider

The quality slider controls how much the images are compressed inside the PDF. Higher quality keeps more detail and makes a larger PDF, while lower quality shrinks the file.

For scanned documents and ID photos, keep the quality high. Text and fine print blur quickly at low quality, and a blurry ID is a rejected ID.

For photo collections meant for screen viewing, medium quality is fine. The images still look clean on a phone or laptop, and the PDF stays small enough to email.

Watch the final file size after generating. If the PDF is too large to attach to an email, lower the quality one step and generate again.

Reordering Pages Before You Generate

Page order is the document order, so get it right before you generate. The tool shows a Page Order list where you can drag pages into the correct sequence.

You can add more photos after inspecting the list. New images join the end of the queue, and you can drag them into place like the rest.

Check the order twice for official submissions. A visa application with the pages out of order looks careless, even if every page is perfect on its own.

Remove any duplicate or upside-down pages while you are there. It is far easier to fix the order now than to rebuild the PDF later.

HEIC Photos Straight to PDF

iPhone photos can go directly into the PDF builder without a separate conversion step. The tool decodes HEIC files in the browser and places them on pages like any JPG.

This saves a whole step for iPhone users. Instead of converting HEIC to JPG and then building the PDF, you drop the HEIC files in and generate once.

The decoded images keep their full resolution and orientation. A portrait photo stays portrait, and a wide photo stays wide, thanks to the automatic orientation handling.

If a HEIC file fails to load, convert it to JPG first with the HEIC to JPG converter and then add the JPG to the PDF. That two-step path works for every file.

Transparency Inside a PDF

Transparent PNG or WebP images get a white background inside the PDF. The PDF format does not carry transparency the same way an image file does, so the tool fills the see-through areas.

For most documents, white is exactly right. A transparent logo on white looks clean and prints well on any printer.

If your image has a transparent background and you need it on a coloured page, convert it to JPG first with a matching matte colour. The PNG to JPG converter lets you pick the fill colour.

Scanned documents never have transparency, so this only matters for logos, stickers, and graphics. For ordinary photos, you can ignore it completely.

Filenames and Downloading the PDF

You can customise the output filename before saving. A clear name such as passport-application.pdf is easier to find later than a generic download name.

Generation shows a progress message, Encoding page X of Y, so you can watch a long document build. A twenty-page PDF takes a few seconds, not minutes.

If the browser download dialog disappears, check your Downloads folder. The file is saved there automatically, even if you closed the dialog by accident.

Open the finished PDF once before sending it. Check the page count, the order, and the readability of the smallest text, then share it with confidence.

Privacy: Safe for IDs and Receipts

The PDF is generated entirely in your browser, so passports, IDs, and tax receipts are never uploaded anywhere. That makes this tool safe for the most sensitive documents you own.

Generating a PDF does not add any watermark, footer logo, or page stamp. The document contains only your images, exactly as you arranged them.

One privacy note: generating a PDF does not strip EXIF metadata from the images inside it. If your photos carry GPS tags, consider stripping them first with the metadata tools.

After downloading, the PDF lives only on your device. Closing the tab leaves no copy behind on any server, because no server was ever involved.

PDFs for School and University

Students build PDFs constantly, from homework scans to thesis submissions. A single PDF keeps every page in order, which matters when an examiner reads dozens of submissions.

For assignments, use A4 page size with Contain placement and a small margin. That combination looks professional on screen and prints cleanly for marking.

For scanned handwritten work, keep the quality slider high. Handwriting blurs quickly at low quality, and an examiner who cannot read the answer cannot mark it.

Name the file with your name and the assignment, such as ahmed-essay-3.pdf. A clear name helps the teacher file it correctly and avoids confusion with other students.

Check the file size before submitting. University portals often cap uploads at 5MB or 10MB, and a long PDF of high-quality scans may exceed the limit.

PDFs for Work and Business

Invoices, contracts, and receipts all travel as PDFs in business. A single document is easier to file, forward, and archive than a folder of loose images.

For invoices, use A4 with Contain placement and a medium margin. The formal layout looks professional, and the margin keeps the content safe from printer edges.

For receipts, Fit to Image Size can work well, since receipts vary in shape. Each page matches its receipt exactly, with no wasted white space.

Keep a copy of every PDF you send. A sent folder organised by client and month makes it easy to find a document again when a question comes up later.

For sensitive business documents, remember that the PDF is generated locally. Your contracts and financial records never leave your device during conversion.

Scanning Tips for Clean PDFs

A clean scan makes a clean PDF, and no setting can rescue a bad scan. Place the page flat on the scanner, align the edges, and check that nothing is folded or shadowed.

Scan at 200 DPI or higher for documents with text. Lower resolutions blur small print, and the PDF cannot sharpen what the scanner did not capture.

Use colour scanning for documents with stamps, signatures, or coloured highlights. Grayscale scanning is smaller, but it loses the colour information that proves authenticity.

Clean the scanner glass before an important job. A speck of dust becomes a dark spot on every page, and it looks unprofessional on an official document.

Preview each scan before adding it to the PDF. A sideways or upside-down page is easy to fix at the scanning stage and annoying to fix afterwards.

Sharing and Storing Finished PDFs

A finished PDF is easy to share by email, chat, or cloud storage. The single file travels as one attachment, instead of a folder that may arrive incomplete.

Check the file size before emailing. Most email services cap attachments at 20MB to 25MB, and a long PDF of high-quality scans may exceed that limit.

For large PDFs, use a cloud link instead of an attachment. Upload the file to your drive, share the link, and the recipient downloads it without any size problem.

Store finished PDFs in folders organised by purpose and date. A folder named 2026-11-visa-documents is easy to find years later, while a folder named stuff is not.

Keep the source images after generating the PDF. If the recipient asks for a different page size or a smaller file, you can rebuild from the originals without rescanning anything.

PDFs for Travel Documents

Travel documents belong in a single PDF on your phone. A passport copy, a visa, a hotel booking, and a flight ticket in one file are easy to find at a border or a check-in desk.

Use A4 page size with Contain placement, so every document fits fully on its page. A cropped passport number or a missing visa stamp is the most common problem with travel PDFs.

Keep the quality slider high for travel documents. A blurry passport copy may be rejected at a border, while a sharp one passes without a second look.

Store the PDF on your phone and in cloud storage. A phone can be lost or stolen, and a cloud copy means the documents are still available from any device.

Keep the original images as well. If an official asks for a different format, the originals let you rebuild the PDF without rescanning anything.

Ready to build your document? Open the Image to PDF tool, drop in your images, and generate. For the step-by-step walkthrough, read How to Convert an Image to PDF, and for the JPG versus PNG decision, see JPG to PDF vs PNG to PDF: Best Settings for Documents. If your images need resizing first, the Image Converter can prepare them.

Frequently asked questions

How many images can I put in one PDF?

There is no fixed page limit in the tool, and batches of dozens of images work fine. Very large documents take longer to generate and produce bigger files, so keep the count reasonable for emailing. For a photo album of fifty images, consider splitting it into two PDFs.

Will my PDF look the same on every device?

Yes. That is the main strength of PDF. The page size, order, and layout you set are preserved on phones, computers, and printers. The recipient sees exactly what you see, regardless of which app they open it with.

Can I merge an existing PDF with images into one document?

Not with this tool, which builds PDFs from images only. If you already have a PDF, use a dedicated PDF merge tool to combine it with your new image PDF. Generate the image PDF first, then merge the two files.

Why is my generated PDF file so large?

The PDF size depends on the number of images and the quality slider. High-quality scans of many pages add up quickly. Lower the quality slider one step, or reduce the image count, and generate again. Photos compress far better than scans at medium quality.

Can I convert images to PDF without an internet connection?

Once the page has loaded in your browser, the PDF generation runs locally and does not need the internet. You need a connection only to open the page the first time. After that, you can build PDFs offline until you close the tab.

What is the best page size for a scanned document PDF?

A4 is the best default for scanned documents in most countries, since printers and official systems expect it. Use US Letter only when the recipient is in the United States or Canada. Fit to Image Size suits photos, not documents, because it changes the page size per image.

Related guides

Convert

How to Convert BMP to JPG

Convert BMP bitmaps to JPG in a few steps. Upload, set quality, preview the savings, and download — one file or a whole folder of scans.

Nov 17, 2026 · 11 min readRead the guide →

Share this guide

← Back to the blog