net.aerith.misao.image.io
Interface Bitmap

All Known Implementing Classes:
JimiFormat, RawGray, Ppm

public interface Bitmap

The Bitmap is an interface of bitmap. It has a method to save an image using the specified LevelAdjustmentSet.


Method Summary
 void save(MonoImage image, LevelAdjustmentSet set)
          Saves an image buffer into an image file, using the specified LevelAdjustmentSet.
 

Method Detail

save

public void save(MonoImage image,
                 LevelAdjustmentSet set)
          throws java.io.IOException,
                 UnsupportedFileTypeException
Saves an image buffer into an image file, using the specified LevelAdjustmentSet. The url of the image file must be set previously.
Parameters:
image - the monochrome image buffer to save.
Throws:
java.io.IOException - if I/O error occurs.
UnsupportedFileTypeException - if the file type is unsupported.