Skip to content

[PARKED] feat: mupdfjs with asm.js and not with wasm build to extract metadata and cover img#2671

Draft
panaC wants to merge 1 commit intodevelopfrom
mupdf-cover
Draft

[PARKED] feat: mupdfjs with asm.js and not with wasm build to extract metadata and cover img#2671
panaC wants to merge 1 commit intodevelopfrom
mupdf-cover

Conversation

@panaC panaC self-assigned this Nov 20, 2024
@panaC panaC changed the title feat: mupdfjs with wasm build to extract metadata and cover img feat: mupdfjs with asm.js and not with wasm build to extract metadata and cover img Nov 20, 2024
@panaC panaC changed the title feat: mupdfjs with asm.js and not with wasm build to extract metadata and cover img [POC] feat: mupdfjs with asm.js and not with wasm build to extract metadata and cover img Nov 20, 2024
@panaC
Copy link
Copy Markdown
Member Author

panaC commented Nov 20, 2024

TODO next step : need to compile to .wasm and try to load it from scratch with this example

@panaC
Copy link
Copy Markdown
Member Author

panaC commented Nov 20, 2024

Note: Make sure that your .wasm files have Content-Type: application/wasm. Otherwise they will be rejected by WebAssembly.

protocol.registerFileProtocol("pdfjs", async (request, callback) => {

https://www.electronjs.org/docs/latest/api/protocol#protocolregisterfileprotocolscheme-handler-deprecated

@danielweck
Copy link
Copy Markdown
Member

BIG PDF that causes performance issues with PDF.js https://cdrdv2.intel.com/v1/dl/getContent/671200

@danielweck danielweck changed the title [POC] feat: mupdfjs with asm.js and not with wasm build to extract metadata and cover img [PARKED] feat: mupdfjs with asm.js and not with wasm build to extract metadata and cover img Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants