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

Converts bitonal images to an enhanced 8-bits gray-scaled indexed color image. 

The color table has 256 entries.

C#
public GdPictureStatus ConvertBitonalToGrayScale(
    int ImageID, 
    int SoftenValue
);
Visual Basic
Public Function ConvertBitonalToGrayScale(
    ByVal ImageID As Integer, 
    ByVal SoftenValue As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
SoftenValue 
Soften factor between 1 and 100.  
Returns

A member of the GdPictureStatus enumeration.

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