Feature Idea
The current PNG export is a bottleneck for professional HDR and print workflows. I have developed a full 16-bit RAW TIFF pipeline with accumulation logic that solves this. Below is the full specification and documentation for this feature.
Existing Solutions
ComfyUI-Orakul-SVP
Dual Export Node for ComfyUI β PNG to /output + 16-bit RAW TIFF to /output/temp_svp
A simple solution for saving generation results in two formats simultaneously:
standard PNG to ComfyUI /output and lossless 16-bit TIFF to /output/temp_svp.
Full batch support, accumulation mode, and sequential file numbering.
Why You Need This
ComfyUI saves PNG in 8-bit by default. For stock photography, print, and professional post-processing this isn't enough β you lose half the tonal range the moment you hit Save.
OrakulSVPNode solves this in a single node:
β PNG saved normally via ComfyUI (
/output) β for preview, web, stock uploadβ 16-bit RAW TIFF saved to
/output/temp_svpβ next to PNG, in one placeβ No TIFF compression (
COMPRESSION = NONE) β zero data lossβ Full range
0β65535from float tensor0.0β1.0β Full batch support β every frame saved as a separate file
β Accumulation mode β existing files are never deleted, sequential numbering
ORAKUL_RAW_0001.tifβ Trilingual console logs β UA / RU / EN
File Structure
ComfyUI/
βββ output/
β βββ ComfyUI_00001_.png β standard PNG from Save Image node
β βββ temp_svp/
β βββ ORAKUL_RAW_0001.tif β 16-bit RAW TIFF
β βββ ORAKUL_RAW_0002.tif
β βββ ...
βββ custom_nodes/
βββ ComfyUI-Orakul-SVP/
βββ orakul_svp_node.py
βββ __init__.py
βββ README.md
Installation
1. Clone into custom_nodes folder:
cd ComfyUI/custom_nodes
git clone https://github.com/YOUR_USERNAME/ComfyUI-Orakul-SVP2. Make sure OpenCV is installed:
pip install opencv-python-headless3. Restart ComfyUI.
The node will appear in the Orakul Studio category.
Usage
Add the OrakulSVPNode to your workflow
Connect
IMAGEoutput fromKSampler(or any image source)Connect the node's output to the standard
Save ImagenodeRun generation
KSampler β OrakulSVPNode β Save Image
Result:
PNG β
ComfyUI/output/(via Save Image as usual)TIFF 16-bit β
ComfyUI/output/temp_svp/ORAKUL_RAW_0001.tif,_0002.tif, ...
Accumulation Mode
The node works in accumulation mode β files are never overwritten or deleted.
On each new run the node finds the highest existing index and continues numbering from there:
Run 1 (batch=1): ORAKUL_RAW_0001.tif
Run 2 (batch=4): ORAKUL_RAW_0002.tif, _0003.tif, _0004.tif, _0005.tif
Run 3 (batch=1): ORAKUL_RAW_0006.tif
To reset numbering β simply clear the output/temp_svp/ folder manually.
Technical Details
ParameterValueTIFF format16-bit unsigned integer (uint16)CompressionNONE (IMWRITE_TIFF_COMPRESSION = 1)Color spaceRGB β BGR (OpenCV)Range0.0β1.0 float β 0β65535 uint16NumberingORAKUL_RAW_0001.tif (4 digits, sequential)File size~24β25 MB at 2752Γ1536BatchFull support, each frame as individual file
File Size Comparison
FormatResolutionSizePNG 8-bit2752Γ1536~4β6 MBTIFF 16-bit RAW2752Γ1536~24β25 MB
Console Output Example
π οΈβοΈOrakul Engine: MASTER RAW (TIFF 16-BIT) mode is active. Accumulation mode.
ποΈπ οΈOrakul Engine: Adding a Batch (4 frames) to existing ones...
-> πAdded: ORAKUL_RAW_0003.tif
-> πAdded: ORAKUL_RAW_0004.tif
-> πAdded: ORAKUL_RAW_0005.tif
-> πAdded: ORAKUL_RAW_0006.tif
Compatibility
ComfyUI (all current versions)
Python 3.10+
PyTorch (CUDA / CPU)
OpenCV
opencv-pythonoropencv-python-headlessWindows / Linux
Who Is This For
Stock photographers β upload to Adobe Stock, Shutterstock, Getty at full quality
Print & prepress β TIFF 16-bit accepted directly without conversion
Post-processing β open in Photoshop / Lightroom with full tonal range intact
Archiving β store master files with zero quality degradation
Roadmap
Custom save folder via node parameter
LZW/ZIP compression option to save disk space
EXIF/IPTC metadata in TIFF (for stock workflows)
EXR 32-bit support for HDR pipelines
Author
Orakul Studio β Chernihiv, Ukraine πΊπ¦
Flux2 Β· ComfyUI Β· RTX 4090 Β· No quantization Β· No compromises
I've already built a working implementation. You can find the complete source code and folder structure in my repository (https://github.com/orakulstorm-hue/ComfyUI-Orakul-SVP-Dual-Export-Node-for-ComfyUI-PNG-to-output-16-bit-RAW-TIFF-to-output-temp_svp) or see the attached ZIP. It's a plug-and-play solution that integrates directly into the ComfyUI nodes ecosystem.

