net.sourceforge.openutils.mgnlmedia.media.crop
Class PzcImageProcessor

java.lang.Object
  extended by net.sourceforge.openutils.mgnlmedia.media.processors.BaseImageResolutionProcessor
      extended by net.sourceforge.openutils.mgnlmedia.media.processors.ResizeCropCenteredImageResolutionProcessor
          extended by net.sourceforge.openutils.mgnlmedia.media.crop.PzcImageProcessor
All Implemented Interfaces:
ImageResolutionProcessor

public class PzcImageProcessor
extends ResizeCropCenteredImageResolutionProcessor

Version:
$Id: $
Author:
molaschi

Constructor Summary
PzcImageProcessor()
           
 
Method Summary
 BufferedImage getImageForResolution(BufferedImage original, int x, int y, Map<String,String> parameters)
          Process image
 
Methods inherited from class net.sourceforge.openutils.mgnlmedia.media.processors.BaseImageResolutionProcessor
fill, fitIn, fitIn, resizeInOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PzcImageProcessor

public PzcImageProcessor()
Method Detail

getImageForResolution

public BufferedImage getImageForResolution(BufferedImage original,
                                           int x,
                                           int y,
                                           Map<String,String> parameters)
Process image

Specified by:
getImageForResolution in interface ImageResolutionProcessor
Overrides:
getImageForResolution in class ResizeCropCenteredImageResolutionProcessor
Parameters:
original - original image
x - required width
y - required height
parameters - parameters
Returns:
resized image


Copyright © 2008-2011 Openmind. All Rights Reserved.