Support for Optional Content Groups
Author: snorfalorpagusCreated Apr 22, 2014Updated Sep 4, 2026
LabelsPdfReaderis-feature
PyPDF2 does not currently have any support for Optional Content Groups (OCGs). When merging multiple documents into a single document the layers are effectively flattened and functionality is lost.
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf 4.10.2 Making Graphical Content Optional
Source: py-pdf/pypdf