|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.imageout.TGAWriter
public class TGAWriter
A utility to save TGA's given a Slick image.
Constructor Summary | |
---|---|
TGAWriter()
|
Method Summary | |
---|---|
void |
saveImage(Image image,
java.lang.String format,
java.io.OutputStream output,
boolean writeAlpha)
Save an Image to an given location |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TGAWriter()
Method Detail |
---|
public void saveImage(Image image, java.lang.String format, java.io.OutputStream output, boolean writeAlpha) throws java.io.IOException
ImageWriter
saveImage
in interface ImageWriter
image
- The image to be writtenformat
- The format that this writer is expected to be produced inoutput
- The output stream to which the image data should be writtenwriteAlpha
- True if we should write alpha information to the file
java.io.IOException
- Indicates a failure to write out the image to the specified locationImageWriter.saveImage(org.newdawn.slick.Image, java.lang.String, java.io.OutputStream, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |