mask for constant

This commit is contained in:
Alexander G. Morano
2025-06-11 15:05:11 -04:00
parent cda1974b02
commit bd5bdc6caf
3 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ Generate a constant image or mask of a specified size and color. It can be used
mask = image_convert(mask, 1)
pB = channel_solid(w, h, matte)
pA = image_blend(pB, pA, 255 - mask)
pA = image_blend(pB, pA, mask)
pA = image_mask_add(pA, mask)
if mode != EnumScaleMode.MATTE:
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "jovimetrix"
description = "Animation via tick. Parameter manipulation with wave generator. Unary and Binary math support. Value convert int/float/bool, VectorN and Image, Mask types. Shape mask generator. Stack images, do channel ops, split, merge and randomize arrays and batches. Load images & video from anywhere. Dynamic bus routing. Save output anywhere! Flatten, crop, transform; check colorblindness or linear interpolate values."
version = "2.1.11"
version = "2.1.12"
license = { file = "LICENSE" }
readme = "README.md"
authors = [{ name = "Alexander G. Morano", email = "amorano@gmail.com" }]
+6 -7
View File
@@ -190,14 +190,13 @@ export async function nodeAddDynamic(nodeType, prefix, dynamic_type='*') {
}
idx += 1;
}
// check that the last slot is a dynamic entry....
let last = this.inputs[this.inputs.length-1];
if (last.type != dynamic_type || last.name != prefix) {
this.addInput(prefix, dynamic_type);
}
nodeFitHeight(this);
}
// check that the last slot is a dynamic entry....
let last = this.inputs[this.inputs.length-1];
if (last.type != dynamic_type || last.name != prefix) {
this.addInput(prefix, dynamic_type);
}
nodeFitHeight(this);
return me;
}
}