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.
public GdPictureStatus ConvertTo8BppQ( int ImageID );
Public Function ConvertTo8BppQ( ByVal ImageID As Integer ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
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.
|