A simple demo of a node.js api for downloading a manifest to pdf.
You specify which canvases to add to your pdf through a list of canvas ranges.
Supports both IIIF v2 and v3 manifests.
-
Clone the repo
-
Install dependancies
npm install -
Run the server
npm run start -
Navigate to http:localhost:5000
A page that lets you enter a file name, manifest url, and list of canvas ranges will show up.
| Property | Example |
|---|---|
| Filename | my-manifest |
| Manifest url | https://www-demo.canadiana.ca/iiif/oocihm.65600/manifest |
| Canvases | 1-10, 15, 20-25 (This will take pages 1 to 10, 15, and 20 to 25 from your manifest and add them to your pdf.) |
A pdf will automatically download after the server gets the manifest json and compiles the pdf with the canvas images.
