tify
tify copied to clipboard
[WIP] Add tileFormat option
Tify/OpenSeadragon uses jpg
as the default format. This pull request adds an option to Tify, so that one can instruct OpenSeadragon to use another format (such as png
, webp
etc.).
Note: IIIF Image API 3.0 provides preferredFormats
for that.
Thanks for the PR!
What do you think, @t11r and @paulpestov?
We should remove the dist files from this pull request, do some minimal code clean-up, and add an E2E test for this feature. Otherwise, looks great, no objections.
Added an issue https://github.com/tify-iiif-viewer/tify/issues/173 and closing this since we have to redo it anyway for IIIF 3.