DocumentationDocumentationAboutAboutIIIF Image API ↗IIIF Image API ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Introduction
    • Options
    • Deploying via the AWS Serverless Application Repository
    • Deploying via the Command Line
      • Introduction
      • AWS CloudFormation
      • Terraform
    • Deleting the App
  • Source Images
  • Custom Sharp Layer
    • Cross-Origin Request Sharing (CORS)
    • Request Response Functions
  • Testing
  • Notes
  • Contributing
  • Guide
  • Contributors
    • Iiif
    • Samvera
Question? Give us feedback → (opens in a new tab)Edit this page
Documentation
Custom Sharp Layer

Custom Sharp Layer

This lambda uses the Sharp layer from https://github.com/samvera-labs/sharp-jp2-lambda-layer (opens in a new tab) in order to get a version of Sharp with jp2 support.

You can build your own local version using that code and then deploy your own layer and set that layer in your SAM template.

Source ImagesCross-Origin Request Sharing (CORS)

MIT 2025 © Serverless IIIF.