Skip to content

Commit

Permalink
Update codebase for image-0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
Icelk committed Mar 23, 2024
1 parent 33c4ff9 commit 147755f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn write_image(encoder: impl image::ImageEncoder, image: DynamicImage) {
image.as_bytes(),
image.width(),
image.height(),
image.color(),
image.color().into(),
)
.unwrap();
}
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,7 @@ impl<A: Attractor + Send + Sync + 'static, T: ColorTransform> ParallelRenderer<A
self.threads.len()
}
/// Wait for all threads to finish.
#[allow(clippy::missing_panics_doc)]
pub fn shutdown(self) {
self.job_sender.send(None);
self.threads
Expand Down

0 comments on commit 147755f

Please sign in to comment.