Hello,
we're looking into replacing the dependencies of the Zotero-OCR plugin on external programs with pure Javascript. It seems that calling pdf.js functions would be a nice first step, but I don't know how to actually import the module in the plugin code. I see a resource/reader/pdf/build/pdf.mjs module included in an omni.ja file of the Zotero application , but I don't understand how to translate this information into a working Components.utils.import() parameter (assuming this is the way to go, of course).
Any advice will be appreciated :-)
Best regards,
Alain Borel