alpha-blend
Alpha blending and compositing in (optionally) zero-dependency Rust.
Examples
BlendMode::Clear

BlendMode::Source

BlendMode::Destination

BlendMode::SourceOver

BlendMode::DestinationOver

BlendMode::SourceIn

BlendMode::DestinationIn

BlendMode::SourceOut

BlendMode::DestinationOut

BlendMode::SourceAtop

BlendMode::DestinationAtop

BlendMode::Xor

BlendMode::Plus

Contributing
This project uses just to run commands the same way as the CI:
cargo just checkto check formatting and lints.cargo just coverageto generate and preview code coverage.cargo just docto generate and preview docs.cargo just testto run tests.
For a full list of commands, see the Justfile.