Skip to content

Commit b0a5967

Browse files
committed
Fix render config
1 parent a870ca9 commit b0a5967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check-cmt/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ async fn generate_images() -> anyhow::Result<()> {
271271
.unwrap()
272272
.render_with_config(&render_config)?
273273
.as_image();
274-
document_image.save_with_format(
274+
document_image.to_rgb8().save_with_format(
275275
format!(
276276
"./tmp2/{}.jpg",
277277
&path.file_name().unwrap().to_str().unwrap()[..32]

0 commit comments

Comments
 (0)