Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates loading and manipulating PSD files for AI art projects, extracting and working with individual layers efficiently.
The LayerUtility: LoadPSD node is designed to facilitate the loading and manipulation of PSD (Photoshop Document) files within your AI art projects. This node allows you to import PSD files, extract individual layers, and work with them directly in your workflow. By leveraging this node, you can easily access and utilize the rich layer information contained in PSD files, enabling more complex and detailed image processing tasks. Whether you need to work with visible layers, include hidden ones, or find specific layers by name or index, this node provides the necessary functionality to streamline your creative process.
This parameter allows you to select the PSD file you wish to load. It provides a list of available PSD files in the input directory, and you can also upload a new image. The selected file will be the source from which layers are extracted and processed.
This is a string parameter where you can specify the file path of the PSD file. If left empty, the node will use the default path from the input directory. This parameter is useful if your PSD file is located in a different directory or if you want to specify a particular file path.
This boolean parameter determines whether hidden layers in the PSD file should be included in the processing. If set to True, hidden layers will be made visible and included; if False, only visible layers will be processed. The default value is False.
This parameter allows you to specify the method for finding a specific layer. You can choose between "layer_index" and "layer_name". This setting determines how the node will identify and extract the desired layer from the PSD file.
This integer parameter specifies the index of the layer you want to extract. It ranges from -1 to 999, with -1 indicating the topmost layer. The default value is 0. This parameter is used when "find_layer_by" is set to "layer_index".
This string parameter allows you to specify the name of the layer you want to extract. If the layer with the given name is found, it will be processed and extracted. This parameter is used when "find_layer_by" is set to "layer_name".
This output parameter provides the flattened version of the PSD file as an image. It represents the composite of all layers merged together, giving you a single image that includes all visible content from the PSD file.
This output parameter provides the specific layer image that was extracted based on the "find_layer_by" method and the corresponding "layer_index" or "layer_name". If the specified layer is not found, it will output an empty layer image with a warning message.
This output parameter provides a list of all individual layers from the PSD file. Each layer is represented as an image, allowing you to access and manipulate each layer separately in your workflow.
© Copyright 2024 RunComfy. All Rights Reserved.