Delegate Tiff.FaxFillFunc
Delegate for a method used to image decoded spans.
Namespace: BitMiracle.LibTiff.Classic
Assembly: BitMiracle.LibTiff.NET.dll
Syntax
public delegate void FaxFillFunc(byte[] buffer, int offset, int[] runs, int thisRunOffset, int nextRunOffset, int width);
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buffer | The buffer to place decoded image data to. |
System.Int32 | offset | The zero-based byte offset in |
System.Int32[] | runs | The array of black and white run lengths (white then black). |
System.Int32 | thisRunOffset | The zero-based offset in |
System.Int32 | nextRunOffset | The zero-based offset in |
System.Int32 | width | The width in pixels of the row. |
Remarks
To override the default method used to image decoded spans please set FAXFILLFUNC tag with an instance of this delegate.
Fill methods can assume the runs
array has room for at least
width
runs and can overwrite data in the runs
array as needed (e.g. to append zero runs to bring the count up to a nice multiple).