Images to PDF
Combine JPG or PNG images into a single PDF document.
Combine JPG or PNG images into a single PDF document.
The gap between a phone-camera scan that looks professional in a PDF and one that looks amateurish comes down to three factors: perspective correction, resolution, and page size alignment. This tool handles the PDF assembly; understanding the first two makes the input images better before they arrive here.
Perspective: a phone held slightly off-center introduces keystone distortion — the top of the document appears narrower than the bottom. Most modern document scanner apps (Microsoft Lens, Apple Notes, Google Drive) detect document edges and apply automatic perspective correction. Use one of these apps to photograph documents rather than the plain camera app, which does no correction. Import the corrected images here.
Resolution: for a document page you intend to print or zoom into, aim for images where the long edge of the document spans at least 2480 pixels (equivalent to 300 DPI at A4 size). Images smaller than this will look blurry when the PDF is printed. Phone cameras at their full resolution are typically adequate — the mistake is applying heavy JPEG compression before conversion.
JPG and PNG compress differently, and the choice matters for file size:
This tool embeds JPGs as-is (no re-encoding) and embeds PNGs losslessly. If your source images are already optimally compressed, the output PDF will be as small as possible.
Blurriness comes from low-resolution source images. Reshoot using a document scanner app (which applies perspective correction and sharpening) at the phone's full camera resolution. Aim for at least 2480 pixels on the long edge for A4 at 300 DPI quality.
PNG images embed without compression in some pdf-lib configurations, making the PDF larger than the source PNGs. Try converting PNGs to JPG (at quality 85–90) before uploading for significantly smaller output without visible quality loss on photographic content.
Yes. Each page's orientation follows the image's aspect ratio when "Auto" page size is selected. If you use a fixed page size (A4/Letter), portrait and landscape images are both scaled to fit within that fixed page, which may add white bars on two sides.
Switch the page size setting to "Auto (fit to image)." This sets each PDF page to exactly the image's dimensions with no margins. Fixed page sizes (A4/Letter) add margins when the image's aspect ratio does not match the page ratio.