ComfyUI_HigherBitDepthSaveImage

ComfyUI_HigherBitDepthSaveImage
★ 3

图像保存高位深无损保存ComfyUI节点
为 ComfyUI 提供高位深图像保存功能,支持按 8/16/32 位通道保存,保留高动态范围与精度,便于后续无损处理。
💡 用于保存需保留高动态范围的 16/32 位图像。
🍴 1 Forks💻 Python🔄 2024-09-14
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e98a62d17551
📦 requirements.txt
tifffile
imageio
pypng
piexif
opencv-python-headless
📄 README

Higher Bit Density SaveImage Node

This is a ComfyUI node that allows you to save images with a higher bit depth.

Installation

  • Download the save_image_node.py file.
  • Place the file in the custom_nodes directory of your ComfyUI installation.
  • Usage

  • Add the Save Image Higher Bit Depth node to your graph.
  • Connect the image you want to save to the IMAGE input of the node. (Can be used in combination with other nodes that output images, like SaveImage)
  • Set the filename_prefix to the desired prefix for the filename of the image you want to save.
  • Set the bit_depth to the bit depth of the image you want to save.
  • 4.1 For 8bits (8-bit per channel – 24bit RGB) images, set bit_depth to 8.

    4.2 For 16bits (16-bit per channel – 48bit RGB) images, set bit_depth to 16.

    4.3 For 32bits (32-bit per channel – 96bit RGB) images, set bit_depth to 32.

  • Set the format to the format of the image you want to save. Can be PNG, TIFF, or JPEG. Default is PNG.
  • Notes

  • The format can be PNG, TIFF, or JPEG.
  • The filename_prefix is the prefix of the filename of the image you want to save.
  • The bit_depth is the bit depth of the image you want to save.
  • For 32 bit images, only TIFF is supported, and will be automatically used if selected.