90 days ago · Tech · 0 comments

I revisited an old Go package I've been using over the past few years to build IIIF manifests — nothing fancy, just some glue around structs and JSON. From that I built a new CLI, mkiiif, to generate IIIF manifests from static images (tiled or not). There are plenty of similar tools out there (iiif-tiler, tile-iiif, biiif, ...) but none quite matched the CLI ergonomics I needed for my daily workflow. I moved the library to this new repository atomotic/iiif. The tool mkiiif can be installed downloading a binary release or with Go: go install github.com/docuverse/iiif/cmd/mkiiif@latest mkiiif can generate an IIIF manifest from a source directory containing images, or from a PDF file that gets exploded and converted to images via mupdf. Output images can be either untiled or static tiles generated with vips. Both approaches produce a IIIF Level 0 compliant layout, static files that can be served from any HTTP server, with no image server required. Untiled is less efficient for large…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.