Category "pdf"

Concatenating PDF files in memory with PyPDF2

I wish to concatenate (append) a bunch of small pdfs together effectively in memory in pure python. Specifically, an usual case is 500 single page pdfs, each wi

How to convert PDF to Excel on a Mac?

I have a lot of PDFs to convert to excel. I found the code below which converts PDF to excel by opening the pdf file in word but it fails at Dim fso As New File

EOF marker not found while use PyPDF2 merge pdf file in python

When I use the following code from PyPDF2 import PdfFileMerger merge = PdfFileMerger() for newFile in nlst: merge.append(newFile) merge.write("newFile.pdf

Split each PDF page in two?

I have a large number of PDF files which have two slides to a page (for printing). The format is A4 pages each with two slides setup like so: ----------- | sl

jsPDF addHTML exporting low quality image to PDF

Simple question searching from last 2 days but didnt find solution i am converting html to pdf using this addHTML api of jsPDF $('#loadPdf').on('click', functi

Using pdf.js on a node server

I want to convert a pdf to an image server-side, using node.js. My input for this task is pdf's url, and the desired output is a base64 string, representing an

Use PyPDF2 to detect non-embedded fonts in PDF file generated by Google Docs

I was hoping someone could help me write a Python function to detect any fonts in the file which are not embedded in the file. I've attempted to use the script

Save as pdf using ClosedXML

Does ClosedXML have any function that can be used to save an excel file as PDF? Currently i am using ClosedXML to create and populate the excel file and then u

PyPDF2 nested bookmarks with same name not working

When you try and nest several bookmarks with the same name, PyPDF2 does not take it into account. Below self-contained python code to test what I mean (you need

Cannot load JPG image Pdfium

I try to do some stuff with PDF for a project. I'm trying to do some interop with Pdfium: https://pdfium.googlesource.com/pdfium/. I want to convert a JPG image

How can I convert a series of images to a PDF from the command line on linux? [closed]

I have a scanning server I wrote in cgi/bash and want to be able to convert a bunch of images (all in one folder) to a pdf from the command li

Extract metadata info and Validate digital signature from PDF file using Python

Im trying to validate a PDF which is digitaly signed, and to extract the signers name. Is there any library for doing this job in python? So far I've just come

How to know if browser has PDF viewer or not?

I am viewing PDF into iframe. It works fine. But some of the client don't able to see it in IE. They get it as download option. How can I identify if browser

How to solve "ebook-convert" is not installed?

I want to convert .md into PDFs, and I followed https://toolchain.gitbook.com/ebook.html: Download the Calibre application. After moving the calibre.app to you

How to extract rotated images from PDF with iText

I need to extract images from PDF. I know that some images are rotated 90 degrees (I checked with online tools). I'm using this code: PdfRenderListener: public

Update a fillable pdf using PyPDF2

I'm having trouble updating named fields in a fillable pdf. My code is as shown: from PyPDF2 import PdfFileReader, PdfFileWriter reader = PdfFileReader("invoic

Extracting exact table data from PDF

I am trying to extract each row of my table from a pdf file I created before. The problem I have, is that empty cells, which I thought would be saved as 'null'

iText find position of text in pdf

I am creating a utility that will add a multi-line text field just below the last line of text in an existing PDF document. This will be used for people who wan

Failed to compile test.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See test.log for more info. Execution halted

output file: test.knit.md ! pdflatex: warning: running with administrator privileges ! Sorry, but C:\Users\jjw11\AppData\Local\Programs\MIKTEX~1.9\miktex\bin\

correct PHP headers for pdf file download

I'm really struggling to get my application to open a pdf when the user clicks on a link. So far the anchor tag redirects to a page which sends headers that are