BitsPerPixel Property

Summary
Gets or sets the bits per pixel.
Syntax
C#
C++/CLI
public int BitsPerPixel { get; set; } 
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int ); 
} 

Property Value

The resulting image pixel depth. Possible values are: Value01 to 812162432

Remarks

The following lists the possible values and their associated meaning:

Value Meaning
0 Keep the original file's pixel depth (do not convert).
1 to 8 The specified bits per pixel in the resulting image.
12 12 bits per pixel in the resulting image.
16 16 bits per pixel in the resulting image.
24 24 bits per pixel in the resulting image.
32 32 bits per pixel in the resulting image.
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.