If I would want to put an image in footer on every page, would it reuse the same resource? How do you do shadows, spam rectangles or attach an image + mask, or maybe you bake that into the image itself? Many pdf tools are so bad at, the result can be even more than x10 in size and I don't even mean saving entire pages as JPEGs