GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / GetPixelArrayByte8bpp Method
GdPicture image identifier.
Output parameter. Array of pixel indexes. each entry of the array is a reference to a palette index [0 - 255].
The left source pixel of the area.
The top source pixel of the area.
The width of the area in pixel.
The height of the area in pixel.





In This Topic
GetPixelArrayByte8bpp Method (GdPictureImaging)
In This Topic
Stores into an array of bytes the pixel indexes of an area of a paletized 8bpp GdPicture image.
Syntax
'Declaration
 
Public Function GetPixelArrayByte8bpp( _
   ByVal ImageID As Integer, _
   ByRef Data() As Byte, _
   ByVal SrcLeft As Integer, _
   ByVal SrcTop As Integer, _
   ByVal Width As Integer, _
   ByVal Height As Integer _
) As GdPictureStatus
public GdPictureStatus GetPixelArrayByte8bpp( 
   int ImageID,
   ref byte[] Data,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
)
public function GetPixelArrayByte8bpp( 
    ImageID: Integer;
   var  Data: Bytearray of;
    SrcLeft: Integer;
    SrcTop: Integer;
    Width: Integer;
    Height: Integer
): GdPictureStatus; 
public function GetPixelArrayByte8bpp( 
   ImageID : int,
   Data : byte[],
   SrcLeft : int,
   SrcTop : int,
   Width : int,
   Height : int
) : GdPictureStatus;
public: GdPictureStatus GetPixelArrayByte8bpp( 
   int ImageID,
   ref byte[]* Data,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
) 
public:
GdPictureStatus GetPixelArrayByte8bpp( 
   int ImageID,
   array<byte>^% Data,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
) 

Parameters

ImageID
GdPicture image identifier.
Data
Output parameter. Array of pixel indexes. each entry of the array is a reference to a palette index [0 - 255].
SrcLeft
The left source pixel of the area.
SrcTop
The top source pixel of the area.
Width
The width of the area in pixel.
Height
The height of the area in pixel.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method works only with 8bpp image.
See Also