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 SizeDecoder.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 SizeSize.ofScaledArea(Size size, long scaledArea) Size.scaled(double amount) Rescales both dimensions by the given amount.Region.size()Returns the value of thesizerecord 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 SizeSize.ofScaledArea(Size size, long scaledArea) Region.oriented(Size fullSize, Orientation orientation) voidvoidInfo.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 SizeOperation.getResultingSize(Size fullSize, ScaleConstraint scaleConstraint) This default implementation returns thefullSizeargument.OperationList.getResultingSize(Size fullSize) Rotate.getResultingSize(Size fullSize, ScaleConstraint scaleConstraint) abstract SizeScale.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 ReductionFactorScale.getReductionFactor(Size reducedSize, ScaleConstraint scaleConstraint, int maxFactor) ScaleByPercent.getReductionFactor(Size reducedSize, ScaleConstraint scaleConstraint, int maxFactor) ScaleByPixels.getReductionFactor(Size reducedSize, ScaleConstraint scaleConstraint, int maxFactor) abstract RegionCrop.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 SizeOperation.getResultingSize(Size fullSize, ScaleConstraint scaleConstraint) This default implementation returns thefullSizeargument.OperationList.getResultingSize(Size fullSize) Rotate.getResultingSize(Size fullSize, ScaleConstraint scaleConstraint) abstract SizeScale.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) booleanColorTransform.hasEffect(Size fullSize, OperationList opList) abstract booleanCrop.hasEffect(Size fullSize, OperationList opList) booleanCropByPercent.hasEffect(Size fullSize, OperationList opList) Fulfills theOperationcontract, butCropByPercent.hasEffect()can be used safely instead.booleanCropByPixels.hasEffect(Size fullSize, OperationList opList) booleanCropToSquare.hasEffect(Size fullSize, OperationList opList) booleanEncode.hasEffect(Size fullSize, OperationList opList) booleanOperation.hasEffect(Size fullSize, OperationList opList) Context-aware counterpart toOperation.hasEffect().booleanDetermines whether the operations are effectively calling for the unmodified source image, based on the given source format.booleanRotate.hasEffect(Size fullSize, OperationList opList) booleanScale.Filter.hasEffect(Size fullSize, OperationList opList) booleanScaleByPercent.hasEffect(Size fullSize, OperationList opList) booleanScaleByPixels.hasEffect(Size fullSize, OperationList opList) booleanSharpen.hasEffect(Size fullSize, OperationList opList) booleanTranspose.hasEffect(Size fullSize, OperationList opList) booleanScale.isHeightUp(Size comparedToSize, ScaleConstraint comparedToScaleConstraint) booleanScale.isUp(Size comparedToSize, ScaleConstraint comparedToScaleConstraint) booleanScale.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) voidCrop.validate(Size fullSize, ScaleConstraint scaleConstraint) Checks the intersection and dimensions.default voidOperation.validate(Size fullSize, ScaleConstraint scaleConstraint) Validates the instance, throwing an exception if invalid.voidChecks that anidentifier is setChecks that anEncodeis present CallsOperation.validate(is.galia.image.Size, is.galia.image.ScaleConstraint)on eachOperationChecks that the resulting scale is not larger than allowed by thescale constraintChecks 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) booleanOverlay.hasEffect(Size fullSize, OperationList opList) booleanOverlayFactory.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) booleanRedaction.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 TypeMethodDescriptionvoidRequestContext.setFullSize(Size fullSize) voidRequestContext.setResultingSize(Size resultingSize) -
Uses of Size in is.galia.resource.iiif
Methods in is.galia.resource.iiif that return SizeModifier and TypeMethodDescriptionstatic SizeImageInfoUtils.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 voidIIIFResource.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 SizeImageInfoUtils.getTileSize(Size fullSize, Size physicalTileSize, int minSize) Calculates an optimal information tile size based on a given physical image tile size.static intImageInfoUtils.maxReductionFactor(Size fullSize, int minDimension) static intImageInfoUtils.minReductionFactor(Size fullSize, long maxPixels) protected voidIIIFResource.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_SCALEin the application configuration.