net.sourceforge.openutils.mgnlmedia.media.processors
Interface ImageResolutionProcessor

All Known Implementing Classes:
BaseImageResolutionProcessor, FitInAndFillWithBandsImageResolutionProcessor, FitInImageResolutionProcessor, ResizeCropCenteredImageResolutionProcessor, ResizeNoCropImageResolutionProcessor

public interface ImageResolutionProcessor

Interface for processors that resize an image. The implementation are associated with a control char by module configuration managed by ImageProcessorsManager.

Version:
$Id: $
Author:
molaschi

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

Method Detail

getImageForResolution

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

Parameters:
original - original image
x - required width
y - required height
parameters - parameters
Returns:
resized image


Copyright © 2008-2010 Openmind. All Rights Reserved.