Convert PNG to PDF

Turn PNG images into PDF. One page at the image's own size, or fitted on A4 or Letter with page_size.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PNG files on the dialor turn it to pick what to do

A PDF page made from your PNG.One file comes out, with the image on a page of its own size or on A4 or Letter.

  1. What you get

    A single PDF with one page. By default the page takes the size of the image, so the picture fills it. Set Page size to A4 or Letter to fit the image on a standard sheet instead.

    Page size has three choices. A4 is 210 × 297 mm, the standard in most of the world. Letter is 8.5 × 11 in, used in North America. Auto gives each page the size of its own content.

  2. Transparent areas

    Transparency is kept. Areas of the PNG that are see-through stay see-through in the PDF.

    To fill them instead, set Background to a color written as #RRGGBB. For example, #ffffff fills transparent areas with white.

  3. When it fails

    If the PNG cannot be parsed, the conversion stops with input_corrupted. No PDF is written in that case.

    Once you have the PDF, PDF to PNG turns pages back into images.

PNG and PDF.What each format is, and the options this conversion takes.

  1. 01 · background

    Background

    The color that fills transparent areas, for formats such as JPEG that cannot be transparent. Write it as #RRGGBB, such as #ffffff for white.

  2. 02 · page_size

    Page size

    The size of the pages written. A4 is the standard in most of the world and Letter in North America.

    • a4 210 × 297 mm.
    • letter 8.5 × 11 in.
    • auto Each page takes the size of its own content.
    a4 · letter · auto

The formats

From · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images
To · PDF

PDF

Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.

Extensions
.pdf
MIME type
application/pdf
Kind
Documents

In your code.The same PNG to PDF conversion through the API, for your app or your agent.

terminal
$ cv convert photo.png photo.pdf
$ cv convert photo.png photo.pdf

Questions.What people ask about PNG to PDF.

01OF 04

Yes. Set Page size to A4 or Letter, and the image is fitted on that page. A4 is 210 × 297 mm and Letter is 8.5 × 11 in.

Yes. Transparent areas stay transparent unless you set Background, which fills them with the color you give.

Set Background to #ffffff. Transparent areas in the PNG are then filled with white.

The file could not be parsed. The conversion stops with input_corrupted and gives no PDF.