pub fn validate_bits_per_component(value: Option<i64>) -> Option<u32>
Validate a file-supplied bits-per-component, falling back to 8 when absent.