Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
Tooling
2 votes
1 replies
46 views

How to reduce memory consumption when processing PDFs with large embedded images using PDFBox?

I'm using Apache PDFBox to process PDFs that contain very large, embedded images (e.g., 6538x6570px = ~163MB when decompressed). The service consumes 290-446MB of memory during conversion, causing ...
user31898390's user avatar
0 votes
0 answers
42 views

How to add [page] , [topage] in the body of PDF [closed]

I am confused about generating the PDF. I have a case Table of content A-1 .......................................................................... 2 B-2 ..............................................
LihnNguyen's user avatar
Tooling
1 vote
3 replies
87 views

Convert complex pdf to an excel

I'm currently searching for a solution to read a pdf and convert it to an excel. For now I found the "tabula-py" library, which seems to be good. But I'm not quite sure because the pdf has ...
marskernel's user avatar
0 votes
0 answers
31 views

DinkToPdf / wkhtmltopdf prints only 19 pages even with 64-bit DLL

I am generating a PDF in ASP.NET Core using DinkToPdf (wkhtmltopdf wrapper). My HTML report is around 20+ pages, but the generated PDF always stops at 19 pages. It never prints the full content. PDF ...
Arpit Lathiya's user avatar
-4 votes
0 answers
55 views

Convert PDF to DOCX in Python with tagging, but superscripts (FN) are misrecognized as subscripts during the process

I was converting pdf to docx using python along with tagging the Paragraphs(for e.g. [P20],[B44] like this ), emphasis( which are <EM>, <EMB>... like this has to be tagged) but I'm unable ...
Madhouse's user avatar
1 vote
1 answer
101 views

Storing biometric data in a PDF without breaking the digital signature

I'm developing a tool that stores a signer's biometric data inside a PDF together with the digital signature, but I'm unsure where this information should be embedded. The biometric data is captured ...
nex0's user avatar
  • 11
Advice
1 vote
0 replies
31 views

Sending pdf from mail.google.com via mail-sending service

I have a question. I need to create a new email at mail.google.com, enter the recipient name, upload a PDF, and send it. The recipient should receive the converted PDF. To do this, the email must pass ...
muraya's user avatar
  • 67
Advice
0 votes
6 replies
113 views

MS access Split report and export each row as a PDF

I am completely new to Visual Basic as a coding language coming mainly from Java and SQL but rusty in both of them in current role I am working with more Microsoft Access Databases but I need to ...
Darren Murtagh's user avatar
1 vote
1 answer
51 views

How do I speed up pdf2docx?

Right now, I have very simple code which takes a pdf, and turns it into a docx file at the same path with the same name. However, with larger pdfs over 100 pages, it's taking over a minute to convert. ...
user30589464's user avatar
Tooling
1 vote
3 replies
63 views

Optimized convertion SVG in to PDF

I have a hundred SVG files that I want to distribute. To make it easier, I converted them into a single PDF. However, since the SVG files define some paths that are used many times, during the ...
AsrtoMichi's user avatar
0 votes
1 answer
29 views

“Invalid Order” error when generating second custom PDF template

I’m using the WooCommerce PDF Invoices & Packing Slips plugin by WP Overnight. I’ve successfully: Created a second custom PDF template (a voucher version without prices). Added a button on the ...
Mina's user avatar
  • 303
-4 votes
1 answer
79 views

How to get the a header and footer to not overwrite the text of the main section using @page when converting from html to pdf and more than one page [closed]

I am trying to use CSS to create a PDF document from an HTML document. I need to have a header and a footer on each page when there are one or more pages. The problem I have is that the header and ...
Roland Brown's user avatar
1 vote
0 answers
117 views

How to convert paths in pdf file to text [closed]

pdf files does not contains any image, nor text. The text visible on the page is rendered as Path. Tried PdfPig (https://github.com/UglyToad/PdfPig) using using PdfDocument document = PdfDocument....
Andrus's user avatar
  • 28.2k
Tooling
0 votes
1 replies
65 views

How to add interactive components like button/input on top of PDF in Angular?

I am trying to create a UI when user click 'Sign' button, it will show a pop up modal with a PDF content display. I want to add a button on the sign field of PDF, if user click on it a sign pad appear ...
Tracy's user avatar
  • 3
2 votes
1 answer
83 views

How can I make pdfcrowd script to save on Windows Downloads Folder instead of the site folder [closed]

I am trying to create a page with pdfcrowd, which works well. The issue I have is that it saves the created PDF file inside the site folder. I want it to save to the Windows Downloads Folder instead. ...
Bubu's user avatar
  • 29
0 votes
0 answers
37 views

Cloudinary error: "Customer is marked as untrusted" or "Blocked for delivery" when accessing uploaded PDF files

I’m using Cloudinary to upload documents (PDFs, ZIPs, etc.) from my Next.js app. The upload succeeds, but when I try to access the file via URL like: In the Cloudinary Media Library, it says: Access ...
Kenil Mangukiya's user avatar
3 votes
1 answer
93 views

"Cannot access a closed Stream" when trying to return PDF from controller using iText

I'm trying to copy pages from an existing PDF to a new one and return it. I'm writing to the new PDF with memory, but it returns an error stating Cannot access a closed Stream. Here is my code: var ...
Marwan Hashem's user avatar
3 votes
1 answer
205 views

How to extract table from PDF with boxes into pandas dataframe

I have code that detects a table in a PDF that appears after a specific section, and parses the information in the table and copies it into a pandas dataframe. Now, I want to indicate whether a box is ...
user2813606's user avatar
-1 votes
1 answer
105 views

Swift / CoreGraphics: semicircular arc draws correctly but arrow pointer position/rotation doesn't match BMI value in exported PDF

I'm drawing a semicircular BMI gauge in a PDF using UIGraphicsPDFRenderer and UIBezierPath. The colored arc and labels render correctly, but the arrow pointer (which should point to the arc position ...
he who remains's user avatar
Best practices
1 vote
1 replies
51 views

How can I print very thin lines (e. g. 1/300 dpi) to PDF via Chrome? (Prevent rounding to full css-px)

I would like to print a 1/300 inch wide line with chrome (PDF). Unfortunately, the line is rounded up to a value of a css-pixel. (It has to be Chrome [not PRINCE XML], due to some advanced features…)
Adler's user avatar
  • 2,887
2 votes
0 answers
113 views

Applying JavaScript formatting to IronPDF form using PyMuPDF

I am using IronPdf (2025.6.1.5) to create fillable PDF forms. This involves creating HTML forms and converting them to PDFs with IronPDF. I am post-processing the PDFs with PyMuPDF (1.26.4) to apply ...
BalooRM's user avatar
  • 524
0 votes
1 answer
156 views

How to fill in a PDF form with javascript

I have the following PDF https://www.dco.uscg.mil/Portals/9/NMC/pdfs/forms/CG_719B.pdf I have tried a number of different ways to find access to the text boxes within code, async function ...
Will's user avatar
  • 8,739