spacepxl / ComfyUI-HQ-Image-Save

Load/save images and latents as 32bit EXRs
MIT License
36 stars 5 forks source link

does not save #8

Open Hellrunner2k opened 3 weeks ago

Hellrunner2k commented 3 weeks ago

WARN:0@148.342] global grfmt_exr.cpp:102 cv::initOpenEXR imgcodecs: OpenEXR codec is disabled. You can enable it via 'OPENCV_IO_ENABLE_OPENEXR' option. Refer for details and cautions here: https://github.com/opencv/opencv/issues/21326

image

spacepxl commented 2 weeks ago

That os.environ line should work, it does for me, but if not you can set the environment variable before launching comfy instead by adding it to your launch script. Windows example for run_nvidia_gpu.bat:

set OPENCV_IO_ENABLE_OPENEXR=1
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --fp32-vae

pause

(If you're on linux I trust you can figure out the equivalent)