deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.graphics
Class Encoders

java.lang.Object
  extended by org.deegree.graphics.Encoders

Deprecated. use @see org.deegree.ogcwebservices.wpvs.utils.ImageUtil instead; this class will be removed end of 2007

public final class Encoders
extends Object

This class offers three methods to encode a BuffererImage to a gif-, tif, bmp, jpeg- or png-image.

Since:
2.0
Version:
$Revision: 1.6 $, 1.0. $Revision: 1.6 $, $Date: 2006/12/07 08:54:14 $
Author:
Andreas Poth, last edited by: $Author: bezema $

Constructor Summary
Encoders()
          Deprecated.  
 
Method Summary
static void encodeBmp(OutputStream out, BufferedImage img)
          Deprecated.  
static void encodeGif(OutputStream out, BufferedImage img)
          Deprecated.  
static void encodeJpeg(OutputStream out, BufferedImage img)
          Deprecated.  
static void encodeJpeg(OutputStream out, BufferedImage img, float quality)
          Deprecated.  
static void encodePng(OutputStream out, BufferedImage img)
          Deprecated.  
static void encodeTiff(OutputStream out, BufferedImage img)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Encoders

public Encoders()
Deprecated. 
Method Detail

encodeGif

public static void encodeGif(OutputStream out,
                             BufferedImage img)
                      throws IOException
Deprecated. 
Parameters:
out -
img -
Throws:
IOException

encodeBmp

public static void encodeBmp(OutputStream out,
                             BufferedImage img)
                      throws IOException
Deprecated. 
Parameters:
out -
img -
Throws:
IOException

encodePng

public static void encodePng(OutputStream out,
                             BufferedImage img)
                      throws IOException
Deprecated. 
Parameters:
out -
img -
Throws:
IOException

encodeTiff

public static void encodeTiff(OutputStream out,
                              BufferedImage img)
                       throws IOException
Deprecated. 
Parameters:
out -
img -
Throws:
IOException

encodeJpeg

public static void encodeJpeg(OutputStream out,
                              BufferedImage img)
                       throws IOException
Deprecated. 
Parameters:
out -
img -
Throws:
IOException

encodeJpeg

public static void encodeJpeg(OutputStream out,
                              BufferedImage img,
                              float quality)
                       throws IOException
Deprecated. 
Parameters:
out -
img -
quality -
Throws:
IOException

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net