Show / Hide Table of Contents

Delegate TiffRgbaImage.GetDelegate

Delegate for "get" method (the method that is called to produce RGBA raster).

Namespace: BitMiracle.LibTiff.Classic
Assembly: BitMiracle.LibTiff.NET.dll
Syntax
public delegate bool GetDelegate(TiffRgbaImage img, int[] raster, int offset, int width, int height);
Parameters
Type Name Description
TiffRgbaImage img

An instance of the TiffRgbaImage class.

System.Int32[] raster

The raster (the buffer to place decoded image data to).

System.Int32 offset

The zero-based byte offset in raster at which to begin storing decoded bytes.

System.Int32 width

The raster width.

System.Int32 height

The raster height.

Returns
Type Description
System.Boolean

true if the image was successfully read and decoded; otherwise, false.

Remarks

A default set of methods is provided to read and convert/copy raw image data to 8-bit packed ABGR format rasters. Applications can supply alternate method for this.

To setup custom "get" method please use Get property.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX