PDF guide
How to Create PDF Files from Images and HTML
Prepare image and HTML input for predictable PDF page dimensions, layout, fonts, and output.
Prepare source material first
Rotate and resize images before conversion, and put them in the final page order. For HTML, use a complete document with print-friendly styles, stable fonts, and assets that the renderer is allowed to access.
Control page layout
Select paper size, orientation, margins, and image fitting intentionally. Very tall web pages need sensible page-break rules. Avoid clipping by testing headings, tables, backgrounds, and long unbroken strings.
Consider privacy and trust
Do not submit confidential content to a service unless its handling is acceptable. HTML from untrusted sources may reference remote or local resources, so render only material you trust and inspect the resulting PDF before sharing.