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

SpecialServer #30

Closed
tomcrane opened this issue Oct 25, 2020 · 5 comments
Closed

SpecialServer #30

tomcrane opened this issue Oct 25, 2020 · 5 comments

Comments

@tomcrane
Copy link
Contributor

Handles requests for /full/ images that Orchestrator hasn't matched to a thumb size.
May still forward on to image server cluster. Or might do some other image processing directly, possibly even from S3.
Avoid mixing /full/ load with tile load.

.NET Core service.

@tomcrane
Copy link
Contributor Author

Have a good look at https://github.com/imazen/imageflow-dotnet-server

Consider contributing an IIIF handler to it.

@tomcrane
Copy link
Contributor Author

tomcrane commented Nov 3, 2020

Could Engine use SpecialServer to make thumbs? Instead of or as well as Appetiser?
And could it do them on demand, after the fact - e.g., if you added some extra sizes to the thumbnail policy for an image. The Thumbs service, just before it returns a 404 for a non existent thumb size, could check the policy and see if it is actually a supported size and create a new thumb on demand - either by reducing the next thumb size up using the above imageflow, or if the new size is bigger than any existing thumbs, by invoking imageflow on the source image?

NB imageflow does NOT support JP2 and has no plans to.
But SpecialServer might have its own personal Cantaloupe / IIP to call on, as well, maybe...

@tomcrane
Copy link
Contributor Author

@donaldgray
Copy link
Member

Have a good look at https://github.com/imazen/imageflow-dotnet-server

Consider contributing an IIIF handler to it.

As imageflow doesn't support JP2 this doesn't seem like an option, instead use a custom Cantalopue with an s3 source

donaldgray added a commit to dlcs/image-server-node-cantaloupe that referenced this issue Aug 5, 2022
Incoming S3 source format corresponds to possible formats store in DLCS
ImageLocation table. See dlcs/protagonist#30
@donaldgray
Copy link
Member

Implemented this via the Cantaloupe delegate system.

This will allow us to use an S3Source in Cantaloupe, with the image source being ImageLocation.S3. The delegate will parse this to get bucket + key.

Added this to the same Cantaloupe image that we are already using as the change is only adding a delegates.rb file to the image - the usage of it is then controlled via properties.

@donaldgray donaldgray moved this from In progress to Review in Wellcome 2022 Aug 8, 2022
Wellcome 2022 automation moved this from Review to Done Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants