FreeHEP API
Version v1.1

org.freehep.graphicsio
Class ImageWriter

java.lang.Object
  |
  +--org.freehep.graphicsio.ImageWriter

public class ImageWriter
extends Object

Version:
$Id: ImageWriter.java,v 1.1 2002/07/30 19:11:15 duns Exp $
Author:
Mark Donszelmann

Constructor Summary
ImageWriter()
           
 
Method Summary
 int write(OutputStream os, BufferedImage image, Color bkg)
           
 int write(OutputStream os, Image image, ImageObserver observer, Color bkg)
           
 int write(OutputStream os, Image image, int width, int height, Color bkg)
           
protected  int write(OutputStream os, int red, int green, int blue, int alpha)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageWriter

public ImageWriter()
Method Detail

write

public int write(OutputStream os,
                 BufferedImage image,
                 Color bkg)
          throws IOException
IOException

write

public int write(OutputStream os,
                 Image image,
                 ImageObserver observer,
                 Color bkg)
          throws IOException
IOException

write

public int write(OutputStream os,
                 Image image,
                 int width,
                 int height,
                 Color bkg)
          throws IOException
IOException

write

protected int write(OutputStream os,
                    int red,
                    int green,
                    int blue,
                    int alpha)
             throws IOException
Parameters:
os - cascaded stream, the one returned by openImageStream
IOException

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.