info.magnolia.imaging.operations.cropresize.resizers
Class MultiStepResizer
java.lang.Object
info.magnolia.imaging.operations.cropresize.resizers.BasicResizer
info.magnolia.imaging.operations.cropresize.resizers.MultiStepResizer
- All Implemented Interfaces:
- Resizer
public class MultiStepResizer
- extends BasicResizer
Highly inspired by http://today.java.net/lpt/a/362
This method will use a multi-step scaling technique that provides higher quality than the usual
one-step technique (only useful in downscaling cases, where targetWidth
or targetHeight
is
smaller than the original dimensions, and generally only when the BILINEAR
hint is specified).
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiStepResizer
public MultiStepResizer()
resize
public BufferedImage resize(BufferedImage src,
Coords srcCoords,
Size targetSize)
- Specified by:
resize
in interface Resizer
- Overrides:
resize
in class BasicResizer
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.