| Package | Description |
|---|---|
| de.digitalcollections.iiif.model.image |
Model classes that represent entities from the IIIF Image API (http://iiif.io/api/image/2.1/).
|
| de.digitalcollections.iiif.model.sharedcanvas |
Model classes that represent entities from the IIIF Shared Canvas model (http://iiif.io/api/presentation/2.1/#resource-type-overview).
|
| Modifier and Type | Field and Description |
|---|---|
static ImageApiProfile |
ImageApiProfile.LEVEL_ONE |
static ImageApiProfile |
ImageApiProfile.LEVEL_TWO |
static ImageApiProfile |
ImageApiProfile.LEVEL_ZERO |
| Modifier and Type | Method and Description |
|---|---|
ImageApiProfile |
ImageApiProfile.addFeature(ImageApiProfile.Feature first,
ImageApiProfile.Feature... rest) |
ImageApiProfile |
ImageApiProfile.addFormat(ImageApiProfile.Format first,
ImageApiProfile.Format... rest) |
ImageApiProfile |
ImageApiProfile.addQuality(ImageApiProfile.Quality first,
ImageApiProfile.Quality... rest) |
static ImageApiProfile |
ImageApiProfile.fromUrl(String url) |
ImageApiProfile |
ImageApiProfile.merge(ImageApiProfile other)
Merge two profiles.
|
static ImageApiProfile |
ImageApiProfile.merge(List<Profile> profiles)
Merge multiple profiles into one.
|
| Modifier and Type | Method and Description |
|---|---|
String |
SizeRequest.getCanonicalForm(Dimension nativeSize,
ImageApiProfile profile)
Get the canonical form of this request.
|
String |
ImageApiSelector.getCanonicalForm(Dimension nativeSize,
ImageApiProfile profile,
ImageApiProfile.Quality defaultQuality)
Create the canonical of the Image API request.
|
ImageApiProfile |
ImageApiProfile.merge(ImageApiProfile other)
Merge two profiles.
|
Dimension |
SizeRequest.resolve(Dimension nativeSize,
ImageApiProfile profile) |
Dimension |
SizeRequest.resolve(Dimension nativeSize,
List<Dimension> availableSizes,
ImageApiProfile profile)
Resolve the request to dimensions that can be used for scaling, based on the native size of the image region and the available profile.
|
Dimension |
SizeRequest.resolve(Rectangle region,
ImageApiProfile profile)
Like
SizeRequest.resolve(Dimension, ImageApiProfile), but can be used with a Rectangle, e.g. |
| Constructor and Description |
|---|
ImageService(String identifier,
ImageApiProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
Canvas |
Canvas.addIIIFImage(String serviceUrl,
ImageApiProfile profile) |
Copyright © 2018. All rights reserved.