Skip to content

renderforest/load-image-comfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Load Image from HTTP URL — ComfyUI Custom Node

A ComfyUI custom node that loads images directly from HTTP/HTTPS URLs, with automatic EXIF orientation correction.

Features

  • Fetch images from any public HTTP/HTTPS URL
  • Automatic EXIF orientation handling (all 8 orientation tag values)
  • Outputs separate image and alpha mask tensors
  • Outputs image width and height as integers for downstream use

Installation

Clone this repository into your ComfyUI custom_nodes directory:

cd ComfyUI/custom_nodes
git clone https://github.com/renderforest/load-image-comfy.git

No additional dependencies are required beyond what ComfyUI already provides (torch, numpy, Pillow).

Node Reference

Load Image from HTTP URL

Category image
Node name LoadImageFromHttpURLNorm

Inputs

Name Type Description
image_url STRING Full HTTP or HTTPS URL pointing to an image

Outputs

Name Type Description
image IMAGE RGB tensor (1, H, W, 3) with values in [0, 1]
mask MASK Alpha mask tensor (1, H, W) — inverted alpha channel (opaque = 0, transparent = 1). Fully opaque if the source has no alpha.
width INT Image width in pixels (after EXIF transpose)
height INT Image height in pixels (after EXIF transpose)

License

MIT

About

Loads image from URL. Normalizes image orientation (if it is transformed in exif data).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages