Earlier quoted context omitted.
Tangential question: Do you know of a method to render PDFs to HTML canvas other than PDF.js? PDF.js seems too slow for my purposes, though I haven't tested very thoroughly yet. I'm hoping with wasm Skia now available, there might be some other options coming.
how does Skia and pdf work together? I know there is a pdf backend but the way I understand it is that it just outputs pdf instead of an image I recently started playing around with wasm Skia/CanvasKit but I have a hard time wrapping my head around what exactly it is supposed to be used for, as well as Skia in general. For example, Skia allows text rendering and I could naively assume that if I want to build some hig…
OpenPDF 1.3.0
51–60 of 63 posts
Re: OpenPDF 1.3.0
#52I'm one of the maintainers of OpenPDF. Please give it a try and post your feedback. Also, if you are using iText 1.2.x, it's time to update to OpenPDF, which should be compatible. https://github.com/librepdf/openpdf
Re: OpenPDF 1.3.0
#53My particular needs for PDF creation are somewhat unusual, so I'm not surprised that Acrobat Pro seems to be the only thing that suits my needs. If anyone knows of a PDF creation library that has good support for the various image compression schemes supported by PDF, I'd love to know about it. Currently I'm using a 10 year old paid version of Acrobat Pro because I'm unwilling to spend another $500 to get a modern co…
It sounds like you are using Windows, but if you happen to be using Linux [1]: ps2pdf LARGE.pdf SMALL.pdf I believe it compresses all of the images independently, instead of converting the entire thing to an image as I believe Imagick does (I could be wrong though). This tool doesn't appear to have any intelligent auto-deskewing though. (On a slightly different note, it's questionable whether you want to do this for…
ps2pdf does work on Windows though (or maybe it's pstopdf?), and the Linux version works directly in WSL.
Re: OpenPDF 1.3.0
#54Pdf so badly needs a standard open source reference implementation. the problem with java is that it isn’t easy to reuse in other programming environment... something in C, or anything that compiles through LLVM would probably be a better choice i think.
Re: OpenPDF 1.3.0
#55Earlier quoted context omitted.
It sounds like you are using Windows, but if you happen to be using Linux [1]: ps2pdf LARGE.pdf SMALL.pdf I believe it compresses all of the images independently, instead of converting the entire thing to an image as I believe Imagick does (I could be wrong though). This tool doesn't appear to have any intelligent auto-deskewing though. (On a slightly different note, it's questionable whether you want to do this for…
I think this won't be useful for scanned documents, as the entire page will be one image. ps2pdf does work on Windows though (or maybe it's pstopdf?), and the Linux version works directly in WSL.
As the PS format was designed for printing [2], my guess is that it selects a DPI value suitable for printing. I can't seem to find the source code to back this up though. (Ghostscript has the simple web front-end that doesn't lend itself very well for viewing code in browser [3].)
[1] https://www.biu.ac.il/os_site/documentation/gs/Ps2pdf.htm
Re: OpenPDF 1.3.0
#56I'm one of the maintainers of OpenPDF. Please give it a try and post your feedback. Also, if you are using iText 1.2.x, it's time to update to OpenPDF, which should be compatible. https://github.com/librepdf/openpdf
Is it possible to digitally sign a PDF with OpenPDF? If yes is there a tutorial somewhere or could you give a hint on how it's done or where to look at the Java API? Thanks in advance!
Re: OpenPDF 1.3.0
#57Earlier quoted context omitted.
Is it possible to digitally sign a PDF with OpenPDF? If yes is there a tutorial somewhere or could you give a hint on how it's done or where to look at the Java API? Thanks in advance!
Here's a PDF signing example: https://github.com/LibrePDF/OpenPDF/wiki/Signing
Re: OpenPDF 1.3.0
#58Earlier quoted context omitted.
I think this won't be useful for scanned documents, as the entire page will be one image. ps2pdf does work on Windows though (or maybe it's pstopdf?), and the Linux version works directly in WSL.
I believe `ps2pdf` is just a front end script for Ghostscript. Even for `ps2pdf` there are a bunch of options settable, most notably are the DPI settings [1]. The point is that I believe it works for images and/or scalar graphics. As the PS format was designed for printing [2], my guess is that it selects a DPI value suitable for printing. I can't seem to find the source code to back this up though. (Ghostscript has…
Re: OpenPDF 1.3.0
#59Earlier quoted context omitted.
MuPDF supposedly supports forms in the latest version. I’ve never seen it work though.
Alright, so I noticed this before and just tried it again. While I can fill in forms, does anyone know how to save them? The man page says "S", but that doesn't work and I remember this causing issues for me in the past.
Re: OpenPDF 1.3.0
#60My particular needs for PDF creation are somewhat unusual, so I'm not surprised that Acrobat Pro seems to be the only thing that suits my needs. If anyone knows of a PDF creation library that has good support for the various image compression schemes supported by PDF, I'd love to know about it. Currently I'm using a 10 year old paid version of Acrobat Pro because I'm unwilling to spend another $500 to get a modern co…
Try BFO pdf . It's paid but they are agood company. I also I love that BFO stands for "Big Faceless Organization" and the CEO answered support emails until like last year.