I will not add this dependency to the default ones because models in the
spandrel_extra_arches package are non commercial and therefore not
compatible with free software licenses like the one ComfyUI uses.
If you don't mind this you can install it manually yourself.
Extends the core Comfy.SnapToGrid behavior for nodes to apply to LiteGraph's LGraphGroup with the same behavior. Also, pulls out redundant rounding code into util function.
On some keyboards it's apparently too easy to accidentally do CTRL-Delete
when pressing CTRL-Enter repeatedly.
CTRL-Backspace can still be used to clear the workflow.
* Fix to LoadImage Node for #3416 HDR images loading additional smaller images.
Added a blocking if statement in the ImageSequence.Iterator that checks if subsequent images after the first match dimensionally, and prevent them from being appended to output_images if they do not match.
This does not fix or change current behavior for PIL 10.2.0 where the images are loaded at the same size, but it does for 10.3.0 where they are loaded at their correct smaller sizes.
* added list of excluded formats that should return 1 image
added an explicit check for the image format so that additional formats can be added to the list that have problematic behavior.
* Change calculation of memory total to be more accurate, allocated is actually smaller than reserved.
* Update README.md install documentation for Intel GPUs.
* Update node_helpers.py to use generic pillow wrapper to resolve multiple meta-data related issues.
replaced open_image function with a generic pillow function that takes Pil functions as a dependency injection and applies the ImageFile.LOAD_TRUNCATED_IMAGES try except fix to them.
This provides an extensible function to handle related errors that can wrap offending functions when discovered without the need to repeat code.
* Update a few Pil functions to use node_helpers.pillow wrapper
Update a Pil function calls in a few locations to use the generic node_helpers.pillow wrapper that takes the function as a dependency injection and uses the try except method with ImageFIle.LOAD_TRUNCATED_IMAGES solution
* Corrected comment in issue #s fixed.
* Update node_helpers.py to remove import of Image from PIL
import of Image is no longer required as functions are Injected