Uses of Class
de.digitalcollections.iiif.model.image.ResolvingException
-
Packages that use ResolvingException Package Description de.digitalcollections.iiif.model.image Model classes that represent entities from the IIIF Image API (http://iiif.io/api/image/2.1/). -
-
Uses of ResolvingException in de.digitalcollections.iiif.model.image
Methods in de.digitalcollections.iiif.model.image that throw ResolvingException Modifier and Type Method Description static ImageApiSelectorImageApiSelector. fromImageApiUri(URI imageApiUri)static ImageApiSelectorImageApiSelector. fromString(String str)static RegionRequestRegionRequest. fromString(String str)Parse an IIIF Image API compliant region request stringstatic RotationRequestRotationRequest. fromString(String str)Parse a rotation request from an IIIF Image API compliant rotation string.static SizeRequestSizeRequest. fromString(String str)Parse an IIIF Image API compliant size request stringStringImageApiSelector. getCanonicalForm(Dimension nativeSize, ImageApiProfile profile, ImageApiProfile.Quality defaultQuality)Create the canonical of the Image API request.See http://iiif.io/api/image/2.1/#canonical-uri-syntaxStringRegionRequest. getCanonicalForm(Dimension imageDims)StringSizeRequest. getCanonicalForm(Dimension nativeSize, ImageApiProfile profile)Get the canonical form of this request.RectangleRegionRequest. resolve(Dimension imageDims)Resolve the region request into an actual region that can be used for cropping the imageDimensionSizeRequest. resolve(Dimension nativeSize, ImageApiProfile profile)DimensionSizeRequest. 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.DimensionSizeRequest. resolve(Rectangle region, ImageApiProfile profile)LikeSizeRequest.resolve(Dimension, ImageApiProfile), but can be used with aRectangle, e.g.voidImageApiSelector. setRegion(String region)voidImageApiSelector. setRotation(String rotation)voidImageApiSelector. setSize(String size)Constructors in de.digitalcollections.iiif.model.image that throw ResolvingException Constructor Description RegionRequest(double x, double y, double width, double height)Create a RegionRequest request that is expressed using relative values, i.e.the "pct:x,y,w,h" syntaxRotationRequest(int rotation)RotationRequest(BigDecimal rotation, boolean mirror)Create a new rotation request.SizeRequest(int width, int height, boolean bestFit)Create a size request for a given width and height and signal that the server can decide to render smaller resolutions as it deems neccessary.SizeRequest(Integer width, Integer height)Create a size request for a given width or height.SizeRequest(BigDecimal percentage)Create a size request that scaled both dimensions according to a fixed percentage, maintaining the aspect ratio.
-