Why is the same logo stored several times?
By Anton Samper · Reviewed
All three pages show the same logo. The first two share one image object; the third points to a separate copy. Compare their references to see how repeated artwork can add unnecessary bytes.
Open this exampleDownload sample PDF
1. Find the image objects
Open Resources → Images. There are two image objects, 7 0 R and 8 0 R, each 24 × 24 pixels. Both store 1,728 uncompressed RGB bytes. The first two pages reuse one of these objects.

2. Compare page references
Choose Pages and select the first page, 3 0 R. Its /Resources → /XObject → /Logo points to 7 0 R. Use Pin to compare, then select the second page, 4 0 R. It points to that same object. Select the third page, 5 0 R, and the reference changes to 8 0 R.
Page 1 (3 0 R): /Logo 7 0 R
Page 2 (4 0 R): /Logo 7 0 R
Page 3 (5 0 R): /Logo 8 0 R3. Check that the pages draw the resource
Each page's /Contents points to stream 6 0 R. Open Decoded → Decoded byte text and find /Logo Do. The name is resolved using the resources of the page drawing it, so the same content stream uses object 7 on the first two pages and object 8 on the third.
The two image payloads in this sample are identical. Matching dimensions and dictionaries in another PDF would not prove its image bytes match: dictionary comparison does not compare stream payloads.
Reuse images in the generator
Reuse one image object for repeated artwork when the image data and its interpretation are the same. The extra copy here adds 1,728 stream bytes plus object overhead. Large logos repeated across many pages can cost much more. For another source of image bloat, see the oversized image example.