Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-IMGNR-Utils > Preview Image - No Save (IMGNR)

ComfyUI Node: Preview Image - No Save (IMGNR)

Class Name

PreviewImageBase64Node

Category
IMGNR
Author
imagineernl (Account age: 2427days)
Extension
ComfyUI-IMGNR-Utils
Latest Updated
2026-04-02
Github Stars
0.02K

How to Install ComfyUI-IMGNR-Utils

Install this extension via the ComfyUI Manager by searching for ComfyUI-IMGNR-Utils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-IMGNR-Utils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Preview Image - No Save (IMGNR) Description

Previews the first image as inline PNG without saving, while passing the image batch and mask onward.

Preview Image - No Save (IMGNR):

PreviewImageBase64Node displays an image preview in the node interface without saving a file to disk. It converts the preview to PNG data carried directly in the interface response, making it useful when you want to inspect a result without creating an output file. The node also passes image and mask data onward, so you can keep working with the result after previewing it. The displayed preview is made from the first image in a batch.

Preview Image - No Save (IMGNR) Input Parameters:

images

The required IMAGE input supplies the image or batch of images to preview and pass onward. The node uses the first image to create the displayed PNG preview, while the full batch remains available through the image output. No minimum, maximum, or default value is specified in the node interface.

mask

The optional MASK input controls transparency in the preview and returned image: mask values are inverted to form the image’s alpha channel, so higher mask values produce more transparency. If you provide one mask for a batch, the node repeats it across the images; if its dimensions differ from the images, the node resizes it using nearest-neighbor interpolation. A supplied mask takes precedence over any alpha channel already present in the images. If you leave this input disconnected, the node derives the returned mask from an existing image alpha channel, or returns an all-zero mask for images without alpha. No minimum, maximum, or default mask value is specified; leaving it disconnected is the optional state.

prompt

This hidden PROMPT input is supplied by the application rather than configured as a visible control. The node passes it to its preview processing and includes it in preview metadata when available. You do not need to connect or set it manually. No minimum, maximum, or default value is specified.

extra_pnginfo

This hidden EXTRA_PNGINFO input is supplied by the application rather than configured as a visible control. The node passes it to its preview processing; this node does not expose a setting to save or embed that information in a file. You do not need to connect or set it manually. No minimum, maximum, or default value is specified.

Preview Image - No Save (IMGNR) Output Parameters:

image

The IMAGE output passes the full input batch onward. When you supply a mask, the node combines each image’s first three color channels with an alpha channel calculated from that mask. Without a supplied mask, images that already have an alpha channel retain it, while images without one remain unchanged. The interface preview shows only the first image, so use this output to continue working with the full batch.

mask

The MASK output represents the transparency used for the returned images. With a connected mask, it returns that mask after any batch repetition or resizing needed to match the images. Without a connected mask, it returns the inverse of an existing image alpha channel, or an all-zero mask if the images have no alpha channel. In this node’s convention, higher mask values correspond to greater transparency.

Preview Image - No Save (IMGNR) Usage Tips:

  • Connect images when you want a quick visual check without creating a saved image file. Connect image to another node if your workflow needs to continue after the preview.
  • Connect mask when you want the preview to show transparent areas. If your image already has the transparency you want, leave mask disconnected so the node preserves its existing alpha channel.
  • For a batch, remember that the displayed preview represents the first image only. Check the batch elsewhere if you need to inspect every image.
  • If mask edges or placement matter, supply a mask that already matches the image dimensions. The node can resize a mismatched mask, but nearest-neighbor resizing may change its appearance.

Preview Image - No Save (IMGNR) Common Errors and Solutions:

[IMGNR_Preview] Error: <details>

  • Explanation: The node logs this message if an error occurs while converting the prepared image to a PNG preview or building the preview data. The text after Error: provides the specific cause. The preview may be absent even though the node returns its image and mask data.
  • Solution: Read the details in the application log. Check that images contains valid image data, and, if mask is connected, try a mask with dimensions matching the images.

Missing required input: images

  • Explanation: The node requires an IMAGE connection; it cannot create a preview without image data. The exact validation wording depends on the application.
  • Solution: Connect an image-producing node to images and run the workflow again.

Mask shape or size error

  • Explanation: A mask with an unsupported shape, or one that cannot be repeated or resized to match the images, may cause processing to fail. The exact error text depends on the mask and the operation that fails.
  • Solution: Supply a standard MASK output and, if possible, make its width and height match the images. For a batch, use one mask for all images or a corresponding mask for each image.

No preview appears for every image in a batch

  • Explanation: This is expected behavior, not an error: the node creates its displayed PNG preview from the first image only.
  • Solution: Preview batch images individually if you need to inspect each one; the image output still carries the full batch onward.

Preview Image - No Save (IMGNR) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-IMGNR-Utils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Preview Image - No Save (IMGNR)