Image and PDF guides

Convert still WebP artwork into printable PDF pages

·

WebP is a web image format and PDF describes pages. Publishing a WebP image in a PDF requires decisions about its physical size, placement and encoding. Start with a still image that clearly shows the detail you want readers to see.

WebP to PDF

Check the source before conversion

Add a still WebP. The converter checks the file contents and reads the dimensions before making a preview. Renaming an animated file does not change its frames. Export one still for a representative image or select several stills for a sequence.

pdf-lib documentation for embedding images

Choose dimensions and encoding

A 640 × 480 WebP placed on an image-sized page at zero margin produces a 480 × 360 point PDF page. Use PNG encoding for artwork with alpha or small lettering. JPEG encoding lets you choose a solid background and quality for a photograph.

pdf-lib documentation for embedding images

Check a multipage export

For two images, rotate a sideways page and use the move controls to put the cover first. Export a combined PDF and open it in a separate reader. Check the order, fine text and visible edges at the recipient’s intended print size.

pdf-lib documentation for embedding images

Check what the PDF contains when the source looks animated

Open the source in a viewer long enough to see whether the image changes. A product image that cycles through colors needs an explicit choice of stills for a static PDF. Export the required colors as individual images and order them before assembly.

Inspect each PDF page for its distinct color or label. If all pages look alike, check the chosen frames rather than merely comparing the page count.

Common questions

Does the PDF contain the original WebP stream?

The browser decodes the WebP and embeds a newly encoded PNG or JPEG representation. Keep the original WebP separately if you need an exact copy.

How do I avoid losing captions near the edge?

Use Fit inside and check the preview. A margin leaves room around the image. Fill printable area may crop captions when the page and image have different proportions.

Sources

Put it into practice.

Related guides