How can I use a vendor libary (specifically I want to use PDF.js) in a Vue component? (I only want to load it for this specific component as they are rather larger files)  I'm building an editor that needs to load a pdf. So I placed the pdf.js an...
Recently the PDF rendering get a messed up text layer where text gets duplicated with the grey colored overlay. No idea about how to fix it as when i remove   textLayerFactory: new pdfjsViewer.DefaultTextLayerFactory() it works fine. but need this as...
My problem is that the memory usage of my application increases every time I render a pdf file with viewer.js.   I render my pdf this way:  container = document.getElementById('viewerContainer'); viewer = document.getElementById('viewer&#...
I am trying to parse a pdf with more than 300 page. I am using pdf-parse npm package.  The pdf has 300 pages. But my application crashes to while parsing the pdf. My question is that is there way by which i can parse one page at a time? Below is the...
I am trying to display PDF in browser, I found library PDF.js which is most popular and most suggested library. Documentations and are clear, but one I try to use latest official release 2.0.943 document is not rendered, it gets loaded(as I see corre...
I am trying to draw a grid on top of the image of a PDF, and so I am working with the pdf.js example. I have written some code which reliably produces a grid in fabric.js, and so in the first instance I added it to the pdf.js minimal example to see w...
We are using PDFJS to highlight/Find a text in PDF file. That works perfectly. Another functionality is to navigate to a particular page. We are trying to set CurrentPage property of PdfApplicationViewer. But it throws error like     parentOffset not...
Is there a way to extract images from a single PDF page using PDFJS framework? After some googling, I found this discussion talking about that, but unfortunately its not very specific, he talks about passing an imageLayer to the CanvasGraphics object...
How can I use the standard viewer UI of PDF.js for rendering a PDF in a website where the document viewer only takes up part of the page (like the hello world example)?  Which properties should I pass to the viewer, and which method do I need to call...
I need to load a PDF in a webpage, and overlay a div wherever a certain text appears. However, I am unable to find the API that will let me determine the coordinates of a certain string within the PDF. Is there a function that allows us to do that? I...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.