getBytesPerPixel

open fun getBytesPerPixel(config: Config): Int

Returns the number of bytes required to store each pixel of a Bitmap with the given config.

Defaults to ARGB_8888 if config is null.