diff --git a/src/util/helper.rs b/src/util/helper.rs index ba88ec26..d7f632c8 100644 --- a/src/util/helper.rs +++ b/src/util/helper.rs @@ -1,5 +1,6 @@ use pdf_writer::types::{BlendMode, LineCapStyle, LineJoinStyle, MaskType}; use pdf_writer::{Content, Name, Rect}; +#[cfg(feature = "image")] use usvg::Size; use usvg::{LineCap, LineJoin, NonZeroRect, Transform};