harmonic.mz.util
Class ImageSaver

java.lang.Object
  |
  +--harmonic.mz.util.ImageSaver

public class ImageSaver
extends java.lang.Object


Constructor Summary
ImageSaver()
           
 
Method Summary
static void save(java.io.OutputStream file, java.awt.image.BufferedImage image, java.lang.String type)
          Saves image with various encodings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSaver

public ImageSaver()
Method Detail

save

public static void save(java.io.OutputStream file,
                        java.awt.image.BufferedImage image,
                        java.lang.String type)
                 throws java.lang.Exception
Saves image with various encodings. "GIF", "TIFF", "PNG", "JPEG", "BMP"

java.lang.Exception