fix: make disable-hdri default to fix compile error
By making the disable-hdri feature a default, the `quantum_range()` function will be one which computes a value for `QuantumRange` based on a constant that rust-bindgen seemingly does not have any problem discovering. cargo test passes
This commit is contained in:
@ -350,9 +350,7 @@ impl MagickWand {
|
||||
16 => Ok(65535.0f64),
|
||||
32 => Ok(4294967295.0f64),
|
||||
64 => Ok(18446744073709551615.0f64),
|
||||
_ => Err(MagickError(
|
||||
("Quantum depth must be one of 8, 16, 32 or 64"),
|
||||
)),
|
||||
_ => Err(MagickError("Quantum depth must be one of 8, 16, 32 or 64")),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user