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

Converts a GdPicture image to a 1-bit BW indexed color image. This function calculates the luminance of each pixel before applying the conversion. The color table has 2 entries: 1 Black & 1 White.

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