GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / ConvertTo8BppQ Method / ConvertTo8BppQ(Int32) Method
GdPicture image identifier.





In This Topic
ConvertTo8BppQ(Int32) Method
In This Topic
Quantizes & converts a GdPicture image to an 8-bit indexed color image. This method uses a color quantization algorithm. The color table has a maximum of 256 entries.
Syntax
'Declaration
 
Public Overloads Function ConvertTo8BppQ( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus ConvertTo8BppQ( 
   int ImageID
)
public function ConvertTo8BppQ( 
    ImageID: Integer
): GdPictureStatus; 
public function ConvertTo8BppQ( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus ConvertTo8BppQ( 
   int ImageID
) 
public:
GdPictureStatus ConvertTo8BppQ( 
   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