Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect IIIF region parameter that represents full image #781

Closed
donaldgray opened this issue Apr 3, 2024 · 0 comments · Fixed by #800
Closed

Detect IIIF region parameter that represents full image #781

donaldgray opened this issue Apr 3, 2024 · 0 comments · Fixed by #800
Assignees
Labels
enhancement New feature or request jira marks issue for crossposting to JIRA orchestrator thumbs

Comments

@donaldgray
Copy link
Member

donaldgray commented Apr 3, 2024

The Orchestrator has special handling for /full/ IIIF region parameter to allow for more efficient serving of images using pre-generated thumbnails or via special-server to save load on the tile handling image-server.

We should add logic to Orchestrator to detect IIIF region parameters that don't specify /full/ but the region represent the full image. The cached OrchestrationAsset contains enough information to calculate this.

Do we also need to update thumbs handler to recognise these as full, or is that already handled in calculations?

Region parameters that could represent /full/ are:

  • /x,y,w,h/ format requests where x + y are 0 and w + h match those of the source image. E.g. for a 2234x5466 image this would be 0,0,2234,5466.
  • /square/ format requests where the origin image is already square (Asset.Width == Asset.Height).
@tomcrane tomcrane added enhancement New feature or request thumbs labels Apr 3, 2024
@donaldgray donaldgray added the jira marks issue for crossposting to JIRA label Apr 5, 2024
@griffri griffri self-assigned this Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jira marks issue for crossposting to JIRA orchestrator thumbs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants