PDFJsAnnotations icon indicating copy to clipboard operation
PDFJsAnnotations copied to clipboard

New features

Open glen2023 opened this issue 5 years ago • 11 comments

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

glen2023 avatar Mar 24 '20 15:03 glen2023

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

RavishaHesh avatar Mar 25 '20 03:03 RavishaHesh

Hi @RavishaHesh, I can contribute on these new features if you want.

hichamhargal avatar May 29 '20 21:05 hichamhargal

@hichamhargal I'm bit busy until July so that would be great. thanks

RavishaHesh avatar May 30 '20 09:05 RavishaHesh

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 avatar Jul 13 '20 15:07 softtechinfo2020

@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

RavishaHesh avatar Dec 26 '20 21:12 RavishaHesh

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 avatar Apr 18 '21 12:04 clodion

@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 avatar Apr 18 '21 13:04 RavishaHesh

@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

codebooleandev avatar May 27 '21 02:05 codebooleandev

@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

RavishaHesh avatar May 27 '21 06:05 RavishaHesh

@hichamhargal, There is nice solution to add panning and zooming functionality: https://github.com/timmywil/panzoom

Can you implement this library?

nuriakman avatar Nov 13 '22 06:11 nuriakman