syan.dev

Results 10 comments of syan.dev

Hi @gouttham, can you provide me with the code to convert the KIE model to onnx format? Thank you so much!

Hi @stefan6419846, these PDF files are private; therefore, I cannot share them with you. However, if I encounter any files experiencing similar issues, I will send them to you later....

![image](https://github.com/py-pdf/pypdf/assets/66151131/66d2bc0c-2344-4d8c-ac19-d49f77a77996) ![image](https://github.com/py-pdf/pypdf/assets/66151131/133b17f4-b1a3-482b-90dd-49713c3bb4a4) ![image](https://github.com/py-pdf/pypdf/assets/66151131/443b4ddb-b42b-4be9-8426-39c6f32d3fe6) ![image](https://github.com/py-pdf/pypdf/assets/66151131/32ce74a1-6edf-403e-9ab1-002a3a57d05f) Here is the image of looping, I try my best and can not understand why this happens but it takes forever to load only one page...

I think I have found the root cause for this, I have printed to check if `elt in stack` with `elt` value and `stack` value. You can see that in...

Hi @pubpub-zz , can you help me review the screenshot from pdfbox.

Hi @pubpub-zz , here is the log from your code. I have to edit it a little to avoid print ContentStream error ``` print("stack ind: ", [s.indirect_reference for s in...

Hi @pubpub-zz a, Here is the test code I am using: ``` import io from pypdf import PdfReader, PdfWriter pdf_content = open('file_name.pdf', 'rb').read() pdf_writer = PdfWriter() pdf_reader = PdfReader(io.BytesIO(pdf_content)) pdf_writer.add_page(pdf_reader.pages[0])...

Thank you very much. Somehow, using `stack.append(elt)` instead of `stack + [elt]` fixed the problem. Here is the log for your updated code. [log3.txt](https://github.com/py-pdf/pypdf/files/14491674/log3.txt)

Yes, the issue has been fixed. Thank you very much. For the test file, could you please guide me on how to replace text content or image content with dumb...

@gjj123 Could you help me know how to write bilinear to a new class