Replies: 3 comments 2 replies
-
Very sorry to give you another "No" answer ... but "No" 🤷♂️. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Any updates on this? I'm working on a project that takes a PDF (produced by Illustrator with certain Ink properties per layer) and am trying to alter color and graphics programmatically on a per layer basis. |
Beta Was this translation helpful? Give feedback.
1 reply
-
We ended by creating one PDF with PyMuPDF for each desired layer, and programmatically combined them in the Adobe environment. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PDF layers AKA OCGs created with PyMuPDF works good.
However, Illustrator does not recognize PDF layers (to our and many others major surprise).
Illustrator seems to store its internal layer info in PDFs exported from Illustrator according to the answer given in https://community.apryse.com/t/editing-layers-in-adobe-illustrator-pdf-s-using-pdfnet-sdk/985:
"Illustrator stores its private data under 'PieceInfo/Illustrator/Private' in the page dictionary".
Is it possible to enhance PyMuPDF to also support Illustrator layers in the same way as OCG?
Beta Was this translation helpful? Give feedback.
All reactions