|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object O2Plib.image.PixWriter
public class PixWriter
Field Summary | |
---|---|
boolean |
dbugFlag
To track additional loading info |
static java.lang.String |
VERSION
Version for this module |
Constructor Summary | |
---|---|
PixWriter()
PixWriter() - Constructor to use when reading an image file |
Method Summary | |
---|---|
void |
setDebugFlag(boolean dbugFlag)
setDebugFlag() - flag to track additional loading info |
static boolean |
writePixFile(char[] pix,
boolean scaleToMaxFlag,
java.lang.String pixFile,
int pixWidth,
int pixHeight)
writePixFile() - write image buffer pix to a GIF or JPEG file. |
static boolean |
writePixFile(int[] pix,
boolean scaleToMaxFlag,
java.lang.String pixFile,
int pixWidth,
int pixHeight)
writePixFile() - write image buffer pix to a GIF or JPEG file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VERSION
public boolean dbugFlag
Constructor Detail |
---|
public PixWriter()
Method Detail |
---|
public void setDebugFlag(boolean dbugFlag)
dbugFlag
- - debug flag statuspublic static boolean writePixFile(int[] pix, boolean scaleToMaxFlag, java.lang.String pixFile, int pixWidth, int pixHeight)
pix
- is the input image bufferscaleToMaxFlag
- is true if scale max of image to 255pixFile,
- is the full path for output file namepixWidth
- is the image widthpixHeight
- is the image height
public static boolean writePixFile(char[] pix, boolean scaleToMaxFlag, java.lang.String pixFile, int pixWidth, int pixHeight)
pix
- is the input image bufferscaleToMaxFlag
- is true if scale max of image to 255pixFile,
- is the full path for output file namepixWidth
- is the image widthpixHeight
- is the image height
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |