PDFlib
PDFlib

Special

defaultlayers

Emit the indented list of layer names which is presented in Acrobat by default.

distiller_profile

Test for the existence of an embedded Distiller profile. If one is found, its contents are retrieved.

icc_profiles

Extract one or more ICC profiles from the document output intents.

layers

Create a list of all layers contained in a PDF document and show their names.