mirror of
https://github.com/typst/typst
synced 2025-08-15 15:38:33 +08:00
Reformat
This commit is contained in:
parent
2e141dcf9b
commit
8d58e747c8
@ -188,7 +188,11 @@ fn convert_raster(
|
|||||||
i
|
i
|
||||||
});
|
});
|
||||||
|
|
||||||
krilla::image::Image::from_jpeg_with_icc(image_data.into(), icc_profile.map(|i| i.into()), interpolate)
|
krilla::image::Image::from_jpeg_with_icc(
|
||||||
|
image_data.into(),
|
||||||
|
icc_profile.map(|i| i.into()),
|
||||||
|
interpolate,
|
||||||
|
)
|
||||||
} else {
|
} else {
|
||||||
krilla::image::Image::from_custom(PdfImage::new(raster), interpolate)
|
krilla::image::Image::from_custom(PdfImage::new(raster), interpolate)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user