ComfyUI > Nodes > radiance > ◎ Radiance Compression Artifacts

ComfyUI Node: ◎ Radiance Compression Artifacts

Class Name

RadianceCompressionArtifacts

Category
FXTD Studios/Radiance/Filter
Author
fxtdstudios (Account age: 0days)
Extension
radiance
Latest Updated
2026-03-20
Github Stars
0.18K

How to Install radiance

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

◎ Radiance Compression Artifacts Description

Simulates and analyzes image compression artifacts for quality control and artistic effects.

◎ Radiance Compression Artifacts:

The RadianceCompressionArtifacts node is designed to simulate and analyze compression artifacts, such as JPEG blocking and color banding, in digital images. This node is particularly useful for AI artists who want to understand how compression affects image quality or to intentionally add these artifacts for artistic purposes. By introducing these artifacts, you can explore the visual impact of compression on your images, which is crucial for both quality control and creative experimentation. The node provides a mechanism to add realistic compression effects, allowing you to preview how images might appear after being subjected to common compression algorithms. This can be especially beneficial when preparing images for platforms where compression is inevitable, ensuring that the final output meets your aesthetic and quality standards.

◎ Radiance Compression Artifacts Input Parameters:

image

The image parameter is a tensor representing the image data to be processed. It is crucial as it serves as the input on which compression artifacts will be applied or analyzed. The image should be in a format compatible with the node, typically a tensor with dimensions corresponding to batch size, height, width, and color channels. There are no explicit minimum or maximum values for this parameter, but the image should be properly pre-processed to ensure accurate results.

block_size

The block_size parameter determines the size of the blocks used in the Discrete Cosine Transform (DCT) process, which is typically 8 for JPEG compression. This parameter affects the granularity of the compression artifacts; smaller block sizes may result in finer artifacts, while larger block sizes can lead to more pronounced blocking effects. The default value is usually set to 8, aligning with standard JPEG compression practices.

seed

The seed parameter is used to initialize the random number generator, ensuring that the addition of artifacts is consistent across multiple runs. This is particularly useful for reproducibility, allowing you to achieve the same results when applying the node multiple times with the same settings. There are no specific minimum or maximum values, but it should be an integer.

◎ Radiance Compression Artifacts Output Parameters:

artifact_score

The artifact_score is a tensor that provides a quantitative measure of the compression artifacts present in the image. This score ranges from 0 to 100, where higher values indicate more severe artifacts. It is an essential output for assessing the quality of the image after compression, helping you determine whether the level of artifacts is acceptable for your intended use. This score can guide decisions on whether further processing or adjustments are needed to meet quality standards.

◎ Radiance Compression Artifacts Usage Tips:

  • To achieve consistent results, always use the same seed value when applying the node to similar images. This ensures that the random aspects of artifact generation are controlled and reproducible.
  • Experiment with different block_size values to understand how they affect the appearance of compression artifacts. This can help you tailor the node's output to match specific artistic or quality requirements.
  • Before applying the node, consider pre-processing your images to ensure they are within the expected range, particularly if they contain high dynamic range (HDR) values. Tone-mapping may be necessary to prevent clipping during compression.

◎ Radiance Compression Artifacts Common Errors and Solutions:

Input contains HDR values (max=%.3f). JPEG encoding clips to [0, 1] — HDR values above 1.0 will be lost.

  • Explanation: This warning indicates that the input image contains HDR values that exceed the standard range for JPEG encoding, which can result in loss of detail.
  • Solution: Apply tone-mapping to your image before using this node to ensure that all values are within the [0, 1] range, preserving image details during compression.

Artifact score calculation results in unexpected values.

  • Explanation: This issue may arise if the input image is not properly formatted or if the block_size is set incorrectly.
  • Solution: Verify that your image tensor is correctly shaped and that the block_size is appropriate for the image dimensions. Adjust these parameters as needed to ensure accurate artifact scoring.

◎ Radiance Compression Artifacts Related Nodes

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

◎ Radiance Compression Artifacts