mask for constant
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user