WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.15k stars 170 forks source link

Error occurred when executing Image Blending Mode: #261

Closed xueqing0622 closed 11 months ago

xueqing0622 commented 11 months ago

Error occurred when executing Image Blending Mode:

operands could not be broadcast together with shapes (512,512,3) (512,488,3) (512,488,3)

File "F:\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "F:\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 4109, in image_blending_mode out_image = pilgram.css.blending.overlay(img_a, img_b) File "F:\ComfyUI\python_embeded\lib\site-packages\pilgram\css\blending\overlay.py", line 36, in overlay return hard_light(im2, im1) File "F:\ComfyUI\python_embeded\lib\site-packages\pilgram\css\blending\hard_light.py", line 68, in hard_light return alpha_blend(im1, im2, _hard_light) File "F:\ComfyUI\python_embeded\lib\site-packages\pilgram\css\blending\alpha.py", line 99, in alpha_blend im_blended = blending(im1, im2) File "F:\ComfyUI\python_embeded\lib\site-packages\pilgram\css\blending\hard_light.py", line 43, in _hard_light cm = np.where(np.asarray(im2) < 128, multiply, screen) File "<__array_function__ internals>", line 180, in where

WASasquatch commented 11 months ago

Images need to be the same size.

xueqing0622 commented 11 months ago

Ok, thx!!