How well does this handle large tables that span pages? That seems to be a key differentiator for most PDF libs I sampled. I'd assume this works well if it's coming from Chromium
Do you mean tables when converting HTML to PDF, or simply rendering the PDFs with tables in them?
Show HN: PDF API – Generate, convert, and modify PDF documents
61–70 of 125 posts
Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#62Earlier quoted context omitted.
For higher volume, but simpler operations (merge, watermark, encrypt/decrypt, etc.) you can try https://www.pdfblocks.com/api . You get 10K docs processed for $29/mo, and 1M for $99/mo. We don't have conversion, OCR, generation, or chained operations though. Source: I work at PDF Blocks
Is it appropriate to have multiple competitors pitch their own products in an Ask HN? this should not be such an opportunity
Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#63Earlier quoted context omitted.
Do you mean tables when converting HTML to PDF, or simply rendering the PDFs with tables in them?
simply rendering tables - most of the (python) pdf generation libraries I evaluated a few years ago all had the same limitations (reflow is hard) around laying out large multipage tables. We went with a headless chrome service to print to pdf which did not have the limitation.
Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#64Some time ago at a $Company we needed to generate pdfs and also OCR incoming documents. In order to quickly release a product we decided to use online API from a $Vendor. Initial price was quite OK-ish but a year-two later we saw a significant increase in price. At that time we also started moving to on-premise hosting to decrease latency and to address other GDPR stuff. Considering high volume of documents it was ju…
I don't blame you for going down that route. But it feels to me that open source is devaluing our work. PDF is a big and complex specification, there must be thousands of hours of work in the software you chose and yet you are getting all that value for free. Is there any other industry that does this to itself?
Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#65But now apparently you’re supposed to use a web API and depend on an external service. This has all kinds of downsides: it has latency (and potentially tail latency). It has larger security issues. It doesn’t work in many sandboxes. It requires an asynchronous call. Callers have to handle timeouts and retries. (If you left pad a string with a normal library, it either works or it doesn’t. With a web service, it can fail transiently or give wrong answers transiently.). It updates on its own schedule, without notice, and cannot be rolled back. And it can charge an utterly outrageous per-call price, so instead of merely profiling and debugging slowness due to making too many calls, developers also have to worry about inadvertently spending hundreds of thousands of dollars.
Replace “left pad a string” with “generate a PDF” and you get this. Why is this desirable?
I suppose things like this may partially explain the stunning slowness of bank websites.
Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#66Earlier quoted context omitted.
For higher volume, but simpler operations (merge, watermark, encrypt/decrypt, etc.) you can try https://www.pdfblocks.com/api . You get 10K docs processed for $29/mo, and 1M for $99/mo. We don't have conversion, OCR, generation, or chained operations though. Source: I work at PDF Blocks
Is it appropriate to have multiple competitors pitch their own products in an Ask HN? this should not be such an opportunity
Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#67I find this utterly bizarre. Once upon a time, if you wanted to left pad a string, you would just do it. A while later, people discovered that you could use a library. (I’m joking a bit here, but libraries are genuinely useful.). With a library, you get to pick from various schemes and schedules for updating the library, but you have a degree of control. But now apparently you’re supposed to use a web API and depend…
Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#68Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#69Does this API allow for the generation of accessible documents, such as PDFs, which can then be read by blind persons using a screen reader such as Jaws or NVDA? These tools have the ability to bring up a dialog box (e.g. elements list) listing the links, headings, form fields, buttons and landmarks present on documents, (e.g. html, pdf, and so on) that blind people would need in order for them to navigate a document…
We have some work planned in that direction, but nothing close to release at this stage.
Re: Show HN: PDF API – Generate, convert, and modify PDF documents
#70I find this utterly bizarre. Once upon a time, if you wanted to left pad a string, you would just do it. A while later, people discovered that you could use a library. (I’m joking a bit here, but libraries are genuinely useful.). With a library, you get to pick from various schemes and schedules for updating the library, but you have a degree of control. But now apparently you’re supposed to use a web API and depend…