Interface ImageService

  • All Known Implementing Classes:
    ImageServiceImpl

    public interface ImageService
    Service providing image processing functionality.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.time.Instant getImageModificationDate​(java.lang.String identifier)  
      void processImage​(java.lang.String identifier, de.digitalcollections.iiif.model.image.ImageApiSelector selector, de.digitalcollections.iiif.model.image.ImageApiProfile profile, java.io.OutputStream os)  
      void readImageInfo​(java.lang.String identifier, de.digitalcollections.iiif.model.image.ImageService info)  
    • Method Detail

      • getImageModificationDate

        default java.time.Instant getImageModificationDate​(java.lang.String identifier)
                                                    throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
        Throws:
        de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
      • readImageInfo

        void readImageInfo​(java.lang.String identifier,
                           de.digitalcollections.iiif.model.image.ImageService info)
                    throws UnsupportedFormatException,
                           java.lang.UnsupportedOperationException,
                           de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException,
                           java.io.IOException
        Throws:
        UnsupportedFormatException
        java.lang.UnsupportedOperationException
        de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
        java.io.IOException
      • processImage

        void processImage​(java.lang.String identifier,
                          de.digitalcollections.iiif.model.image.ImageApiSelector selector,
                          de.digitalcollections.iiif.model.image.ImageApiProfile profile,
                          java.io.OutputStream os)
                   throws InvalidParametersException,
                          java.lang.UnsupportedOperationException,
                          UnsupportedFormatException,
                          de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException,
                          java.io.IOException
        Throws:
        InvalidParametersException
        java.lang.UnsupportedOperationException
        UnsupportedFormatException
        de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
        java.io.IOException