Interface ImageWriter

All Known Implementing Classes:
ImageIOWriter, TGAWriter

public interface ImageWriter

The description of any class that can produce data to an output stream reprsenting some image in memory.


Method Summary
 void saveImage(Image image, java.lang.String format, out, boolean writeAlpha)
          Save an Image to an given location

Method Detail


void saveImage(Image image,
               java.lang.String format,
               boolean writeAlpha)
Save an Image to an given location

image - The image to be written
format - The format that this writer is expected to be produced in
out - The output stream to which the image data should be written
writeAlpha - True if we should write alpha information to the file
Throws: - Indicates a failure to write out the image to the specified location

Copyright © 2006 New Dawn Software. All Rights Reserved.