Комментарии:
cant get this to work. :( its throwing weird errors asking me to use a 'legacy'-build because it lacks native functionality
ОтветитьNot getting font name as expected, instead getting some no. like g_d0_f2.
ОтветитьThis code is working fine 👍
Ответитьgetting this error: Cannot find module 'pdfjs-dist/es5/build/pdf'
Ответитьconst file = event.target.files[0];
const uri = URL.createObjectURL(file);
var pdf = await pdfjs.getDocument({ url: uri });
var page = await pdf.getPage(1); <---fails here.
is the src from const file= event.target.files[0];? and then to const src= URL.createObjectURL(file); ? What is the src ?
ОтветитьgetPage iis not a function?
ОтветитьGreat Video, works fine! Note that you have to define the const pdfjs = require("pdfjs-dist/legacy/build/pdf"); like this now
ОтветитьThank you how can I extract data from fields in the PDF. I know the fields names
ОтветитьExcelent video, How do I extract images?
Ответитьwhat is in the .vscode folder? If you would not mind?
ОтветитьIs it possible to run this without node.js?
ОтветитьCan i modify the pdf document with this library? Like change the content of the hyperlinks, or modifying some words in the title?
ОтветитьThe example does not work. Thumbs down.
ОтветитьError: Cannot find module 'pdfjs-dist/es5/build/pdf'
Ответитьwhat if PDF data is an embedded JPEG ?
ОтветитьGood video, but how do I extract images from a pdf file?
Ответитьthis code is not woking ...please tell your version
Ответитьhow to solved this Uncaught (in promise) TypeError: Cannot read property 'getDocument' of undefined ??
ОтветитьExcelente trabajo
Ответить👍😍
Ответить