ComfyUI > Nodes > comfyui-psd2png > Psd2Png

ComfyUI Node: Psd2Png

Class Name

Psd2Png

Category
image
Author
violet-chen (Account age: 2063days)
Extension
comfyui-psd2png
Latest Updated
2025-06-04
Github Stars
0.02K

How to Install comfyui-psd2png

Install this extension via the ComfyUI Manager by searching for comfyui-psd2png
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-psd2png 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Psd2Png Description

Converts PSD files to PNG, preserving layers for easy editing, sharing, and AI model integration.

Psd2Png:

The Psd2Png node is designed to convert Photoshop Document (PSD) files into Portable Network Graphics (PNG) format, allowing you to work with layered images in a more accessible and widely supported format. This node is particularly beneficial for AI artists who need to manipulate or analyze individual layers of a PSD file without the need for complex software. By converting PSD files to PNG, you can easily integrate these images into various workflows, whether for further editing, sharing, or use in AI models. The node efficiently handles the conversion process, ensuring that the integrity of the original image layers is maintained, and provides options to extract specific layers or the entire composition. This functionality is crucial for artists who require precise control over their image assets and need to streamline their creative processes.

Psd2Png Input Parameters:

string

This parameter represents the input string that will be manipulated. It is used in conjunction with other parameters to perform string operations, such as inserting a substring at a specified index. The default value is "a,b,c", and it is essential for defining the base content that will be altered.

find_string

The find_string parameter specifies the delimiter used to split the input string. It determines how the input string is divided into segments before the insertion operation. The default value is a comma (","), which means the input string will be split at each comma.

index

This parameter indicates the position in the split string list where the new substring will be inserted. It is an integer value with a default of 0, a minimum of 0, and a maximum of 999. The index determines the exact location for the insertion, affecting the final structure of the output string.

insert_string

The insert_string parameter defines the substring that will be inserted into the input string at the specified index. The default value is "this is insert string". This parameter is crucial for customizing the content of the output string by adding new information or modifying existing data.

Psd2Png Output Parameters:

STRING

The output parameter STRING represents the final result of the string manipulation process. It contains the modified string after the specified substring has been inserted at the designated index. This output is essential for verifying the success of the operation and for further use in other processes or nodes.

Psd2Png Usage Tips:

  • Ensure that the PSD file path is correctly specified to avoid file not found errors. Use absolute paths for reliability.
  • When working with multiple layers, specify the correct layer index to extract the desired layer. This can help in focusing on specific parts of the image for detailed analysis or editing.

Psd2Png Common Errors and Solutions:

FileNotFoundError

  • Explanation: This error occurs when the specified PSD file path does not exist or is incorrect.
  • Solution: Double-check the file path for typos and ensure that the file exists at the specified location. Use absolute paths to avoid path-related issues.

IndexError

  • Explanation: This error happens when the specified layer index is out of range, meaning it does not correspond to any existing layer in the PSD file.
  • Solution: Verify the number of layers in the PSD file and ensure that the layer index is within the valid range. Adjust the index accordingly to match the available layers.

Psd2Png Related Nodes

Go back to the extension to check out more related nodes.
comfyui-psd2png
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.