iiif-prezi3 icon indicating copy to clipboard operation
iiif-prezi3 copied to clipboard

Expand behaviour of `create_canvas_from_iiif` to allow setting the properties used in the ID

Open digitaldogsbody opened this issue 2 years ago • 1 comments

Per @giacomomarchioro's suggestion in: https://github.com/iiif-prezi/iiif-prezi3/pull/139#pullrequestreview-1213445322

shall we provide the ability to set the format and the id of the body as args of the function, in case I want to show lower resolution or rotated images in the create_canvas_from_iiif?

I think this could be a useful thing to add, possibly as simple as adding the parameters of an Image API URL to the function with the defaults that are currently used in the explicit string version (although some thought needed for how this would handle the full->max change between v2 and v3).

digitaldogsbody avatar Dec 24 '22 17:12 digitaldogsbody

Pass in region, size, rotation and format default to full/full and full/max.

Thank about what to do with file extension and corresponding mimetype in format.

Defer until we have a use case.

glenrobson avatar Jan 13 '23 14:01 glenrobson