Uses of Class
com.itextpdf.pdfocr.onnx.util.Dimensions2D
Packages that use Dimensions2D
-
Uses of Dimensions2D in com.itextpdf.pdfocr.onnx.util
Methods in com.itextpdf.pdfocr.onnx.util that return Dimensions2DModifier and TypeMethodDescriptionstatic Dimensions2DBufferedImageUtil.calcOutputDimensions(BufferedImage image, ImageResizeOptions resizeOptions) Based on the provided ImageResizeOptions, calculates the dimensions of the output image, to where there original image should be scaled and placed with padding.static Dimensions2DBufferedImageUtil.calcOutputDimensions(Collection<BufferedImage> images, ImageResizeOptions resizeOptions) Based on the provided ImageResizeOptions, calculates the dimensions to which a batch of images should be scaled and padded.