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

Quantizes & converts a GdPicture image to an 4-bits indexed color image. 

The color table has a maximum of 16 entries.

C#
public GdPictureStatus ConvertTo4BppQ(
    int ImageID
);
Visual Basic
Public Function ConvertTo4BppQ(
    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.