Support for OCG (layers) in pdfium and EmbedPDF #790
jmckalex
started this conversation in
Show and tell
Hi there,
With Claude Code's help, I've added partial support for OCG to pdfium and EmbedPDF. You can now toggle layers on and off, create new layers, and add annotations to layers.
Here's the GitHub link:
https://github.com/jmckalex/pdfium-ocg
And here's a link to a page with the enhanced version of EmbedPDF. If you click on the left sidebar, you will see a new layers button added. That shows the layer structure, with the ability to add new layers and groups.
https://jmckalex.github.io/pdfium-ocg/
Please feel free to take this code, if you like! I don't know how to submit it...
Best wishes,
Jason Alexander
jmckalex@gmail.com
All reactions
-
❤️ 1 -
🚀 1
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment