Fix transform logic for mask node (#1134)

Fix transform logic for mask node + other fixes

* Fixes the transform logic for the mask node reverting the breakage
introduced by the color pr

* Actually modifies the pixel values

* Fix storage format for images

* Export images as unassociated alpha
This commit is contained in:
Dennis Kobert
2023-04-16 10:15:58 +02:00
committed by GitHub
parent 59db45bb36
commit e84a81ca56
3 changed files with 15 additions and 10 deletions

View File

@@ -57,7 +57,7 @@ impl Alpha for Color {
fn alpha(&self) -> f32 {
self.alpha
}
fn multiply_alpha(&self, alpha: Self::AlphaChannel) -> Self {
fn multiplied_alpha(&self, alpha: Self::AlphaChannel) -> Self {
Self {
red: self.red * alpha,
green: self.green * alpha,