org.newdawn.slick.imageout
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.
- Author:
- Jon
Method Summary |
void |
saveImage(Image image,
java.lang.String format,
java.io.OutputStream out,
boolean writeAlpha)
Save an Image to an given location |
saveImage
void saveImage(Image image,
java.lang.String format,
java.io.OutputStream out,
boolean writeAlpha)
throws java.io.IOException
- Save an Image to an given location
- Parameters:
image
- The image to be writtenformat
- The format that this writer is expected to be produced inout
- The output stream to which the image data should be writtenwriteAlpha
- True if we should write alpha information to the file
- Throws:
java.io.IOException
- Indicates a failure to write out the image to the specified location
Copyright © 2006 New Dawn Software. All Rights Reserved.