131 Commits

Author SHA1 Message Date
stuttlepress
11a482d3c3 Fix LoadVideosFromFolder VHS import in Windows
VideoHelperSuite import fails on Windows even when VHS is properly
installed, due to custom node module names being stored as full file
paths for some reason.
Add fallback to sys.modules search when standard imports fail.
2025-09-23 03:39:49 -05:00
Jukka Seppänen
af20cb3333
Merge pull request #375 from asaf92/fix-image-pad-outpaint-mask-scaling
Fix ImagePadForOutpaintTargetSize mask scaling bug
2025-09-16 18:15:28 +03:00
kijai
1885177e8f Merge branch 'pr/359' 2025-09-16 18:14:30 +03:00
kijai
9b43565d38 Move pillarbox_blur mode to ImagePadKJ -node 2025-09-16 18:14:01 +03:00
kijai
5f0a84540b Update image_nodes.py 2025-09-16 17:41:35 +03:00
aagami
20efb15b44 cleanup 2025-08-25 15:40:12 +03:00
aagami
bc234589e6 Fix ImagePadForOutpaintTargetSize mask scaling bug
When image and mask have different input dimensions and no downscaling
is needed (scaling_factor >= 1), the mask was not being resized to match
the image dimensions before padding, causing mismatched output sizes.

Now ensures mask dimensions match image dimensions using F.interpolate
with nearest-neighbor interpolation in both scaling branches.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-25 14:32:40 +03:00
kijai
6dfd2c2420 I have no idea... 2025-08-20 14:35:18 +03:00
kijai
e435e999e4 Add GetLatentSizeAndCount 2025-08-20 12:36:50 +03:00
kijai
876a6dd292 Add LoadVideosFromFolder
This extends and requires https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite
2025-08-18 11:55:26 +03:00
Christopher Anderson
268063e317 Add pillarbox_blur mode for proportional image resizing with blurred background. 2025-08-10 22:47:27 +10:00
netjerikh
0d2334de6d Added multithread option to ColorMatch node 2025-07-18 11:54:19 +03:00
kijai
ad37ce656c Make multi-input node inputs optional 2025-07-16 16:54:06 +03:00
kijai
fca4aa2a15 ImageResizeKJv2: output padded area as mask if no input mask to resize 2025-07-15 14:57:57 +03:00
kijai
d9425173e7 Add ImageBatchJoinWithTransition 2025-07-14 16:40:23 +03:00
kijai
f20cb4c108 Update image_nodes.py 2025-07-14 15:27:53 +03:00
kijai
4549812bcc Update CrossFadeImages to allow joining different batch sizes 2025-07-14 15:24:05 +03:00
kijai
22e722bafe Update image_nodes.py 2025-07-10 18:59:17 +03:00
kijai
cabfcb2245 ImageResizeKJv2: Allow changing pad direction, add output info display 2025-07-10 18:56:25 +03:00
kijai
1f653a8d96 ReplaceImagesInBatch: Allow replacing only masks without images 2025-07-03 17:51:40 +03:00
kijai
6363376a17 Add optional mask resiszing to ImageResizeKJv2, allow lanczos for mask resizing 2025-07-01 12:22:37 +03:00
kijai
ff98412479 Check if folder contents change on LoadImagesFromFolderKJ 2025-06-16 17:31:35 +03:00
kijai
1fbf4805f1 SplineEditor updates 2025-06-09 17:59:31 +03:00
WildAi
a879d15208
fix import 2025-06-02 20:26:05 +03:00
kijai
9a52b7dfd2 Update image_nodes.py 2025-05-29 20:35:18 +03:00
kijai
37eb7bddcb Change Flux block lora loaderr into generic DiT lora block loader and support Wan with it 2025-05-28 12:57:17 +03:00
kijai
44565e9bff Add choice of device for imageresize 2025-05-20 16:50:55 +03:00
kijai
b7e5b6f1e2 Default to center crop on the deprecated resize node 2025-05-05 21:54:34 +03:00
kijai
c3f0a55adf Deprecate ImageResizeKJ and add ImageResizeKJ v2
Due to ComfyUI frontend changes the old node doesn't make that much sense anymore, and has issues between workflows saved with different versions of the front end.
2025-04-24 14:11:17 +03:00
kijai
3e3a1a8aac Update image_nodes.py 2025-04-22 09:17:29 +03:00
kijai
366b866f8e Update image_nodes.py 2025-04-20 22:29:42 +03:00
kijai
9903cf078e Further fix for input selection nodes 2025-04-20 17:49:51 +03:00
kijai
d399bc559d Add ImageBatchFilter
Node that removes "empty" frames from a batch, empty being a single color with threshold
2025-04-20 14:17:44 +03:00
kijai
8ecf5cd05e ReplaceImagesInBatch: allow replacing masks as well 2025-04-13 16:52:23 +03:00
kijai
d57154c3a8 Allow repeating masks as well with ImageBatchRepeatInterleaving 2025-04-07 17:45:45 +03:00
kijai
c8f5fc0760 Update image_nodes.py 2025-04-06 11:39:21 +03:00
kijai
6c997afd5f Update image_nodes.py 2025-04-05 20:32:34 +03:00
kijai
5f16aeec88 Pad node update 2025-04-05 19:35:16 +03:00
kijai
91bdcfdf60 Update image_nodes.py 2025-04-03 01:12:30 +03:00
kijai
843805b1fb Update image_nodes.py 2025-04-03 01:06:51 +03:00
kijai
57195496fa Update image_nodes.py 2025-04-03 00:50:04 +03:00
kijai
18a5565b5c Update image_nodes.py 2025-04-02 02:47:03 +03:00
kijai
59bd92ff49 Add PadImageBatchInterleaved 2025-04-02 02:07:47 +03:00
kijai
58a06698f0 small tweaks 2025-03-28 17:24:44 +02:00
kijai
e19285e5d1 step image/mask resize with 1 2025-03-18 20:28:47 +02:00
kijai
302fd1bbe6 Update some descriptions 2025-02-23 19:55:13 +02:00
kijai
8950c5fe67 Add ImagePadKJ, VAELoaderKJ
simple pad node and VAE loader that let's you choose device and dtype
2025-02-21 20:35:23 +02:00
kijai
095c8d4b52 Update image_nodes.py 2025-02-16 19:12:42 +02:00
kijai
56979210c7 Add ImagePrepForICLora, ImageCropByMask 2025-02-16 18:23:30 +02:00
kijai
fb03b43414 Update image_nodes.py 2025-02-13 23:55:42 +02:00