Skip to main content

ComfyUI_Ib_CustomNodes

Load Image From Path

def LoadImageFromPath(
    image: str = r'ComfyUI_00001_-assets\ComfyUI_00001_.png [output]'
) -> tuple[Image, Mask]

ComfyUI's built-in Load Image node can only load uploaded images, which produces duplicated files in the input directory and cannot reload the image when the source file is changed. Load Image From Path instead loads the image from the source path and does not have such problems.

One use of this node is to work with Photoshop's Quick Export to quickly perform img2img/inpaint on the edited image. Update: For working with Photoshop, comfyui-photoshop is more convenient and supports waiting for changes. See tutorial at r/comfyui.

The image path can be in the following format:

  • Absolute path:

    D:\ComfyUI\output\ComfyUI_00001_-assets\ComfyUI_00001_.png

  • Relative to the input directory:

    ComfyUI_00001_-assets\ComfyUI_00001_.png [input]

  • Relative to the output directory:

    ComfyUI_00001_-assets\ComfyUI_00001_.png [output]

  • Relative to the temp directory:

    ComfyUI_00001_-assets\ComfyUI_00001_.png [temp]

Installation

Install via the Custom Nodes Manager in ComfyUI-Manager.

Usage Example

usage

PIL.Image

def PILToImage(
    images: PilImage
) -> Image
def PILToMask(
    images: PilImage
) -> Image
def ImageToPIL(
    images: Image
) -> PilImage

Metadata

Release files for ComfyUI_Ib_CustomNodes 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ComfyUI_Ib_CustomNodes 0.2.3
File Size Uploaded
comfyui_ib_customnodes-0.2.3.tar.gz 103.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ComfyUI_Ib_CustomNodes 0.2.3
File Interpreter ABI Platform
comfyui_ib_customnodes-0.2.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 205.1 kB

Release files / comfyui_ib_customnodes-0.2.3.tar.gz

Download URL comfyui_ib_customnodes-0.2.3.tar.gz
Size 103.2 kB
Tags Source
SHA-256 checksum
How to use checksums
52827aa1c00329accf242d2e54bde642d344911841927c74c4a95474fdd0c90e
BLAKE2b-256 checksum
How to use checksums
bf54229e929a6b68800fef083bcfcf62d32771ff406c0e3753cdd3561b0df4c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / comfyui_ib_customnodes-0.2.3-py2.py3-none-any.whl

Download URL comfyui_ib_customnodes-0.2.3-py2.py3-none-any.whl
Size 101.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b07597426ec895d98a8e4a5865857b69d6c64238da989431125e921ff564e8a9
BLAKE2b-256 checksum
How to use checksums
7e1b91137a9be7e77109ceb717ac9d9d82b1484a8bc3dddc40be29893c608035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page