Class TileTiffWriter<TColor, TDepth>
A writer for writing GeoTiff
public class TileTiffWriter<TColor, TDepth> : TiffWriter<TColor, TDepth>, IDisposable where TColor : struct, IColor where TDepth : new()
Type Parameters
TColor
The color type of the image to be written
TDepth
The depth type of the image to be written
- Inheritance
-
TiffWriter<TColor, TDepth>TileTiffWriter<TColor, TDepth>
- Implements
- Inherited Members
Constructors
TileTiffWriter(string, Size, Size)
Create a TitleTiffWriter.
public TileTiffWriter(string fileName, Size imageSize, Size tileSize)
Parameters
fileName
stringThe name of the file to be written to
imageSize
SizeThe size of the image
tileSize
SizeThe tile size in pixels
Properties
TileRowSizeInBytes
Get the number of bytes of a row of data in a tile.
public int TileRowSizeInBytes { get; }
Property Value
TileSize
Get tile size in pixels.
public Size TileSize { get; }
Property Value
TileSizeInBytes
Get the equivalent size for a tile of data as it would be returned in a call to TIFFReadTile or as it would be expected in a call to TIFFWriteTile.
public int TileSizeInBytes { get; }
Property Value
Methods
WriteImage(Image<TColor, TDepth>)
Write the whole image as tile tiff
public override void WriteImage(Image<TColor, TDepth> image)
Parameters
image
Image<TColor, TDepth>The image to be written
WriteTile(int, int, Image<TColor, TDepth>)
Write a tile into the tile tiff
public void WriteTile(int rowNumber, int colNumber, Image<TColor, TDepth> tile)