TWAIN ActiveX/Plug-in Windows/Mac HTTP Control/SDK

ImageBitsPerPixel Property

Description

The number of bits in each image pixel (or bit depth). This is a runtime, read-only property.

Data type

Integer

Support information

ActiveX Edition Plug-in Edition Mac Edition
Since V1.0 Since V1.0 Since V6.4

Syntax

ObjectName. ImageBitsPerPixel

Remarks

24-bit R-G-B has BitsPerPixel = 24. 8-bit Grayscale has BitsPerPixel = 8. Black and White has BitsPerPixel = 1.

ImageBitsPerPixel property, along with other properties about the current image information, is valid only in OnPreTransfer and OnPostTransfer event.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

See also

ImagePixelType property, ImageLength property, ImageWidth property, ImageXResolution property, ImageYResolution property




font size="1"> TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.