Extract a KernelUnitLength type?
Both filters/lighting.rs
and filters/convolve_matrix.rs
have a kernelUnitLength
attribute which gets parsed into a kernel_unit_length: Option<(f64, f64)>
field. There's a little duplicated code for both; maybe create a new type to hold that attribute and reduce code duplication.