Making a copy of a vector pdf - best practice #4384
-
Hi, I need to take a pdf a create a new one, where the new pdf has the same vector elements, but maybe a subset of them.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Choose option 1. We cannot selectively remove single drawing commands from PDF's source. |
Beta Was this translation helpful? Give feedback.
Choose option 1. We cannot selectively remove single drawing commands from PDF's source.
Be aware however, that there is no guarantee that PyMuPDF's drawing capabilities will always reproduce the original faithfully.
Several aspects / features of what can be done with PDF's command syntax cannot be mapped to PyMuPDF's
Shape
methods. For example, we neither support clipping nor shading ... and this is an incomplete list.