Property BitsPerPixel
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
BitsPerPixel
Get the number of bits per pixel of the opaque image.
public int BitsPerPixel { get; }
Property Value
- int
The number of bits per pixel of the image without alpha channel.
Remarks
The value of this property does not include bits for an alpha channel.
PNG and TIFF images, and also uncompressed raster bytes might contain an alpha channel
when BackgroundColor property equals to null
.
The lower the value, the less bytes will be used by the image.
Possible values for this property:
1
for bitonal images8
for grayscale images24
for RGB images32
for CMYK images