From 1c8edebf03d2fc4640d500dde9e84dcabf520c7b Mon Sep 17 00:00:00 2001 From: "Alexander G. Morano" Date: Wed, 18 Jun 2025 12:48:35 -0400 Subject: [PATCH] * fixed resize_matte mode to use full mask/alpha --- README.md | 3 +++ core/create.py | 2 +- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec0bae3..6ac862c 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,9 @@ Nodes that have been migrated: [Migrated to Jovi_GLSL](https://github.com/Amorano/Jovi_GLSL) +**2025/06/18** @2.1.14: +* fixed resize_matte mode to use full mask/alpha + **2025/06/18** @2.1.13: * allow hex codes for vectors * updated to cozy_comfyui 0.0.36 diff --git a/core/create.py b/core/create.py index c408c77..f8a1c73 100644 --- a/core/create.py +++ b/core/create.py @@ -115,7 +115,7 @@ Generate a constant image or mask of a specified size and color. It can be used pB = channel_solid(w, h, matte) pA = image_blend(pB, pA, mask) - mask = image_invert(mask, 1) + #mask = image_invert(mask, 1) pA = image_mask_add(pA, mask) if mode != EnumScaleMode.MATTE: diff --git a/pyproject.toml b/pyproject.toml index 65d7222..42361eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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.13" +version = "2.1.14" license = { file = "LICENSE" } readme = "README.md" authors = [{ name = "Alexander G. Morano", email = "amorano@gmail.com" }]