ComfyUI > Nodes > ComfyUI Level Pixel > Preview Image Bridge [LP]

ComfyUI Node: Preview Image Bridge [LP]

Class Name

PreviewImageForConditions|LP

Category
LevelPixel/IO
Author
LevelPixel (Account age: 647days)
Extension
ComfyUI Level Pixel
Latest Updated
2026-02-24
Github Stars
0.03K

How to Install ComfyUI Level Pixel

Install this extension via the ComfyUI Manager by searching for ComfyUI Level Pixel
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Level Pixel 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 Bridge [LP] Description

Facilitates temporary image previews under conditions, aiding AI artists in quick visualization.

Preview Image Bridge [LP]| Preview Image Bridge [LP]:

The PreviewImageForConditions| Preview Image Bridge [LP] node is designed to facilitate the temporary previewing of images under specific conditions within the ComfyUI framework. This node is particularly useful for AI artists who need to quickly visualize and assess images during the creative process without committing to permanent storage. By generating previews in a temporary directory, it allows for efficient management of resources and quick iterations. The node automatically appends a unique prefix to each preview image, ensuring that files are easily distinguishable and organized. Additionally, it offers options for downscaling images to optimize performance and manage file sizes, making it a versatile tool for artists working with large image datasets or high-resolution outputs.

Preview Image Bridge [LP]| Preview Image Bridge [LP] Input Parameters:

images

This parameter accepts the images that you want to preview. It is essential for the node's operation as it determines the content that will be processed and displayed. The input type is IMAGE, which means it expects image data to be provided.

size

The size parameter specifies the dimensions of the preview image. It allows you to define the resolution, with a default value of 512 pixels. The minimum value is 1, and the maximum is 8192, providing flexibility to accommodate various image sizes. Adjusting this parameter impacts the clarity and detail of the preview, with larger sizes offering more detail at the cost of increased processing time and resource usage.

downscale_preview

This boolean parameter determines whether the preview image should be downscaled. By default, it is set to True, meaning downscaling is enabled. When activated, it helps reduce the image size, which can be beneficial for quick previews and conserving computational resources. The label_on is "On" and label_off is "Off", allowing you to easily toggle this feature.

downscale_mode

The downscale_mode parameter is a boolean that controls the method of downscaling. It defaults to True, which corresponds to the "max" mode, optimizing the image for maximum size reduction. Conversely, setting it to False switches to the "min" mode, which may prioritize maintaining certain image aspects over size reduction.

compress_level

This parameter sets the compression level for the preview image, with a default value of 0, indicating no compression. The range is from 0 to 9, where higher values result in greater compression, reducing file size at the potential cost of image quality. Adjusting this parameter allows you to balance between image fidelity and storage efficiency.

Preview Image Bridge [LP]| Preview Image Bridge [LP] Output Parameters:

The context does not provide explicit output parameters for the PreviewImageForConditions| Preview Image Bridge [LP] node. However, typically, such nodes would output the processed preview image, possibly along with metadata or status information indicating the success of the operation. The output would be crucial for verifying the visual quality and correctness of the previewed image.

Preview Image Bridge [LP]| Preview Image Bridge [LP] Usage Tips:

  • Utilize the downscale_preview option to quickly generate previews when working with large images, as this can significantly reduce processing time and resource consumption.
  • Experiment with different compress_level settings to find the optimal balance between image quality and file size, especially when dealing with limited storage or bandwidth constraints.

Preview Image Bridge [LP]| Preview Image Bridge [LP] Common Errors and Solutions:

Image Not Provided

  • Explanation: This error occurs when no image data is supplied to the node.
  • Solution: Ensure that the images parameter is correctly populated with valid image data before executing the node.

Invalid Size Parameter

  • Explanation: The specified size is outside the allowable range of 1 to 8192. - Solution: Adjust the size parameter to fall within the valid range, ensuring it is neither too small nor exceeds the maximum limit.

Compression Level Out of Range

  • Explanation: The compress_level is set to a value outside the 0 to 9 range.
  • Solution: Set the compress_level to a valid integer within the specified range to ensure proper compression settings.

Preview Image Bridge [LP] Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Level Pixel
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.