News for hackers. Stuff that matters.
Re:Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's... by tecoholic on Saturday November 29, 2025 @04:32PM (#46090986)
> Converts an image to a single-page PDF with a hidden text layer using Tesseract. This is the 'State Preservation' step.

Does this mean the text only pdf page is transformed into an image that covers the full page, but the text is still under there. So, any machine based extraction would still get the text, but would probably loose all the bounding box information and regular users cannot just use their mouse to select text anymore?

Re:Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's... by kumarm on Saturday November 29, 2025 @06:36PM (#46091899)
Seems true and really wish the project included some sample PDF output.

My Text to Speech app uses bounding box to display what text in PDF is being read and would not work well PDF's from this project.

Re:Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's... by GavCo on Sunday November 30, 2025 @04:50AM (#46095291)
OP here, I added a sample PDF output in the project assets and put screenshots in the ReadMe. The text is selectable after rehydration. would this work with your app?
Re:Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's... by tecoholic on Sunday November 30, 2025 @07:11AM (#46095998)
Wait! what? This is incredible. Amazing work.
Re:Show HN: Nano PDF – A CLI Tool to Edit PDFs with Gemini's... by kumarm on Sunday November 30, 2025 @02:03PM (#46099381)
Amazing. Worked really well. Thank you.