ImageInvert applied 1.0 - image across the whole tensor, so a 4 channel RGBA image came back with its transparency flipped: opaque pixels became transparent and vice versa. Alpha stores coverage, not color, so leave it alone and only invert RGB. Matches GIMP, ImageMagick and Blender, and the existing srgb_to_linear/hlg_to_linear handling in nodes_images.py. Reported in #5610. |
||
|---|---|---|
| .. | ||
| folder_path_test.py | ||
| gemma4_template_test.py | ||
| image_invert_test.py | ||
| model_detection_test.py | ||
| seedvr_vae_forward_test.py | ||
| test_seedvr2_dtype.py | ||
| test_seedvr2_internals.py | ||
| test_seedvr2_model.py | ||
| test_seedvr2_vae_decode.py | ||
| test_seedvr2_vae_tiled.py | ||
| test_vae_decode_tiled_nested.py | ||