how to generate HTML code from a pdf file desing

Hello there, I have an pdf file of doctor’s prescription. My web application takes all the data as input and generate pdf but the design should be like the pdf. So is there any way to generate html code from the pdf so that I can pass the data to the html and it generate the pdf with same design woth dynamic data.
4 Replies
glutonium
glutonium2y ago
aaah, u r prolly trying to build gpt lol the way u can draw a show to gpt and it generates the code for you lol i do not think it'll be anywhere near being easy to just make it generate a whole html + css code just by looking at a pdf.. that's prolly gon need machine learning as well since u want the browser to read the design of the pdf file. unless I'm getting it all wrong i think a better choice would be to just create the design on your own and then just make it fill up the info dynamically. Even so i feel like just making the browser read the docs and put the info in the right place in the html desing would be a tough task
nehatkhan
nehatkhan2y ago
😂😂😂 sort of. Actually the budget is not much so I am no willing to do from scratch like design the html and stuff.
phyrasaur
phyrasaur2y ago
I found this but never used it although I have Acrobat https://www.adobe.com/acrobat/hub/how-to/how-to-convert-pdf-to-html.html not sure if pdfkit is a free api
nehatkhan
nehatkhan2y ago
Thanks man I will check this out.
Want results from more Discord servers?
Add your server