Code Monkey home page Code Monkey logo

Comments (10)

hichamhargal avatar hichamhargal commented on May 30, 2024 4

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

from pdfjsannotations.

RavishaHesh avatar RavishaHesh commented on May 30, 2024 1

@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

from pdfjsannotations.

RavishaHesh avatar RavishaHesh commented on May 30, 2024

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

from pdfjsannotations.

RavishaHesh avatar RavishaHesh commented on May 30, 2024

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

from pdfjsannotations.

softtechinfo2020 avatar softtechinfo2020 commented on May 30, 2024

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...

from pdfjsannotations.

RavishaHesh avatar RavishaHesh commented on May 30, 2024

@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

from pdfjsannotations.

clodion avatar clodion commented on May 30, 2024

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 ?

from pdfjsannotations.

codebooleandev avatar codebooleandev commented on May 30, 2024

@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

from pdfjsannotations.

RavishaHesh avatar RavishaHesh commented on May 30, 2024

@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

from pdfjsannotations.

nuriakman avatar nuriakman commented on May 30, 2024

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

Can you implement this library?

from pdfjsannotations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.