You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Color Depth Conversion & Colors Reduction > ConvertTo8BppQ > ConvertTo8BppQ Method (Integer)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.ConvertTo8BppQ Method (Integer)

Quantizes & converts a GdPicture image to an 8-bits indexed color image. This function uses a color quantization algorithm. 

The color table has a maximum of 256 entries.

C#
public GdPictureStatus ConvertTo8BppQ(
    int ImageID
);
Visual Basic
Public Function ConvertTo8BppQ(
    ByVal ImageID As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Returns

A member of the GdPictureStatus enumeration.

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.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.