I would like direction on how to display the content of a PDF in the web browser and allow the user to annotate the content and save the position(coordinates) of the annotation in a database so it can be re-used when the page is reloaded.
Display the PDF is not an issue. However how do I go about drawing a circle or any other shape and save these annotations into a database?
I found some licensed products such as PDFTron but its very expensive.
I've been doing some research on this topic but it doesn't seems to be a very straight forward thing to do. Maybe I am missing something here.
Not concerned about the tech-stack here, javascript, node, ruby or python it doesn't matter. Even if the pdf will have to be converted to HTML or something else that is fine too. The end goal is to allow the user to annotate the content and save.
Can someone point me on the right direction to achieve this?
Thanks
1 Related questions 8458 What does "use strict" do in JavaScript, and what is the reasoning behind it? 5249 What's the difference between tilde(~) and caret(^) in package.json? 3034 What is the --save option for npm install? Related questions 8458 What does "use strict" do in JavaScript, and what is the reasoning behind it? 5249 What's the difference between tilde(~) and caret(^) in package.json? 3034 What is the --save option for npm install? 6221 What is the difference between "let" and "var"? 5602 How do I create a directory, and any missing parent directories? 3028 How do I pass command line arguments to a Node.js program and receive them? 2433 Get the size of the screen, current web page and browser window 3674 What is the difference between __str__ and __repr__? 3397 "Least Astonishment" and the Mutable Default Argument 3473 What is the difference between call and apply? Load 7 more related questions Show fewer related questions Reset to default