diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-11-27 20:01:54 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-11-27 20:01:54 +0100 |
| commit | bc997b7c3380d5f516f0aa58efc3dd513d75fafb (patch) | |
| tree | 7c16e93800f6e27bb90d87a1d2caefdfedc4e1de /src/layout/mod.rs | |
| parent | b4f809f1ea8a469d0bdee225f47d7f09bc22aa61 (diff) | |
Export images in PDF 🖼
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 57add044..28b27899 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -8,7 +8,7 @@ mod spacing; mod stack; mod text; -use image::RgbaImage; +use image::RgbImage; use crate::font::SharedFontLoader; use crate::geom::*; @@ -185,7 +185,7 @@ pub enum LayoutElement { #[derive(Debug, Clone, PartialEq)] pub struct ImageElement { /// The image. - pub buf: RgbaImage, + pub buf: RgbImage, /// The document size of the image. pub size: Size, } |
