PyMuPDF
PyMuPDF copied to clipboard
PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
The return type is different b/w the new way and the deprecated implementation. Also, `verbose` only does something for the old code. `fontTools` is needed only for the deprecated implementation.
### Description of the bug Maybe a duplicate or at least related to #3470. When I use `insert_pdf` to copy a page from one PDF to a new document, then...
Tried to change change the font color of the first line of text using page.insert_text and applying redactions. While inserting text used the font (TimesNewRomanPS-BoldMT) extracted using span["font"]. After this...
### Description of the bug ``` >>> import pymupdf >>> pymupdf.version ('1.24.4', '1.24.2', '20240516000001') >>> doc = pymupdf.open("test3.pdf") >>> doc._get_page_labels() [(0, ''), (13, ''), (15, '')] >>> doc[0].get_label() 'B' ```...
I noticed there were some warnings about `node` upgrades on CI runs. I bumped a few things (but didn't really check if any actions where needed b/c of those bumps!)
### Description of the bug Pythonܔزၥᦶຝҁ෫႕҂ ܔزၥᦶ༷ᬿ Pythonၥᦶຝ կຝጱଶ᧔҅ၥᦶ๋᯿ᥝጱྍṈฎࣁկݎጱײኴفྲঅ҅ಅզࣁ๗ၥᦶጱኴف҅ կᕪၧጱଶӤ᧔҅ݎሿጱᳯ᷌ᥴ٬౮֗҅ಭفጱᩒრྲ̶ࢩྌ҅Ӟӻၥᦶጱᔮᕹ҅ ত๋֯ጱၥᦶ੪ฎრդᎱᕆڦጱၥᦶ҅Ԟ੪ฎܔزၥᦶᴤྦྷ҅ᬯӻᬦᑕԞᤩ౮ԅጮፋၥᦶ̶ܔزၥᦶ ฎ๋चԞฎ๋ବ੶ጱၥᦶᔄࣳ҅ܔزၥᦶଫአԭ๋चጱկդᎱ҅ইᔄ҅ڍහ̶ොဩᒵ҅ܔزၥᦶ ᭗ᬦݢಗᤈጱෙ༄ັᤩၥܔزጱᬌڊฎވჿ᪃ᶼ๗ᕮຎ̶ࣁၥᦶᰂਁरጱቘᦞӤ᧔҅᩼ஃӥጱၥᦶ ಭفᩒრ᩼ṛ҅کጱࢧಸሲ᩼य़҅ᥠၥᦶᰂਁरཛྷࣳғ ಲկຝጱ੶ᶎ҅ࣁᛔۖ۸ၥᦶጱ֛ᔮӾ҅ܔزၥᦶຝզ݊ܔزၥᦶጱᎣᦩ֛ᔮฎᶳᥝഩൎጱ ದᚆԏӞ҅ܔزၥᦶጱᎣᦩ֛ᔮฎᛔۖ۸ၥᦶૡᑕզ݊ၥᦶݎૡᑕጱᎣᦩ֛ᔮԏӞ҅ᘒӬฎᶳ ٍ॓ጱᎣᦩԏӞ̶ࣁPythonӾଫአ๋ଠာጱܔزၥᦶຝฎunittestpytest,unittestંԭຽٵପ҅ ݝᥝਞᤰԧPythonᥴ᯽ݸ੪ݢզፗളفֵአԧ,pytestฎᒫӣොጱପ҅ᵱᥝܔᇿጱਞᤰ̶ܔزၥᦶ ຝጱᎣᦩ֛ᔮ੪ࢱᕰunittestpytestᦖᥴ̶ ጮፋၥᦶܻቘ pdf文件: [Python单元测试框架.pdf](https://github.com/user-attachments/files/15511860/Python.pdf) ### How to reproduce the bug 解析pdf文件出现乱码 ###...
fix issue https://github.com/pymupdf/PyMuPDF/issues/3519
### Description of the bug When taking pages out of an existing document and adding it to a new document using `document.insert_pdf`, the following error is thrown: ``` TypeError: unsupported...
### Description of the bug When I use the get_toc(simple=False) method, the program throws an AttributeError: 'Outline' object has no attribute 'rect' error. I noticed a try-catch block in the...
### Description of the bug Hey, thank you so much for this amazing tool! I am using PyMuPDF to parse many official french documents, they contain a cover, a table...