ComfyUI > Nodes > DJZ-Nodes > Black Bars V3

ComfyUI Node: Black Bars V3

Class Name

BlackBarsV3

Category
image/format
Author
DriftJohnson (Account age: 4052days)
Extension
DJZ-Nodes
Latest Updated
2025-04-25
Github Stars
0.04K

How to Install DJZ-Nodes

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

Black Bars V3 Description

Enhance images with cinematic black bars for widescreen effect, focus viewer attention, specify aspect ratio, safe area guides.

Black Bars V3:

The BlackBarsV3 node is designed to enhance your images by adding cinematic black bars, a technique often used to give visuals a widescreen or letterbox effect. This node is particularly useful for artists looking to add a professional touch to their work, simulating the aspect ratio of film or television. By applying black bars, you can focus the viewer's attention on the central elements of your image, creating a more immersive and dramatic presentation. The node is equipped with features that allow you to specify the target aspect ratio, ensuring that the black bars are applied consistently and accurately. Additionally, it offers options to include safe area guides, which help in maintaining important visual elements within the visible frame, and guides to assist in composition. This makes BlackBarsV3 a versatile tool for both artistic and practical applications, enhancing the storytelling aspect of your visuals.

Black Bars V3 Input Parameters:

images

This parameter accepts a tensor of images that you want to process. The images are the primary input on which the black bars will be applied. The quality and resolution of the input images can affect the final output, so it's important to use high-quality images for the best results.

target_ratio

The target_ratio parameter allows you to specify the desired aspect ratio for your images. This determines the size and placement of the black bars. Common aspect ratios include 16:9 for widescreen and 4:3 for traditional television. By setting this parameter, you ensure that your images conform to a specific visual standard, enhancing their cinematic appeal.

safe_area

The safe_area parameter is a boolean option that, when enabled, applies guides to ensure that important elements of your image remain within the visible area after the black bars are added. This is particularly useful for maintaining the integrity of your composition, ensuring that no critical parts of the image are obscured by the bars.

show_guides

The show_guides parameter is another boolean option that, when activated, overlays compositional guides on your image. These guides can assist in aligning elements according to the rule of thirds or other compositional techniques, helping you create a more balanced and aesthetically pleasing image.

Black Bars V3 Output Parameters:

result

The output of the BlackBarsV3 node is a tensor of images with the black bars applied. This output maintains the original quality of the input images while adding the specified cinematic effect. The result is a set of images that adhere to the chosen aspect ratio, with optional guides for safe area and composition, ready for further use or display.

Black Bars V3 Usage Tips:

  • Experiment with different target_ratio values to see how they affect the mood and focus of your images. A wider aspect ratio can create a more dramatic effect.
  • Use the safe_area and show_guides options to ensure that your images are not only visually appealing but also compositionally sound, especially if they will be used in professional or presentation settings.

Black Bars V3 Common Errors and Solutions:

Invalid aspect ratio

  • Explanation: This error occurs when the target_ratio provided is not in a valid format or is unsupported.
  • Solution: Ensure that the target_ratio is specified in a standard format, such as "16:9" or "4:3". Double-check for any typos or unsupported ratios.

Image tensor mismatch

  • Explanation: This error happens when the input images tensor does not match the expected dimensions or format.
  • Solution: Verify that the input images are correctly formatted as a tensor and that they meet the node's requirements for dimensions and data type.

Black Bars V3 Related Nodes

Go back to the extension to check out more related nodes.
DJZ-Nodes
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 Playground, enabling artists to harness the latest AI tools to create incredible art.