remove_unused_streams property

remove_unused_streams property

The property removes unused (orphaned) streams from a PDF file, which are still referenced from the resource dictionary of the page but never used in the page contents.

By default it is disabled (False); setting it to True decreases the output PDF document size.

Definition:

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

See Also