A custom node extension for ComfyUI that enables loading and processing of RAW image files directly into your workflows.
- Load RAW images from various camera manufacturers (Canon, Nikon, Sony, Fuji, etc.)
- Adjust brightness with automatic or manual controls
- Configure highlight handling with multiple modes
- Seamless integration with ComfyUI's image processing pipeline
- ComfyUI installed and working
- Python 3.8+ environment
- Clone this repository into your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/
git clone https://github.com/dimtion/comfyui-raw-image.git- Install the required dependencies:
pip install -r requirements.txt- Restart ComfyUI
- Place your RAW image files in your ComfyUI input directory
- In the ComfyUI interface, add the "Load RAW image" node to your workflow
- Select your RAW file from the dropdown
- Configure the processing options:
- use_auto_bright: Enable/disable automatic brightness adjustment
- bright_adjustment: Fine-tune brightness (0.1-3.0)
- highlight_mode: Choose how to handle highlights in the image
- clip: Clip highlights to maximum value
- ignore: Preserve highlight values
- blend: Blend highlight areas
- reconstruct: Attempt to reconstruct highlight details
Supports all RAW formats handled by the rawpy library, including:
- Canon (CR2, CR3)
- Nikon (NEF)
- Sony (ARW)
- Fujifilm (RAF)
- And many more
- rawpy for RAW image processing
