pub fn bytes_per_type(pixel_type: u32) -> usize
Returns number of bytes used by pixel type (in one component)