GdPicture.NET Reference Guide
ConvertTo4BppPal Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : ConvertTo4BppPal Method
GdPicture image identifier.
Array of Color Objects. All color entries of the palette.
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

Reference

GdPictureImaging Class
GdPictureImaging Members