net.xoetrope.optional.laf
Interface ImageConverter

All Known Implementing Classes:
PngTranscoderWrapper, TiffTranscoderWrapper

public interface ImageConverter

An interface to support image conversion

Copyright (c) Xoetrope Ltd., 2001-2005
License: see license.txt $Revision: 1.1 $


Method Summary
 boolean convert(java.io.InputStream is, java.io.OutputStream os, int width, int height)
          Convert one image format to another
 

Method Detail

convert

boolean convert(java.io.InputStream is,
                java.io.OutputStream os,
                int width,
                int height)
Convert one image format to another

Parameters:
is - the input stream for the source image
os - the output steam for the resulting/converted image
width - the desired image width
height - the desired image height
Returns:
true for successful conversion, false otherwise