jorisschellekens / borb

borb is a library for reading, creating and manipulating PDF files in python.
https://borbpdf.com/
Other
3.4k stars 147 forks source link

Can I create a optional content group(Layer) by myself? #187

Closed ChenKe404 closed 11 months ago

ChenKe404 commented 11 months ago

Can I create a optional content group(Layer) by myself?

jorisschellekens commented 11 months ago

Hi,

Keep in mind the issues tab is meant for:

This is not the place to ask for technical support.

The codebase is extensively documented, and there is an entire examples repository filled with code-samples you can try.

One particular code-snippet comes to mind that deals with OCR, where the recognised text is inserted as an optional content group. You could check out that code-snippet and dive into the borb codebase to see how that code works.

Furthermore, borb has its own tag on StackOverflow.

Kind regards, Joris Schellekens