What this page does that JPG to PDF does not
Both tools share the same PDF engine, and JPG to PDF also accepts PNG files. This page is built around what PNG files have and photos do not: transparency, exact pixels and a saved print resolution. Here you decide what happens to transparent areas, the page size can follow the DPI stored in each file, you can drag pages into order or sort them by file name, and every file shows its pixel size, DPI and transparency before you convert. Damaged files and files that are not really PNG are named and refused. For phone photos and HEIC files, JPG to PDF is the better choice because it turns sideways photos upright.
Lossless: what happens to your pixels
PNG and PDF use the same Deflate compression and the same row filters, so the compressed image data of a PNG without transparency can go into the PDF unchanged, with a note telling the PDF reader how to undo the PNG filters. Nothing is decoded or squeezed again, which is why even an 8000 × 8000 px PNG converts in about a second. In our tests the image extracted back from the PDF with Poppler matched the source pixel for pixel, at 8 and 16 bits per channel. A PDF keeps transparency as a separate mask, so transparent PNGs are split into colour and mask row by row and compressed again without loss. Two honest limits: transparent 16-bit PNGs are stored at 8 bits per channel, and an embedded colour profile is not carried over.
Transparency: keep it, make it white or pick a colour
"Keep transparent" stores the PNG's transparency as a soft mask. On screen most PDF readers show it on white paper, but if you place the PDF in a design program or over a coloured background, the see-through areas stay see-through. "White" blends every transparent and semi-transparent pixel with white, so the PDF has no transparency at all; choose it if a printer or another program shows black boxes or rough edges around a logo. "Colour" does the same with any colour you pick, for example a dark slide background, so anti-aliased edges blend smoothly into it.
Page size and the DPI saved in a PNG
A4 (210 × 297 mm) is the default, US Letter is there for North America, and "Same size as image" makes each page exactly as large as its picture. Many PNGs record a resolution in DPI. With that option on, a 2480 × 3508 px scan saved at 300 DPI comes out exactly A4 size, and a screenshot from a high-density screen saved at 144 DPI appears at the size it had on screen. Files without a DPI are placed at 1 pixel per point, 1/72 inch. On A4 and Letter, images are scaled down to fit the margins but never enlarged, so small logos are not blurred.
Messy files and limits
A PNG that is cut off, damaged or fails its checksum is refused with its name, so you know which file to replace, and a JPG renamed to .png is pointed to the JPG tool. For an animated PNG only the first frame is used. Each image can be up to 100 megapixels and the files together up to 300 MB; above that a phone browser can run out of memory. Adam7 interlaced PNGs, which are rare, are converted through a slower decoder but come out the same. The PDF is built in your browser with the open-source pdf-lib library and saved straight to your device. To make the finished file smaller, use compress PDF; to join it with other PDFs, use merge PDF.