ERImageProcessor Class Reference

Inherits er::attachment::thumbnail::IERImageProcessor.

Inherited by ImageIOImageProcessor, ImageMagickImageProcessor, Java2DImageProcessor, and SipsImageProcessor.

Collaboration diagram for ERImageProcessor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void thumbnail (int resizeWidth, int resizeHeight, File inputFile, File outputFile, ERMimeType outputMimeType) throws IOException
void thumbnail (int resizeWidth, int resizeHeight, File inputFile, File outputFile) throws IOException

Static Public Member Functions

static IERImageProcessor imageProcessor ()

Static Public Attributes

static volatile IERImageProcessor _imageProcessor
static final Logger log = Logger.getLogger(ERImageProcessor.class)


Member Function Documentation

static IERImageProcessor imageProcessor (  )  [static]

Returns the best IImageProcesor to use in your environment.

Returns:
the best IImageProcesor to use in your environment

void thumbnail ( int  resizeWidth,
int  resizeHeight,
File  inputFile,
File  outputFile,
ERMimeType  outputMimeType 
) throws IOException

Provides a shortcut to thumbnailing an image using some default values that produce decent quality thumbnail outputs.

Parameters:
resizeWidth the maximum resize width
resizeHeight the maximum resize height
inputFile the input file to thumbnail
outputFile the output file to write the thumbnail into
outputMimeType the output mime type
Exceptions:
IOException if the thumbnailing fails

Implements IERImageProcessor.

void thumbnail ( int  resizeWidth,
int  resizeHeight,
File  inputFile,
File  outputFile 
) throws IOException

Provides a shortcut to thumbnailing an image using some default values that produce decent quality thumbnail outputs.

Parameters:
resizeWidth the maximum resize width
resizeHeight the maximum resize height
inputFile the input file to thumbnail
outputFile the output file to write the thumbnail into
Exceptions:
IOException if the thumbnailing fails

Implements IERImageProcessor.


Member Data Documentation

final Logger log = Logger.getLogger(ERImageProcessor.class) [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:42 2012 for Project Wonder by  doxygen 1.5.8