Resize
class Resize(outputWidth: Int, outputHeight: Int, interpolation: InterpolationType, renderingSpeed: RenderingSpeed, enableAntialiasing: Boolean) : Operation<BufferedImage, BufferedImage>
Content copied to clipboard
This image preprocessor defines the Resize operation.
Resize operations creates new image with the following sizes:
resizedWidth = outputWidth
resizedHeight = outputHeight
The final image quality depends on the following tunable parameters: interpolation, renderingSpeed, enableAntialiasing.
Constructors
Resize
Link copied to clipboard
fun Resize(outputWidth: Int = 100, outputHeight: Int = 100, interpolation: InterpolationType = InterpolationType.BILINEAR, renderingSpeed: RenderingSpeed = RenderingSpeed.MEDIUM, enableAntialiasing: Boolean = true)
Content copied to clipboard
Functions
Properties
enableAntialiasing
Link copied to clipboard
interpolation
Link copied to clipboard
outputHeight
Link copied to clipboard
outputWidth
Link copied to clipboard
renderingSpeed
Link copied to clipboard