We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a870ca9 commit b0a5967Copy full SHA for b0a5967
check-cmt/src/main.rs
@@ -271,7 +271,7 @@ async fn generate_images() -> anyhow::Result<()> {
271
.unwrap()
272
.render_with_config(&render_config)?
273
.as_image();
274
- document_image.save_with_format(
+ document_image.to_rgb8().save_with_format(
275
format!(
276
"./tmp2/{}.jpg",
277
&path.file_name().unwrap().to_str().unwrap()[..32]
0 commit comments