Mercurial > hgrepos > Python2 > PyMuPDF
diff mupdf-source/platform/wasm/examples/super-simple-viewer/README.md @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mupdf-source/platform/wasm/examples/super-simple-viewer/README.md Mon Sep 15 11:43:07 2025 +0200 @@ -0,0 +1,14 @@ +# Super Simple viewer + +This is an extremely simple example of using the MuPDF.js module from a web browser. + +The page rendering runs directly on the main thread, so this viewer may cause +your browser to slow down while it is loading the PDF document! + +To start a local HTTP server and open your browser to the viewer: + + npx http-server ../.. -b -o examples/super-simple-viewer + +Then click the "Browse..." button to load a local PDF file into the viewer. +The viewer will then render all the pages in the PDF and insert them as +images into the document.
