Image and PDF guides

Make a photo PDF from HEIC and HEIF files

·

Use this workflow for a set of phone photos that a recipient expects as a single PDF. The tool decodes each file on your device, builds a preview and gives each primary image its own page. Keep the original HEIC if you need its camera information or additional images.

HEIC to PDF

Choose the primary photo

A HEIF container can hold more than one image. Inspect the thumbnail before adding the next file. For example, a collection containing two photos with the second marked as primary supplies the second photo to the PDF. A sequence or Live Photo video needs its own export.

libheif image decoding and file formats

Check portrait and landscape pages

For a photo displayed at 240 × 320 pixels, Fit image at zero margin produces a 180 × 240 point page. A clockwise quarter turn changes it to 240 × 180 points. Check recognizable details as well as the width and height to catch a mirrored or sideways source.

pdf-lib documentation for embedding images

Review what travels with the PDF

JPEG encoding paints the selected background behind the image. Choose PNG when the primary photo contains transparent pixels. Source EXIF, thumbnails, depth information and additional photos are excluded from the PDF. Inspect the downloaded document before sharing it.

pdf-lib documentation for embedding images

Check page count when a camera capture contains extras

Suppose a submission asks for the front and back of a card. Confirm that both sides appear as independently selected source images. Extra items inside a HEIC container do not automatically represent additional PDF pages.

Open the saved PDF and read a distinguishing line on both sides. If one is absent, export that side as a separate still from the source application and assemble the document again.

Common questions

Can I mix HEIC and PNG photos?

Use the mixed JPG to PDF workspace for a mixed batch. Select the HEIC-specific page when every input should pass the HEIC or HEIF check.

Why might a particular HEIC fail?

A sequence, unsupported HDR transfer function, unreadable primary photo or image exceeding the resource limits can fail. A still SDR export from the original photo app is suitable for another attempt.

Sources

Put it into practice.

Related guides