Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

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
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
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

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.

1 participant