Add mix node

This commit is contained in:
mtvare6
2025-06-05 06:28:22 +05:30
parent 76ecdc8f1b
commit 208f8e4d84
2 changed files with 31 additions and 1 deletions

View File

@@ -646,7 +646,7 @@ async fn threshold<T: Adjust<Color>>(
image
}
trait Blend<P: Pixel> {
pub trait Blend<P: Pixel> {
fn blend(&self, under: &Self, blend_fn: impl Fn(P, P) -> P) -> Self;
}
impl Blend<Color> for Color {