News for hackers. Stuff that matters.
Re:Show HN: HTML visualization of a PDF file's internal stru... by adelpozo on Monday February 10, 2025 @02:46PM (#43004386)
it does not have any dependency to a pdf parsing library, correct? That's a cool way to learn to file format and be able to work around weird pdf file. But what was the motivation to not use a library to do the pdf parsing work? is it the case that there is none available? Nice work!
Re:Show HN: HTML visualization of a PDF file's internal stru... by desgeeko on Monday February 10, 2025 @03:25PM (#43004724)
Correct, PDFSyntax implements everything at the lowest level. You can ignore the HTML visualization and use it as an API to access PDF objects. Why? Because I started a very small tool as a week-end project and I got hooked reading the PDF Specification so it is becoming a general purpose PDF library for Python. I am not familiar with other libraries but I have the impression that mine implements things that are often overlooked in others, like incremental updates.