←Select platform

BitsPerPixel Property

Summary
Gets or sets the desired thumbnail bits per pixel.
Syntax
C#
VB
Objective-C
C++
Java
public int BitsPerPixel { get; set; } 
Public Property BitsPerPixel As Integer 
@property (nonatomic, assign) NSUInteger bits 
public int getBitsPerPixel() 
public void setBitsPerPixel(int value) 
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int ); 
} 

Property Value

The desired thumbnail bits per pixel. The following are valid values:

Value Meaning
0 Default bits per pixel stored in the file.
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.
48 48 bits per pixel in the resulting image.
64 64 bits per pixel in the resulting image.
Example

For an example, refer to RasterCodecs.ReadThumbnail.

Requirements

Target Platforms

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

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