User Tools

Site Tools


api:dk11:delphi:gisfilegdal.tgis_filegdal.readrasterbandrgb_integer_integer_integer_integer_integer_tbytes_integer_integer

Table of Contents

TGIS_FileGDAL.ReadRasterBandRGB method

DK11 for Delphi | GisFileGDAL.TGIS_FileGDAL.ReadRasterBandRGB | Constructors | Fields | Methods | Properties

Read raster band rgb data.

Available also on: .NET | Java.

Syntax

// Delphi
public
  procedure ReadRasterBandRGB(
    const _id : Integer;
    const _xOff : Integer;
    const _yOff : Integer;
    const _xSize : Integer;
    const _ySize : Integer;
    const _buffer : TBytes;
    const _bufXSize : Integer;
    const _bufYSize : Integer
  );
// C++ Builder
public:
  void ReadRasterBandRGB(
    const int _id,
    const int _xOff,
    const int _yOff,
    const int _xSize,
    const int _ySize,
    TBytes* const _buffer,
    const int _bufXSize,
    const int _bufYSize
  );

Parameters

Name Type Description
_id Integer band id
_xOff Integer the x coordinate of the top left corner of the rectangular region of the image to be read/written.
_yOff Integer the y coordinate of the top left corner of the rectangular region of the image.
_xSize Integer the width of the rectangular region of the image.
_ySize Integer the height of the rectangular region of the image.
_buffer TBytes pointer to an in memory buffer.
_bufXSize Integer the width of the buffer in pixels.
_bufYSize Integer the height of the buffer in pixels.
2020/05/07 01:07

Page Tools