org.deegree.coverage.raster.io.imageio
Class IIORasterDataWriter
java.lang.Object
org.deegree.coverage.raster.io.imageio.IIORasterDataWriter
public class IIORasterDataWriter
- extends Object
- Version:
- $Revision: 19533 $, $Date: 2009-09-08 09:44:44 +0200 (Di, 08 Sep 2009) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: rbezema $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IIORasterDataWriter
public IIORasterDataWriter()
saveRasterDataToFile
public static void saveRasterDataToFile(RasterData sourceRaster,
File file,
String format)
throws IOException
- Saves a RasterData to file.
The format must be supported by JAI (i.e. BMP, JPEG, PNG, PNM, TIFF)
- Parameters:
sourceRaster
- RasterData to savefile
- file for output raster imageformat
- format for output raster
- Throws:
IOException
saveRasterDataToStream
public static void saveRasterDataToStream(RasterData sourceRaster,
OutputStream out,
String format)
throws IOException
- Saves a RasterData to stream.
The format must be supported by JAI (i.e. BMP, JPEG, PNG, PNM, TIFF)
- Parameters:
sourceRaster
- RasterData to saveout
- stream for output raster imageformat
- format for output raster
- Throws:
IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>