Skip to content

Commit

Permalink
updated QUEUE and QUEUE TOO progress while loading all images as …
Browse files Browse the repository at this point in the history
…"batch"
  • Loading branch information
Amorano committed Feb 6, 2025
1 parent 1b62fc3 commit 83fb0cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ You can colorize nodes via their `title background`, `node body` or `title text`

## UPDATES

**2024/02/06** @1.7.05:
* updated `QUEUE` and `QUEUE TOO` progress while loading all images as "batch"

**2024/02/05** @1.7.02:
* polish on regex parsing for uniforms -- supports are much more lenient on spacing

Expand Down
5 changes: 2 additions & 3 deletions core/utility/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,14 +404,13 @@ def run(self, ident, **kw) -> Tuple[Any, List[str], str, int, int]:

if mw != 0 or mh != 0 or mc != 0:
ret = []
pbar = ProgressBar(self.__len)
mode = parse_param(kw, Lexicon.MODE, EnumScaleMode, EnumScaleMode.MATTE.name)[0]
sample = parse_param(kw, Lexicon.SAMPLE, EnumInterpolation, EnumInterpolation.LANCZOS4.name)[0]
wihi = parse_param(kw, Lexicon.WH, EnumConvertType.VEC2INT, [(512, 512)], MIN_IMAGE_SIZE)[0]
w2, h2 = wihi
matte = parse_param(kw, Lexicon.MATTE, EnumConvertType.VEC4INT, [(0, 0, 0, 255)], 0, 255)[0]
matte_alpha = matte[3]
matte = matte[:3] + [0]
matte = [matte[0], matte[1], matte[2], 0]
pbar = ProgressBar(self.__len)

for idx, d in enumerate(data):
d = image_convert(d, mc)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "jovimetrix"
description = "Integrates Webcam, MIDI, Spout and GLSL shader support. Animation via tick. Parameter manipulation with wave generator. Math operations with Unary and Binary support. Value conversion for all major types (int, string, list, dict, Image, Mask). Shape mask generation, image stacking and channel ops, batch splitting, merging and randomizing, load images and video from anywhere, dynamic bus routing with a single node, export support for GIPHY, save output anywhere! flatten, crop, transform; check colorblindness, make stereogram or stereoscopic images, or liner interpolate values and more."
version = "1.7.02"
version = "1.7.05"
license = { file = "LICENSE" }
readme = "README.md"
authors = [{ name = "Alexander G. Morano", email = "[email protected]" }]
Expand Down

0 comments on commit 83fb0cc

Please sign in to comment.