Methods
void storebmp(File f)
store the image in file f in Windows Bitmap (bmp) format
static Image24 loadbmp(File f)
load an image stored as a Windows bitmap file
this method returns null in case of failure. It fails
if the bmp file is not a true color bmp file.
static Image24 loadjpg(File f)
load an image stored as a jpeg file. Note that this method calls a standard java function that also works for gif files: a hidden feature.
void storejpg(File f)
store the image in file f in jpeg format. We did not write the jpeg encoder ourselves, so credit goes to
-
James R. Weeks and BioElectroMech. Visit BioElectroMech at www.obrador.com. Email James@obrador.com.
-
Florian Raemy
-
the Independent Jpeg Group's Jpeg 6a library, Copyright Thomas G. Lane
static Image24 loadppm(File f)
load an Image stored as portable pixelmap in File f.
void storeppm(File f)
store the image in file f in portable pixmap (ppm) format
[click here if you see no menu]