bitsPerComponent
bitsPerComponent is a property used in computer graphics and image processing to specify the number of bits used to represent each individual color component within a pixel. Color components typically refer to the amounts of red, green, and blue light that make up a pixel's color. Sometimes, an alpha channel is also included, which represents transparency.
For example, in an RGB image, there are three components: red, green, and blue. If bitsPerComponent is
Higher values of bitsPerComponent allow for a greater range of colors and smoother color transitions, reducing