ImageExtensionsGetBitsPerPixel Method
Gets the bits per pixel (BPP) value of the image.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 8.1.0
public static int GetBitsPerPixel(
this Image image
)
<ExtensionAttribute>
Public Shared Function GetBitsPerPixel (
image As Image
) As Integer
public:
[ExtensionAttribute]
static int GetBitsPerPixel(
Image^ image
)
[<ExtensionAttribute>]
static member GetBitsPerPixel :
image : Image -> int
- image Image
- The image to obtain the bits-per-pixel value from.
Int32The bits per pixel (BPP) value of the image.In Visual Basic and C#, you can call this method as an instance method on any object of type
Image. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).