vikus-IIIF-generator
vikus-IIIF-generator copied to clipboard
add IIIF v2 support
should be possible
Hi Christopher Can you point in any direction what would need to change to be able to support v2.1? What did you find out so far? We might be able to contribute to this!
Thanks for your awesome tool!
Hi Sebastian,
that should be here: https://github.com/cpietsch/vikus-IIIF-generator/blob/main/scripts/manifestCrawler.py#L54 and here https://github.com/cpietsch/vikus-IIIF-generator/blob/main/scripts/manifest.py#L59
Basically everywhere where a if ...version == 2:
is. It is a bit hardcoded like that and maybe a cleaner refactoring would be nice.
You can test it by running python manifest.py
directly and see if it works.