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: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: mschneider $
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
Copyright © 2011. All Rights Reserved.