Uses of Record Class
is.galia.image.Size
Packages that use Size
Package
Description
Contains classes related to reading/decoding and writing/coding of images
and image metadata.
Classes for properties associated with an image.
Contains image processing operations and related classes.
Package for classes related to string and image overlays.
HTTP resource classes and server request handler class.
-
Uses of Size in is.galia.codec
Methods in is.galia.codec that return SizeModifier and TypeMethodDescriptionAbstractImageIODecoder.getSize
(int imageIndex) Decoder.getSize
(int imageIndex) AbstractImageIODecoder.getThumbnailSize
(int imageIndex, int thumbIndex) default Size
Decoder.getThumbnailSize
(int imageIndex, int thumbnailIndex) The default implementation throws anUnsupportedOperationException
.AbstractImageIODecoder.getTileSize
(int imageIndex) Decoder.getTileSize
(int imageIndex) -
Uses of Size in is.galia.codec.jpeg
Methods in is.galia.codec.jpeg that return Size -
Uses of Size in is.galia.image
Methods in is.galia.image that return SizeModifier and TypeMethodDescriptionOrientation.adjustedSize
(Size size) ScaleConstraint.getConstrainedSize
(Size fullSize) ScaleConstraint.getResultingSize
(Size fullSize) Info.getSize()
Info.getSize
(int imageIndex) Info.Image.getSize()
Info.Image.getTileSize()
Size.inverted()
static Size
Size.ofScaledArea
(Size size, long scaledArea) Size.scaled
(double amount) Rescales both dimensions by the given amount.Region.size()
Returns the value of thesize
record component.Methods in is.galia.image with parameters of type SizeModifier and TypeMethodDescriptionOrientation.adjustedSize
(Size size) ScaleConstraint.getConstrainedSize
(Size fullSize) ScaleConstraint.getResultingSize
(Size fullSize) static Size
Size.ofScaledArea
(Size size, long scaledArea) Region.oriented
(Size fullSize, Orientation orientation) void
void
Info.Image.setTileSize
(Size tileSize) Info.Builder.withTileSize
(Size size) Method parameters in is.galia.image with type arguments of type SizeConstructors in is.galia.image with parameters of type Size -
Uses of Size in is.galia.operation
Methods in is.galia.operation that return SizeModifier and TypeMethodDescriptionCrop.getResultingSize
(Size fullSize, ScaleConstraint scaleConstraint) default Size
Operation.getResultingSize
(Size fullSize, ScaleConstraint scaleConstraint) This default implementation returns thefullSize
argument.OperationList.getResultingSize
(Size fullSize) Rotate.getResultingSize
(Size fullSize, ScaleConstraint scaleConstraint) abstract Size
Scale.getResultingSize
(Size imageSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) Scale.getResultingSize
(Size fullSize, ScaleConstraint scaleConstraint) ScaleByPercent.getResultingSize
(Size imageSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) ScaleByPixels.getResultingSize
(Size imageSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) Methods in is.galia.operation with parameters of type SizeModifier and TypeMethodDescriptionabstract ReductionFactor
Scale.getReductionFactor
(Size reducedSize, ScaleConstraint scaleConstraint, int maxFactor) ScaleByPercent.getReductionFactor
(Size reducedSize, ScaleConstraint scaleConstraint, int maxFactor) ScaleByPixels.getReductionFactor
(Size reducedSize, ScaleConstraint scaleConstraint, int maxFactor) abstract Region
Crop.getRegion
(Size reducedSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) Computes an effective crop rectangle in source image coordinates.Crop.getRegion
(Size fullSize, ScaleConstraint scaleConstraint) CropByPercent.getRegion
(Size reducedSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) CropByPixels.getRegion
(Size reducedSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) CropToSquare.getRegion
(Size reducedSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) abstract double[]
Scale.getResultingScales
(Size fullSize, ScaleConstraint scaleConstraint) double[]
ScaleByPercent.getResultingScales
(Size fullSize, ScaleConstraint scaleConstraint) double[]
ScaleByPixels.getResultingScales
(Size fullSize, ScaleConstraint scaleConstraint) Crop.getResultingSize
(Size fullSize, ScaleConstraint scaleConstraint) default Size
Operation.getResultingSize
(Size fullSize, ScaleConstraint scaleConstraint) This default implementation returns thefullSize
argument.OperationList.getResultingSize
(Size fullSize) Rotate.getResultingSize
(Size fullSize, ScaleConstraint scaleConstraint) abstract Size
Scale.getResultingSize
(Size imageSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) Scale.getResultingSize
(Size fullSize, ScaleConstraint scaleConstraint) ScaleByPercent.getResultingSize
(Size imageSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) ScaleByPixels.getResultingSize
(Size imageSize, ReductionFactor reductionFactor, ScaleConstraint scaleConstraint) boolean
ColorTransform.hasEffect
(Size fullSize, OperationList opList) abstract boolean
Crop.hasEffect
(Size fullSize, OperationList opList) boolean
CropByPercent.hasEffect
(Size fullSize, OperationList opList) Fulfills theOperation
contract, butCropByPercent.hasEffect()
can be used safely instead.boolean
CropByPixels.hasEffect
(Size fullSize, OperationList opList) boolean
CropToSquare.hasEffect
(Size fullSize, OperationList opList) boolean
Encode.hasEffect
(Size fullSize, OperationList opList) boolean
Operation.hasEffect
(Size fullSize, OperationList opList) Context-aware counterpart toOperation.hasEffect()
.boolean
Determines whether the operations are effectively calling for the unmodified source image, based on the given source format.boolean
Rotate.hasEffect
(Size fullSize, OperationList opList) boolean
Scale.Filter.hasEffect
(Size fullSize, OperationList opList) boolean
ScaleByPercent.hasEffect
(Size fullSize, OperationList opList) boolean
ScaleByPixels.hasEffect
(Size fullSize, OperationList opList) boolean
Sharpen.hasEffect
(Size fullSize, OperationList opList) boolean
Transpose.hasEffect
(Size fullSize, OperationList opList) boolean
Scale.isHeightUp
(Size comparedToSize, ScaleConstraint comparedToScaleConstraint) boolean
Scale.isUp
(Size comparedToSize, ScaleConstraint comparedToScaleConstraint) boolean
Scale.isWidthUp
(Size comparedToSize, ScaleConstraint comparedToScaleConstraint) ColorTransform.toMap
(Size fullSize, ScaleConstraint scaleConstraint) Crop.toMap
(Size fullSize, ScaleConstraint scaleConstraint) Encode.toMap
(Size fullSize, ScaleConstraint scaleConstraint) Returns a map in the following format:Operation.toMap
(Size fullSize, ScaleConstraint scaleConstraint) Rotate.toMap
(Size fullSize, ScaleConstraint scaleConstraint) Returns a map in the following format:Scale.Filter.toMap
(Size fullSize, ScaleConstraint scaleConstraint) Scale.toMap
(Size fullSize, ScaleConstraint scaleConstraint) Sharpen.toMap
(Size fullSize, ScaleConstraint scaleConstraint) Transpose.toMap
(Size fullSize, ScaleConstraint scaleConstraint) void
Crop.validate
(Size fullSize, ScaleConstraint scaleConstraint) Checks the intersection and dimensions.default void
Operation.validate
(Size fullSize, ScaleConstraint scaleConstraint) Validates the instance, throwing an exception if invalid.void
Checks that anidentifier is set
Checks that anEncode
is present CallsOperation.validate(is.galia.image.Size, is.galia.image.ScaleConstraint)
on eachOperation
Checks that the resulting scale is not larger than allowed by thescale constraint
Checks that the resulting pixel area is greater than zero and less than or equal toKey.MAX_PIXELS
(if set) These are all general validations that are not endpoint-specific. -
Uses of Size in is.galia.operation.overlay
Methods in is.galia.operation.overlay that return SizeMethods in is.galia.operation.overlay with parameters of type SizeModifier and TypeMethodDescriptionOverlay.getResultingSize
(Size fullSize) boolean
Overlay.hasEffect
(Size fullSize, OperationList opList) boolean
OverlayFactory.shouldApplyToImage
(Size outputImageSize) ImageOverlay.toMap
(Size fullSize, ScaleConstraint scaleConstraint) StringOverlay.toMap
(Size fullSize, ScaleConstraint scaleConstraint) -
Uses of Size in is.galia.operation.redaction
Methods in is.galia.operation.redaction with parameters of type SizeModifier and TypeMethodDescriptionRedaction.getResultingRegion
(Size fullSize, ScaleConstraint scaleConstraint, Crop appliedCrop) boolean
Redaction.hasEffect
(Size fullSize, OperationList opList) Redaction.toMap
(Size fullSize, ScaleConstraint scaleConstraint) -
Uses of Size in is.galia.resource
Methods in is.galia.resource that return SizeMethods in is.galia.resource with parameters of type SizeModifier and TypeMethodDescriptionvoid
RequestContext.setFullSize
(Size fullSize) void
RequestContext.setResultingSize
(Size resultingSize) -
Uses of Size in is.galia.resource.iiif
Methods in is.galia.resource.iiif that return SizeModifier and TypeMethodDescriptionstatic Size
ImageInfoUtils.getTileSize
(Size fullSize, Size physicalTileSize, int minSize) Calculates an optimal information tile size based on a given physical image tile size.Methods in is.galia.resource.iiif with parameters of type SizeModifier and TypeMethodDescriptionprotected void
IIIFResource.constrainSizeToMaxPixels
(Size requestedSize, OperationList opList) When the size expressed in the endpoint URI ismax
, and the resulting image dimensions are larger thanKey.MAX_PIXELS
, the image must be downscaled to fit that area.static Size
ImageInfoUtils.getTileSize
(Size fullSize, Size physicalTileSize, int minSize) Calculates an optimal information tile size based on a given physical image tile size.static int
ImageInfoUtils.maxReductionFactor
(Size fullSize, int minDimension) static int
ImageInfoUtils.minReductionFactor
(Size fullSize, long maxPixels) protected void
IIIFResource.validateScale
(Size orientedFullSize, Scale scale, Status invalidStatus) Ensures that the effective scale (considering scale constraint and any scale operation) is not greater than the value ofKey.MAX_SCALE
in the application configuration.