bitsPerPixel property

int bitsPerPixel

Implementation

int get bitsPerPixel => image.palette != null ? 2 : image.numChannels << 1;