GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / ConvertTo4BppQ Method
GdPicture image identifier.





In This Topic
ConvertTo4BppQ Method (GdPictureImaging)
In This Topic
Quantizes & converts a GdPicture image to a 4-bit indexed color image. The color table has a maximum of 16 entries.
Syntax
'Declaration
 
Public Function ConvertTo4BppQ( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus ConvertTo4BppQ( 
   int ImageID
)
public function ConvertTo4BppQ( 
    ImageID: Integer
): GdPictureStatus; 
public function ConvertTo4BppQ( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus ConvertTo4BppQ( 
   int ImageID
) 
public:
GdPictureStatus ConvertTo4BppQ( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
Color image quantization is a process that reduces the number of distinct colors used in an image, usually with the intention that the new image should be as visually similar as possible to the original image.
See Also