Image to PDF guide — inline comparison assets Created and reviewed: 2026-10-26 (Asia/Bangkok) Creator and rights holder: KrobClick. Original test artwork; no third-party images or personal data. sample-800x500.jpg is a synthetic 800 x 500 pixel test image, not a real document or product screenshot. page-size-comparison.webp (1100 x 780) compares A4 Portrait and Fit to image Auto with no margins. margin-comparison.webp (1536 x 780) compares None, Small and Normal margins on A4 Portrait. English labels identify the tool settings; the article captions explain them in Thai. Method: scripts/create-image-to-pdf-guide-assets.mjs calls createPdfFromImages from src/lib/pdf/from-images.ts, then renders the five resulting PDFs with Poppler at 54 DPI. Rendered pages are composed without resizing, so all pages share one physical scale. Gray outlines are added only to show page boundaries. The JPEG test input is encoded at quality 90 by the asset script, not by a browser encoder. These comparisons verify page layout, not browser JPEG quality or printed output. Implementation reviewed at commit c27234776018560e7bd4b8c232b37d4915cee89c: https://github.com/bkt-cmyk/webtool/blob/c27234776018560e7bd4b8c232b37d4915cee89c/src/lib/pdf/from-images.ts Reproduction script in the repository: https://github.com/bkt-cmyk/webtool/blob/main/scripts/create-image-to-pdf-guide-assets.mjs Run from the repository root with Node.js and installed project dependencies: node scripts/create-image-to-pdf-guide-assets.mjs Set PDFTOPPM to the Poppler pdftoppm executable when it is not on PATH. Intermediate PDF/PNG evidence is written under test-results/ (not published). The generated article cover is preserved separately and is not an experimental result.