info.magnolia.imaging.operations.cropresize.resizers
Class BasicResizer
java.lang.Object
info.magnolia.imaging.operations.cropresize.resizers.BasicResizer
- All Implemented Interfaces:
- Resizer
- Direct Known Subclasses:
- MultiStepResizer
public class BasicResizer
- extends Object
- implements Resizer
Basic implementation of a Resizer
.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicResizer
public BasicResizer()
resize
public BufferedImage resize(BufferedImage src,
Coords srcCoords,
Size targetSize)
- Specified by:
resize
in interface Resizer
getInterpolationHint
protected Object getInterpolationHint()
getInterpolation
public String getInterpolation()
setInterpolation
public void setInterpolation(String interpolation)
- One of "nearest_neighbor", "bilinear" or "bicubic".
- See Also:
TODO : make this an enum, when content2bean supports it.
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.