| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImageHandler
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 | 
|---|
boolean saveImage(String fileName,
                  Image image)
fileName - Name of image file to save.image - Image to save.
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 | ||||||||