Hacker GitHub

← All repos

UglyToad/PdfPig

View on GitHub ↗ ★ 2,611 C#

Read and extract text and other content from PDFs in C# (port of PDFBox)

12 mentions on Hacker News by 3 people: 0 stories, 12 comments · first 2019-05-03 · latest 2025-11-17

Mentions per year 12 mentions · busiest year 2020 (4)
20082026
  1. …port of PdfBox, I haven't really tried it so far, due to the weak support for PDF creation. [1] https://github.com/UglyToad/PdfPig
  2. …it's mostly for text extraction from PDFs, but it does support some basic editing of sorts. [1] https://github.com/UglyToad/PdfPig
  3. …it uses a hybrid approach that combines basic image understanding algorithms with PDF metadata . https://github.com/UglyToad/PdfPig/wiki/Document-Layout-Anal... GP's comment says a pure computer vision approach may be more effective in…
    comment by lovelearning · 2025-08-04 · in So you want to parse a PDF?
  4. …changes. I'm currently running through a 10,000 file test-set trying to identify edge-cases. [0]: https://github.com/UglyToad/PdfPig/pull/1102
    comment by UglyToad · 2025-08-04 · in So you want to parse a PDF?
  5. …in a projects backlog. In the interests of full disclosure here's mine (I don't use stalebot) https://github.com/UglyToad/PdfPig/issues?page=1&q=is%3Aissu... . As you can see from the backlog I close almost nothing. This was a deliberate…
    comment by UglyToad · 2022-11-30 · in Just Say No
  6. …a shim for PDF viewers and software to use but I dread to think how much effort that would be. [0]: https://github.com/UglyToad/PdfPig [1]: https://github.com/UglyToad/PdfPig/wiki/Document-Layout-Anal...
    comment by UglyToad · 2020-03-03 · in What's so hard about PDF text extraction?
  7. …on making mistakes and I think that is what's missing from a lot of how programming is taught. [0]: https://github.com/UglyToad/PdfPig
  8. …these sections, rather than immediately surrounding features/pixels as an ML algorithm might. [0]: https://github.com/UglyToad/PdfPig/blob/master/src/UglyToad.... [1]: https://github.com/BobLd/PdfPigMLNetBlockClassifier
  9. …PDF library I'm developing has been implementing some interesting algorithms for layout analysis https://github.com/UglyToad/PdfPig/wiki/Document-Layout-Anal...
  10. …from universal. For an idea of what content stream parsing involves, this is how I currently do it: https://github.com/UglyToad/PdfPig/blob/master/src/UglyToad....
  11. …an API I'm actively looking to improve. PDF/A compliance is probably quite a way off though. [0]: https://github.com/UglyToad/PdfPig [1]: https://github.com/UglyToad/PdfPig#document-creation
  12. …wide range of requirements and usages it's pretty damn good and has stood the test of time. [1]: https://github.com/UglyToad/PdfPig