ImageGear Professional DLL v17.1 for Windows Accusoft
IG_ISIS_TAG_BITSPERSAMPLE
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ISIS Component API Reference > ISIS Component Tags Reference > Scanning Mode Tags > IG_ISIS_TAG_BITSPERSAMPLE

Glossary Item Box

Number of bits per component. 0x0102  258

IG_ISIS_TAG_BITSPERSAMPLE allows you to specify or determine the number of bits in each sample. (A sample is one color plane of an image, so a binary or grayscale image has one sample, while a color image has three or four samples, depending on the color model (RGB, HSB, or CMYK) being used.)

Type:

IG_ISIS_TAG_TYPE_SHORT

Drivers:

All source and destination drivers.

Values:

Value Meaning
1 One bit per sample.
4 Four bits per sample.
8 Eight bits per sample.

Tag Dependencies and Dependent Tags:

The following tags together define the color format of the image data:

IG_ISIS_TAG_SAMPLESPERPIXEL  IG_ISIS_TAG_BITSPERSAMPLE  IG_ISIS_TAG_PHOTOMETRICINTERPRETATION  IG_ISIS_TAG_COMPRESSION  IG_ISIS_TAG_PLANARCONFIGURATION

These tags relate to color format as shown in the following table:

Samples PerPixel BitsPerSample Photometric Interpretation Image Type
1 1 WHITE0 or WHITE1 Binary (black/white)
1 4 WHITE0 typical WHITE1 possible 16-level gray
8 256-level gray
1 4 PALETTE 16-color palette
8 256-color palette
3 1 RGB 3-bit color
8 24-bit color

See Also

IG_ISIS_TAG_SAMPLESPERPIXEL

IG_ISIS_TAG_PHOTOMETRICINTERPRETATION

IG_ISIS_TAG_PLANARCONFIGURATION

©2012. Accusoft Corporation. All Rights Reserved.