ComfyUI > Nodes > comfyui-psd2png

ComfyUI Extension: comfyui-psd2png

Repo Name

comfyui-psd2png

Author
violet-chen (Account age: 2063 days)
Nodes
View all nodes(2)
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

comfyui-psd2png Description

Comfyui-psd2png is an extension that converts PSD files to PNG format using the Psd2Png node. It streamlines the process of transforming layered Photoshop documents into widely compatible PNG images.

comfyui-psd2png Introduction

The comfyui-psd2png extension is a powerful tool designed to help AI artists seamlessly convert Photoshop Document (PSD) files into Portable Network Graphics (PNG) format. This extension is particularly useful for artists who work with layered images in Photoshop and need to extract specific layers or the entire composition for further processing or sharing. By using this extension, you can easily manage and manipulate PSD files, making it an essential tool for digital artists who want to streamline their workflow and enhance their creative projects.

How comfyui-psd2png Works

At its core, the comfyui-psd2png extension leverages the capabilities of the psd-tools library to read and interpret PSD files. PSD files are complex, containing multiple layers, masks, and other elements that define the final image. This extension allows you to access these individual components and convert them into PNG format, which is widely used due to its lossless compression and support for transparency.

Imagine a PSD file as a stack of transparent sheets, each with different parts of an image. The extension lets you pick any sheet (layer) you want and save it as a separate image. You can also choose to save the entire stack as one complete image. This flexibility is particularly beneficial for artists who need to isolate specific elements from their artwork for further editing or presentation.

comfyui-psd2png Features

The comfyui-psd2png extension offers several features that make it a versatile tool for handling PSD files:

  1. PSD File Recognition: The extension can identify and open PSD files, allowing you to work with complex layered images directly.
  2. Customizable PSD Path: By default, the extension uses a placeholder path (C:/example.psd). However, you can specify your own PSD file path, and the extension will use this file to generate the output images.
  3. Layer Indexing: Each layer in a PSD file is assigned an index, with the topmost layer having the highest number. You can specify a layer_index to extract a particular layer as a PNG. If you set layer_index to 0, the extension will output the entire image as a PNG.
  4. Top Layer Extraction: The top_image feature allows you to extract and save the topmost layer of the PSD file, which is often the most visible part of the composition.
  5. Mask Output: For layers that include masks, the extension can output these masks separately, providing additional flexibility in how you use and manipulate your images. simple

Troubleshooting comfyui-psd2png

While using the comfyui-psd2png extension, you might encounter some common issues. Here are a few troubleshooting tips to help you resolve them:

  • Installation Issues: Ensure that psd-tools is installed in the same Python environment as ComfyUI. You can install it using the command: pip install psd-tools.
  • File Path Errors: Double-check the PSD file path you provide. Make sure it is correct and that the file exists at the specified location.
  • Layer Index Out of Range: If you receive an error regarding the layer_index, ensure that the index you specify corresponds to an existing layer in the PSD file. Remember, the topmost layer has the highest index number.
  • Unexpected Output: If the output image does not match your expectations, verify that the correct layer_index or path is being used. Also, ensure that the PSD file is not corrupted.

Learn More about comfyui-psd2png

To further enhance your understanding and usage of the comfyui-psd2png extension, consider exploring the following resources:

  • Tutorials and Guides: Look for online tutorials that demonstrate how to work with PSD files and use the psd-tools library effectively.
  • Community Forums: Join forums and communities where digital artists and developers discuss their experiences and share tips about using similar tools.
  • Documentation: Refer to the official documentation of psd-tools for a deeper understanding of the library's capabilities and how it integrates with the extension. By leveraging these resources, you can maximize the potential of the comfyui-psd2png extension and enhance your digital art projects with ease.

comfyui-psd2png Related Nodes

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.

comfyui-psd2png detailed guide | ComfyUI