Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently load images without listing directory contents, simplifying direct image uploads with optional switch for conditional loading.
The LoadImageWithoutListDir
node is designed to load an image without the need to list the contents of a directory. This node is particularly useful when you want to upload an image directly without navigating through a directory structure. It simplifies the process of loading images by allowing you to upload an image file directly, making it more efficient and user-friendly. Additionally, it includes an optional switch to enable or disable the image loading process, providing flexibility in workflows where conditional image loading is required.
This parameter allows you to upload the image file you wish to load. The image upload feature is enabled, making it easy to select and upload an image directly from your local storage. This parameter is required for the node to function.
This optional parameter is a boolean switch that controls whether the image loading process is enabled or disabled. When set to True
(default), the image loading process is active. When set to False
, the node will not load the image and will return None
for the image and mask outputs. This parameter provides flexibility in workflows where conditional image loading is necessary. The default value is True
, with labels "enabled" and "disabled" for the True
and False
states, respectively.
This output parameter returns the loaded image if the enabled
parameter is set to True
. If enabled
is False
, this parameter will return None
. The image output is essential for further processing or manipulation in your workflow.
This output parameter returns the mask associated with the loaded image if the enabled
parameter is set to True
. If enabled
is False
, this parameter will return None
. The mask can be used for various image processing tasks, such as segmentation or masking.
This output parameter returns the boolean value of the enabled
input parameter. It indicates whether the image loading process was active or not, providing a way to track the state of the node's execution.
This output parameter returns the filename of the uploaded image. It is useful for keeping track of the source image file, especially in workflows that involve multiple images or require logging and documentation.
enabled
parameter to control the image loading process conditionally. This can be useful in workflows where you need to load images based on certain criteria or conditions.filename
output to keep track of the source image, especially when working with multiple images or when documentation is required.<filename>
enabled
parameter was set to False
.enabled
parameter to True
. This will activate the image loading process and return the loaded image and mask.© Copyright 2024 RunComfy. All Rights Reserved.