GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / ConvertTo4BppPal Method
GdPicture image identifier.
Array of Color Objects. All color entries of the palette.





In This Topic
ConvertTo4BppPal Method (GdPictureImaging)
In This Topic
Converts a GdPicture image to a 4-bit indexed color image using custom color palette. The color table has a maximum of 16 entries.
Syntax
'Declaration
 
Public Function ConvertTo4BppPal( _
   ByVal ImageID As Integer, _
   ByVal ColorEntries() As GdPictureColor _
) As GdPictureStatus
public GdPictureStatus ConvertTo4BppPal( 
   int ImageID,
   GdPictureColor[] ColorEntries
)
public function ConvertTo4BppPal( 
    ImageID: Integer;
    ColorEntries: GdPictureColorarray of
): GdPictureStatus; 
public function ConvertTo4BppPal( 
   ImageID : int,
   ColorEntries : GdPictureColor[]
) : GdPictureStatus;
public: GdPictureStatus ConvertTo4BppPal( 
   int ImageID,
   GdPictureColor[]* ColorEntries
) 
public:
GdPictureStatus ConvertTo4BppPal( 
   int ImageID,
   array<GdPictureColor>^ ColorEntries
) 

Parameters

ImageID
GdPicture image identifier.
ColorEntries
Array of Color Objects. All color entries of the palette.

Return Value

A member of the GdPictureStatus enumeration.
See Also