summaryrefslogtreecommitdiff
path: root/crates/typst-cli/src/compile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-cli/src/compile.rs')
-rw-r--r--crates/typst-cli/src/compile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/compile.rs b/crates/typst-cli/src/compile.rs
index b5cf0e54..80e19f1b 100644
--- a/crates/typst-cli/src/compile.rs
+++ b/crates/typst-cli/src/compile.rs
@@ -220,7 +220,7 @@ fn export_image(
match fmt {
ImageExportFormat::Png => {
let pixmap =
- typst::export::render(frame, command.ppi / 72.0, Color::WHITE);
+ typst_render::render(frame, command.ppi / 72.0, Color::WHITE);
pixmap
.save_png(path)
.map_err(|err| eco_format!("failed to write PNG file ({err})"))?;