net.sourceforge.openutils.mgnlmedia.media.processors
Class FitInImageResolutionProcessor
java.lang.Object
net.sourceforge.openutils.mgnlmedia.media.processors.BaseImageResolutionProcessor
net.sourceforge.openutils.mgnlmedia.media.processors.FitInImageResolutionProcessor
- All Implemented Interfaces:
- ImageResolutionProcessor
public class FitInImageResolutionProcessor
- extends BaseImageResolutionProcessor
Implementation of ImageResolutionProcessor that render image to fit inside the required resolution.
- Version:
- $Id: $
- Author:
- molaschi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FitInImageResolutionProcessor
public FitInImageResolutionProcessor()
getImageForResolution
public BufferedImage getImageForResolution(BufferedImage original,
int x,
int y,
Map<String,String> parameters)
- Process image
- Parameters:
original - original imagex - required widthy - required heightparameters - parameters
- Returns:
- resized image
Copyright © 2008-2010 Openmind. All Rights Reserved.