remove_unused_streams property

remove_unused_streams property

The property removes unused (orphaned) streams from a PDF file that are referenced in the page resource dictionary but never used in the page contents. Disabled by default (False); setting it to True reduces the output PDF size.

Definition:

@property
def remove_unused_streams(self):
    ...
@remove_unused_streams.setter
def remove_unused_streams(self, value):
    ...

See Also