GdPicture.NET.14
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 Color _
) As GdPictureStatus
public GdPictureStatus ConvertTo4BppPal( 
   int ImageID,
   Color[] ColorEntries
)
public function ConvertTo4BppPal( 
    ImageID: Integer;
    ColorEntries: Colorarray of
): GdPictureStatus; 
public function ConvertTo4BppPal( 
   ImageID : int,
   ColorEntries : Color[]
) : GdPictureStatus;
public: GdPictureStatus ConvertTo4BppPal( 
   int ImageID,
   Color[]* ColorEntries
) 
public:
GdPictureStatus ConvertTo4BppPal( 
   int ImageID,
   array<Color>^ 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