New features
Hi Ravisha,
This is a great work, thank you.
Would it be difficult to add few more features that pdf.js already supports like: -print support, -zoo in, out buttons, -adjusting to screen width -full screen mode -jumping to particular page -thumbnails
Thank you,
-Glen
Should be easier to add these features. Since I haven't updated libraries in a long time, first I'll do that. I'll let you know once I done that
Hi @RavishaHesh, I can contribute on these new features if you want.
@hichamhargal I'm bit busy until July so that would be great. thanks
Any one can please help to implement below features/Issue, Issue: 1.)loaded file size is 50 KB and after loading page without doing any annotation just generating a PDF from jsPDF results in a 12 MB (!) sized file. (Pdf file size too big created using jspdf)
Features: -zoom In/Out and thumbnails
Please help this Thanks...
@softtechinfo2020 it's because it uses uncompressed images of pages when saving the new PDF. it's possible to set compression level in jsPDF with jpeg images. I'll add that feature ASAP. Thanks for the suggestion
Hi! what a great work, congratulations.
I have found the perfect complementary code for your code, which could answer the problem of softechinfo2020 : https://github.com/highkite
This librairy saves the annotations in an adobe format, so the pdf still remains light and is not saved as an image for each page. Do you think that a merge of those 2 librairies could be possible to have a very very great annotation librairy for pdf ? your librairy to draw the annotations and save them in json format for later modifications, and the other librairy to generate annotations inside the pdf and savings ?
@clodion it's possible. even with my current implementation it's possible to add the text layer because Firefox does that when opening a PDF. but in order to do that, to render the text layer on top of the canvas perfectly I need to spend some time to study the documentation of PDFJs which I don't have until around August due to my higher studies. I planning to re-write the entire code with ES6 and add as a npm package after that 🤞 BTW thanks for the suggestion. I'll go though that also
@RavishaHesh This is really awesome pdf annotation library 👍 and we would like to add some more annotation like text highlighting, text underline etc. Any idea how to start work on it. happy to work with you if you are comfortable
@thirumith this package uses features of the FabricJS library. so almost all the features that FabricJS have including custom plugins implemented by the community(ex: the arrow function that I've added to this is a custom plugin) should be able to implement on top of this. for text manipulation you should be able to use this
@hichamhargal, There is nice solution to add panning and zooming functionality: https://github.com/timmywil/panzoom
Can you implement this library?