public class BasicResizer extends Object implements Resizer
Resizer
.Constructor and Description |
---|
BasicResizer() |
Modifier and Type | Method and Description |
---|---|
String |
getInterpolation() |
protected Object |
getInterpolationHint() |
BufferedImage |
resize(BufferedImage src,
Coords srcCoords,
Size targetSize) |
void |
setInterpolation(String interpolation)
One of "nearest_neighbor", "bilinear" or "bicubic".
|
public BufferedImage resize(BufferedImage src, Coords srcCoords, Size targetSize)
protected Object getInterpolationHint()
public String getInterpolation()
public void setInterpolation(String interpolation)
Copyright © 2016 Magnolia International Ltd.. All rights reserved.