bytesPerPixel

Returns number of bytes per pixel required by ColorType. Returns zero if .getColorType is ColorType.UNKNOWN.

Return

bytes in pixel