Show HN: PDF Debugger – Inspect Structure of PDF Files
11–20 of 27 posts
Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#12An example output would have been nice. There is also nothing about privacy and stuff. What happens to the uploaded pdf? Or is it processed inside the browser? But then there could still be a call to a back end?
Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#13Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#14very cool. Do you think you could hot link the PDF spec of each element for the casual observer?
Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#15An example output would have been nice. There is also nothing about privacy and stuff. What happens to the uploaded pdf? Or is it processed inside the browser? But then there could still be a call to a back end?
Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#16Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#17That's very cool! 1. Is the source available anywhere? I'm curious to see how it works. 2. Is there a way to connect the structure displayed here, to the rendered version in the PDF? To visually display the subcomponents?
I haven't decided if I want to create an open-source version. In the first place, I made it private to worry less about my code quality and to finish the product faster before I lose interest in it. It heavily relies on the core part of PDF.js: I've made a fork of the PDF.js project, removed everything not related to the core part, and added an export for low-level primitives [1]. Also, as inspiration, I used the pdf…
I wouldn't worry about the quality of the code. You get better by seeing other people's work and seeing alternative solutions to the problems you had.
Also, as I mentioned in another comment, this could easily be built into a quick trouble-checking app for POD work. Posting it would also let people fork it to make more task-specific apps.
Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#18Is there a way to view the stream content in ASCII/Unicode instead of Base64/Hex?
Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#19Re: Show HN: PDF Debugger – Inspect Structure of PDF Files
#20I needed this last night when I was trying to edit some text in a PDF and I ended up having to use iText Rups to browse the tree. Is there a way to view the stream content in ASCII/Unicode instead of Base64/Hex?