Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/platform/wasm/examples/super-simple-viewer/README.md @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 1 # Super Simple viewer | |
| 2 | |
| 3 This is an extremely simple example of using the MuPDF.js module from a web browser. | |
| 4 | |
| 5 The page rendering runs directly on the main thread, so this viewer may cause | |
| 6 your browser to slow down while it is loading the PDF document! | |
| 7 | |
| 8 To start a local HTTP server and open your browser to the viewer: | |
| 9 | |
| 10 npx http-server ../.. -b -o examples/super-simple-viewer | |
| 11 | |
| 12 Then click the "Browse..." button to load a local PDF file into the viewer. | |
| 13 The viewer will then render all the pages in the PDF and insert them as | |
| 14 images into the document. |
