|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.imageout.ImageIOWriter
public class ImageIOWriter
A utility to write a Slick image out using ImageIO
Constructor Summary | |
---|---|
ImageIOWriter()
|
Method Summary | |
---|---|
void |
saveImage(Image image,
java.lang.String format,
java.io.OutputStream output,
boolean hasAlpha)
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 ImageIOWriter()
Method Detail |
---|
public void saveImage(Image image, java.lang.String format, java.io.OutputStream output, boolean hasAlpha) 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 writtenhasAlpha
- 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 |