summaryrefslogtreecommitdiff
path: root/crates/typst-pdf/src/image.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-pdf/src/image.rs')
-rw-r--r--crates/typst-pdf/src/image.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/typst-pdf/src/image.rs b/crates/typst-pdf/src/image.rs
index 63329b42..2e99eef5 100644
--- a/crates/typst-pdf/src/image.rs
+++ b/crates/typst-pdf/src/image.rs
@@ -3,9 +3,10 @@ use std::io::Cursor;
use image::{DynamicImage, GenericImageView, Rgba};
use pdf_writer::{Chunk, Filter, Finish, Ref};
-use typst::geom::ColorSpace;
-use typst::image::{Image, ImageKind, RasterFormat, RasterImage, SvgImage};
use typst::util::Deferred;
+use typst::visualize::{
+ ColorSpace, Image, ImageKind, RasterFormat, RasterImage, SvgImage,
+};
use crate::{deflate, PdfContext};