You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Get & Set Std. GdPicture Image Properties > GetBitDepth Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.GetBitDepth Method

Returns the bit depth of a GdPicture image.

C#
public int GetBitDepth(
    int ImageID
);
Visual Basic
Public Function GetBitDepth(
    ByVal ImageID As Integer
) As Integer
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Returns

Can be: 

  1. For 1 bit per pixel image.
  2. For 4 bits per pixel image.
  3. For 8 bits per pixel image.
  4. For 16 bits per pixel image.
  5. For 24 bits per pixel image.
  6. For 32 bits per pixel image.
  7. For 48 bits per pixel image.
  8. For 64 bits per pixel image.
 

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