You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this caused by https://github.com/k-yle/pdf-to-img or something else? It seems like pdf-to-img uses https://github.com/mozilla/pdfjs-dist which uses an old 3.x release of pdfjs, while the latest version of pdfjs is 4.x. This might be possible to fix. It seems like they can't upgrade pdfjs because of the breaking changes and migrating from commonjs to ESM. Perhaps we could make a fork of the library which creates separate ESM and commonjs builds? k-yle/pdf-to-img#234
Could we render and parse the PDF in a different way? For example Google vision API based on an input PDF?
Is this caused by https://github.com/k-yle/pdf-to-img or something else? It seems like
pdf-to-img
uses https://github.com/mozilla/pdfjs-dist which uses an old3.x
release ofpdfjs
, while the latest version ofpdfjs
is4.x
. This might be possible to fix. It seems like they can't upgradepdfjs
because of the breaking changes and migrating from commonjs to ESM. Perhaps we could make a fork of the library which creates separate ESM and commonjs builds? k-yle/pdf-to-img#234Could we render and parse the PDF in a different way? For example Google vision API based on an input PDF?
Alternatively, we could use:
https://www.npmjs.com/package/pdf2pic
The text was updated successfully, but these errors were encountered: