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

Converts a GdPicture image to a 16-bits RGB565 color image. 

5 bits are used for the red component, 6 bits are used for the green component, and 5 bits are used for the blue component.

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