|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.grids.utilities.ErrorHandler uk.ac.leeds.ccg.andyt.grids.exchange.ImageExporter
public class ImageExporter
Class for exporting to images.
Field Summary |
---|
Fields inherited from class uk.ac.leeds.ccg.andyt.grids.utilities.ErrorHandler |
---|
handleOutOfMemoryErrorFalse, handleOutOfMemoryErrorTrue, memoryReserve |
Constructor Summary | |
---|---|
ImageExporter()
Creates a new instance of ImageExporter |
Method Summary | |
---|---|
void |
toGreyScaleImage(Grid2DSquareCellAbstract grid2DSquareCell,
java.io.File file,
java.lang.String type)
Writes this grid as a Grey scale image |
Methods inherited from class uk.ac.leeds.ccg.andyt.grids.utilities.ErrorHandler |
---|
clearMemoryReserve, initMemoryReserve, initMemoryReserve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageExporter()
Method Detail |
---|
public void toGreyScaleImage(Grid2DSquareCellAbstract grid2DSquareCell, java.io.File file, java.lang.String type)
file
- The File exported to.type
- The name of the type of image to be written e.g. "png", "jpeg"
TODO: need different toImage methods based on grid (see end of method)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |