org.springbyexample.util.image
Interface ImageProcessor

All Known Implementing Classes:
ImageProcessorImpl

public interface ImageProcessor

Image processor.

Author:
David Winterfeldt

Method Summary
 int getImageScaleWidth()
          Gets image width for scaling.
 void scaleImage(File imageFile, File newFile)
          Creates a scaled new file.
 void scaleImage(InputStream in, OutputStream out, String formatName)
          Creates a scaled new file.
 void setImageScaleWidth(int imageScaleWidth)
          Sets image width for scaling.
 

Method Detail

getImageScaleWidth

int getImageScaleWidth()
Gets image width for scaling.


setImageScaleWidth

void setImageScaleWidth(int imageScaleWidth)
Sets image width for scaling.


scaleImage

void scaleImage(File imageFile,
                File newFile)
                throws IOException
Creates a scaled new file.

Throws:
IOException

scaleImage

void scaleImage(InputStream in,
                OutputStream out,
                String formatName)
                throws IOException
Creates a scaled new file.

Throws:
IOException


Copyright © 2008-2009 Spring by Example. All Rights Reserved.