The bit depth defines how many bits are used per channel. The total bits used for each color
type is determined by channels * bits per channel
as shown in the below table:
| Color type | Channels | 1 | 2 | 4 | 8 | 16 |---------------------|----------|--------------------- | Indexed | 1 | 1 | 2 | 4 | 8 | - | Grayscale | 1 | 1 | 2 | 4 | 8 | 16 | Grayscale and alpha | 2 | - | - | - | 16 | 32 | Truecolor | 3 | - | - | - | 24 | 48 | Truecolor and alpha | 4 | - | - | - | 32 | 64
The color type of the image. The color type plus the bit depth defines the possible range of colors that could be encoded by the image.
The height of the image.
The interlace method of the png.
The width of the image.
Internal details of the png required to decode.