Comments (10)
Hi @RavishaHesh, I can contribute on these new features if you want.
from pdfjsannotations.
@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.
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.
@hichamhargal I'm bit busy until July so that would be great. thanks
from pdfjsannotations.
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.
@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.
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.
@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.
@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.
@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)
- Enable annotation layer (text and link)
- 2 Pages View like a book
- load or save pdf slow HOT 1
- Saved PDF text is blurry HOT 1
- loadFromJSON loses backgroundImage HOT 1
- Memory canvas use exceeds the maximum limit (254mb) HOT 1
- loading image from sample_output breaks background HOT 3
- Arrow | Pencil Tool Glitch HOT 1
- Can't Save PDF HOT 1
- get the coordinates of x,y ?
- TEXT LAYER HOT 3
- add zoom in / zoom out buttons
- Add predefinited image to canvas
- return saved image as base64
- Password protected pdf with password how to open Please Tell Me.
- Getting Blur PDF after saving Annotation HOT 1
- on a tablet I scroll to the canvas and can't scroll below? HOT 2
- PDF file does not open HOT 7
- Place image on the currently viewed page
- Edting PDF?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdfjsannotations.