ComfyUI > Nodes > ComfyUI Loopchain > FolderToImageStorage

ComfyUI Node: FolderToImageStorage

Class Name

FolderToImageStorage

Category
Loopchain/storage
Author
Fannovel16 (Account age: 3186days)
Extension
ComfyUI Loopchain
Latest Updated
2023-12-15
Github Stars
0.03K

How to Install ComfyUI Loopchain

Install this extension via the ComfyUI Manager by searching for ComfyUI Loopchain
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Loopchain in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

FolderToImageStorage Description

Streamline image loading and storage from folder to global system for AI artists, handling format conversion and normalization.

FolderToImageStorage:

The FolderToImageStorage node is designed to streamline the process of loading and storing images from a specified folder into a global storage system. This node is particularly useful for AI artists who need to manage and manipulate large batches of images efficiently. By leveraging this node, you can easily import images from a folder, ensuring they are correctly oriented and converted to a format suitable for further processing. The node handles various image formats and ensures that each image is stored in a normalized format, making it easier to work with in subsequent steps of your workflow.

FolderToImageStorage Input Parameters:

key

The key parameter is a string that serves as an identifier for the set of images being loaded. This key is used to store and retrieve the images from the global storage. It is important to choose a unique and descriptive key to avoid conflicts with other stored images. The key should be a single line of text without any special characters.

folder

The folder parameter specifies the name of the folder from which images will be loaded. This folder should be located within the input directory defined by the system. The node will search this folder for images with supported extensions and load them into the global storage. The folder name should be a valid directory name and should not contain any special characters.

FolderToImageStorage Output Parameters:

This node does not produce any direct output parameters. Instead, it populates the global image storage with the loaded images, which can then be accessed by other nodes in your workflow.

FolderToImageStorage Usage Tips:

  • Ensure that the folder specified in the folder parameter contains only images with supported extensions to avoid errors during the loading process.
  • Use descriptive and unique keys for the key parameter to easily identify and manage different sets of images in the global storage.
  • Regularly clean up the global storage using the ImageStorageReset node to avoid memory issues and keep your workspace organized.

FolderToImageStorage Common Errors and Solutions:

No image is found in folder {folder}

  • Explanation: This error occurs when the specified folder does not contain any images with supported extensions.
  • Solution: Verify that the folder name is correct and that it contains images with extensions listed in the IMAGE_EXTENSIONS variable.

Image storage {key} doesn't exist.

  • Explanation: This error occurs when attempting to access a key in the global storage that has not been initialized.
  • Solution: Ensure that the key parameter is correctly specified and that the images have been successfully loaded into the global storage before attempting to access them.

Invalid folder name

  • Explanation: This error occurs when the specified folder name contains invalid characters or does not exist in the input directory.
  • Solution: Check the folder name for any typos or invalid characters and ensure that the folder exists in the input directory.

FolderToImageStorage Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Loopchain
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.