|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the behaviour of all image handlers. An image handler should be able to write a given image data as a file.
Method Summary | |
boolean |
saveImage(String fileName,
byte[] imageArray,
int imgWidth,
int imgHeight)
Should save the given array of 24 bit colours as a file with the given name and dimensions. |
boolean |
saveImage(String fileName,
Image image)
Should save the given image as a file with the given name. |
Method Detail |
public boolean saveImage(String fileName, Image image)
fileName
- Name of image file to save.image
- Image to save.
public boolean saveImage(String fileName, byte[] imageArray, int imgWidth, int imgHeight)
fileName
- Name of image file to save.imageArray
- BGR colours stored in byte array (3 bytes per colour).imgWidth
- Width of image to save.imgHeight
- Height of image to save.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |