ComfyUI Node

Save Tiff

The node the author tells you not to love

By spacepxl·Created 3 years ago·Updated 5 months ago· 102
Save Tiff
  • images
    filename_prefixComfyUI

    Straight talk: this is the one node in the HQ-Image-Save pack that the pack's own README calls out as bad. "The TIFF save is bad/outdated," the author writes, and there's no TIFF loader at all. So why does it ship? Because 16-bit TIFF is still a format some tools expect, and the node does one job: write your image batch out as 16-bit RGB TIFFs.

    Before you build anything around it, know what you're trading. The honest version of this article is: if you need precision, use SaveEXR instead - 32-bit float beats 16-bit integer for every purpose this node could serve, and EXR is the format the rest of the pack is built around. SaveTiff is for the narrow case where a downstream app demands .tiff specifically.

    How it works

    It's about as simple as a save node gets: take the image, scale it to the 16-bit range (multiply by 65535), clip, and write as uint16 via imageio. Inputs are just images and filename_prefix; it writes to ComfyUI's output folder with the standard counter naming (prefix_00001_.tiff).

    That simplicity is also the rough edge. There's no overwrite protection (a rerun increments the counter via ComfyUI's path helper, so it mostly avoids clobbering), no version/frame numbering, no workflow metadata, and no alpha handling at all - it takes only the plain RGB image, so any transparency you had is just gone. And there's a visible sign of the neglect: the code that would register output files for the UI preview is commented out, so you get no thumbnail and no clickable result in the sidebar. It saves the files; the interface just shrugs.

    When you'd actually use it

    • A downstream tool (some print, archival, or CAD-adjacent pipelines) that only accepts 16-bit TIFF.
    • You specifically want 16-bit integer rather than float - rare, but it happens.

    If neither is true, the right call is SaveEXR from the same pack. Same install, better everything: float precision, alpha, versioning, workflow sidecars.

    Install

    It's in spacepxl's ComfyUI-HQ-Image-Save: ComfyUI Manager → search ComfyUI-HQ-Image-Save → install → restart, or git clone https://github.com/spacepxl/ComfyUI-HQ-Image-Save into custom_nodes/. Dependencies are imageio (which does the TIFF writing) and opencv-python; no models.

    The takeaway

    Treat SaveTiff as a compatibility shim, not a tool. The author's own known-issues list says it plainly, and the code agrees. For anything where you care about the data surviving - which is presumably why you went looking for a non-PNG save node in the first place - EXR is the format, and the pack has better nodes for it.

    CategoryHQ-Image-Save

    Inputs (2)

    NameTypeDefaultDescription
    imagesIMAGE
    filename_prefixSTRINGComfyUI

    Outputs (0)

    No outputs