◎ Radiance VAE Encode Pro:
RadianceVAEEncode is a sophisticated node designed to encode images up to 8K resolution into VAE (Variational Autoencoder) latents using advanced tiling techniques. This node is particularly beneficial for AI artists and creators who require high-quality image compression and transformation without losing essential details. By leveraging production-grade tiling, RadianceVAEEncode ensures that large images are efficiently processed, maintaining the integrity and quality of the original image. The node is capable of handling various color spaces and can automatically detect the appropriate VAE factor, making it versatile and adaptable to different workflows. Its primary goal is to facilitate the seamless conversion of high-resolution images into a format that can be easily manipulated and reconstructed, providing a robust tool for creative projects that demand precision and quality.
◎ Radiance VAE Encode Pro Input Parameters:
pixels
The pixels parameter represents the input image that you wish to encode. It accepts images in various formats and resolutions, allowing you to work with high-resolution images up to 8K. This parameter is crucial as it determines the source material that will be transformed into VAE latents.
vae
The vae parameter specifies the Variational Autoencoder model used for encoding the image. This model is responsible for compressing the image into a latent space, and its selection can significantly impact the quality and characteristics of the encoded output.
source_space
The source_space parameter defines the color space of the input image. It offers options such as "Linear" and others, with "Linear" being the default. This parameter is important for ensuring that the color transformations applied during encoding are appropriate for the input image's color characteristics.
tile_size
The tile_size parameter determines the size of the tiles used during the encoding process. Options include "Auto", "512", "768", "1024", "1280", and "1536", with "Auto" as the default. This parameter affects the efficiency and speed of the encoding process, as well as the memory usage.
overlap
The overlap parameter specifies the amount of overlap between tiles during encoding. It is an integer value with a default of 128, a minimum of 32, and a maximum of 256, adjustable in steps of 16. This parameter helps to minimize artifacts at the boundaries of tiles, ensuring a seamless encoding process.
exposure
The exposure parameter allows you to adjust the exposure level of the input image before encoding. It is a float value with a default of 0.0, ranging from -10.0 to 10.0. This parameter is useful for fine-tuning the brightness and contrast of the image to achieve the desired visual effect.
◎ Radiance VAE Encode Pro Output Parameters:
video_latent
The video_latent output represents the encoded latent representation of the input image. This output is crucial as it contains the compressed version of the image, which can be used for further processing or reconstruction.
alpha_out
The alpha_out output provides the alpha channel extracted from the input image, if present. This output is important for maintaining transparency information, which can be critical for certain applications and workflows.
meta
The meta output contains metadata related to the encoding process, including information about the VAE model, encoding settings, and other relevant details. This output is useful for tracking and reproducing the encoding process.
latent_fmt
The latent_fmt output specifies the format of the encoded latent representation. This information is essential for ensuring compatibility with other nodes and processes that may use the encoded data.
qr
The qr output provides a JSON-encoded string containing additional metadata and information about the encoding process. This output can be used for logging, debugging, or sharing details about the encoding with others.
◎ Radiance VAE Encode Pro Usage Tips:
- Ensure that your input image is in the correct color space to avoid unexpected color shifts during encoding.
- Use the
tile_sizeparameter wisely to balance between processing speed and memory usage, especially when working with very large images. - Adjust the
exposureparameter to achieve the desired brightness and contrast in the encoded output, particularly if the input image has challenging lighting conditions.
◎ Radiance VAE Encode Pro Common Errors and Solutions:
"[Radiance 4K Encode] Compress (Log) hdr_mode selected but log curves are unavailable"
- Explanation: This error occurs when the HDR mode is set to "Compress (Log)" but the necessary log curves are not available, leading to a fallback to sRGB linearization.
- Solution: Install the
color_utils.pyfile to ensure that the correct log curves are available for the encoding process.
"Input image format not supported"
- Explanation: This error indicates that the input image format is not compatible with the node's requirements.
- Solution: Convert your image to a supported format, such as PNG or JPEG, before attempting to encode it with the node.
