add svg_read support (basic)

This commit is contained in:
Henry Schimke
2023-01-12 13:46:39 -06:00
parent a17a33e7e3
commit ec0512722d
5 changed files with 201 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ pub use buffered_image_luminance_source::*;
mod PlanarYUVLuminanceSourceTestCase;
#[cfg(test)]
mod RGBLuminanceSourceTestCase;
mod rgb_luminance_source_test_case;
pub type EncodingHintDictionary = HashMap<EncodeHintType, EncodeHintValue>;
pub type DecodingHintDictionary = HashMap<DecodeHintType, DecodeHintValue>;
@@ -99,3 +99,8 @@ pub mod helpers;
mod luma_luma_source;
pub use luma_luma_source::*;
#[cfg(feature = "svg_read")]
mod svg_luminance_source;
#[cfg(feature = "svg_read")]
pub use svg_luminance_source::*;