Save Image (TGA)
The old game-engine format saver that's secretly still useful
- images
Save Image (TGA) writes Truevision TGA files - the format from 1984 that refused to die because game engines and tools from a certain era refuse to die with it. If you're generating textures, sprites, or UI assets for a pipeline that predates PNG's universal adoption, TGA is often what the tooling wants. If you're not, this article is a fun history lesson and nothing more.
TGA's survival story is real, though. It supports alpha, it's simple to parse, and it was the texture workhorse for decades of game development. That's why the format is still requested in modding communities and engine tooling. The honest framing: PNG beats TGA in almost every objective way (smaller, more compatible, better alpha handling), but "better" doesn't win arguments with a fixed pipeline. When the importer only accepts TGA, this node is the difference between a manual export trip and staying in the graph.
What the simple node does
Frames are converted to RGB (so no alpha on the output - if you need transparency, the advanced TGA node handles it) and written with RLE compression on by default. RLE is TGA's native lossless compression, and it's the right default for the format's typical content (flat-color sprites compress absurdly well). Each frame in the batch becomes its own numbered .tga in ComfyUI/output.
Inputs are the standard two:
- Images (IMAGE) - the batch.
- Filename Prefix - supports the pack's tokens (
%date:yyyy-MM-dd%,%hour%,%minute%,%width%,%height%).
No outputs - terminal save node.
The gotcha: previews lie
Like TIFF, TGA isn't renderable in ComfyUI's browser preview, so the node saves a PNG copy for the preview pane and the real .tga to disk. The README calls this out for both formats. If you look at the preview and think the save failed, it didn't - check the output folder for the .tga.
Who this is actually for
Three audiences, honestly. Game/texture pipelines that still ingest TGA. Modding workflows where assets are expected in TGA. And people restoring or converting old assets who need to match a legacy format byte-for-byte. If that's you, the simple node covers the "just save TGA" case cleanly. If you need TGA with alpha (which is where TGA actually earns its keep), step up to Save Image Advanced (TGA) - same pack, same install, RLE toggle and alpha handling included.
Install
Part of ComfyUI-Image-Process:
cd ComfyUI/custom_nodes
git clone https://github.com/wakaura-asaho/comfyui-image-process
pip install -r comfyui-image-process/requirements.txt
then restart, or find the pack in ComfyUI Manager. Standard deps (numpy, Pillow 12.1+, scipy, opencv, scikit-image), no model downloads, modern ComfyUI required (frontend ≥ 1.37, base ≥ 0.12).
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | The images to be saved. | |
| filename_prefix | STRING | ComfyUI | The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes. |
Outputs (0)
No outputs