Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, ChatGPT will do it if you upload photos of the page.


I just tried it with the API and it worked better than expected. Now I need to find to convert PDF to JPG with an API, and find the best prompt to ask GPT to only convert to markdown articles and not pages with columns, ads, etc. Thanks!


No problem! There are many Linux programs (some in this thread) to convert a pdf to images, and the prompt will hopefully not be too hard.

I started making app to read our board game cards out loud (with voice) for our horror board game nights (https://boardguru.net) and GPT-4 could read cards that I couldn't make out!


>Now I need to find to convert PDF to JPG with an API

You can do that very easily with a locally installed ImageMagick. ChatGPT can help with the commands needed, but should be just one to convert a PDF to a number of JPGs and a small shell script to run on all your files.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: