ComfyUI  >  Nodes  >  😸 YFG Comical Nodes >  🐯 YFG 3 Image Switcher

ComfyUI Node: 🐯 YFG 3 Image Switcher

Class Name

Image3Switcher_node

Category
🐯 YFG/🔀 Switchers
Author
YFG (Account age: 2491 days)
Extension
😸 YFG Comical Nodes
Latest Updated
7/2/2024
Github Stars
0.0K

How to Install 😸 YFG Comical Nodes

Install this extension via the ComfyUI Manager by searching for  😸 YFG Comical Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter 😸 YFG Comical 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🐯 YFG 3 Image Switcher Description

Switch between three input images seamlessly, aiding image selection and routing for AI artists.

🐯 YFG 3 Image Switcher:

The Image3Switcher_node is designed to allow you to switch between three different input images seamlessly. This node is particularly useful when you need to compare or select from multiple images dynamically within your workflow. By providing a user-friendly interface to choose the desired image, it simplifies the process of image selection and routing, making it an essential tool for AI artists who work with multiple image sources. The node also offers options to preview the selected image or a connection diagram, enhancing the visualization and decision-making process.

🐯 YFG 3 Image Switcher Input Parameters:

selected_image

This parameter allows you to choose which image to select from the three available inputs. The options are "Image 1", "Image 2", and "Image 3", with "Image 1" being the default. The selected image will be the one processed and output by the node.

font_size

This parameter determines the size of the font used for labeling the image. The options are "Small", "Medium", and "Large", with "Medium" being the default. The font size impacts the readability of the labels on the image.

font_color

This parameter specifies the color of the font used for labeling the image. Available options include "White", "Black", "Red", "Green", "Blue", "Yellow", "Brown", and "Orange", with "White" as the default. The font color affects the visibility and contrast of the labels against the image background.

font_file

This parameter allows you to specify the font file used for labeling the image. The default value is "seguisb.ttf". This parameter lets you customize the appearance of the labels by using different font styles.

image_label

This boolean parameter determines whether a label should be added to the selected image. The default value is True. Enabling this option helps in identifying the selected image visually.

preview

This boolean parameter controls whether a preview of the selected image or connection diagram should be generated. The default value is True. Enabling this option allows you to see a visual representation of the selected image or the routing diagram.

preview_type

This parameter specifies the type of preview to generate. The options are "Input Image" and "Connection Diagram", with "Input Image" being the default. This parameter helps you choose between visualizing the actual image or the connection diagram.

Image 1

This optional parameter accepts the first input image. It is of type "IMAGE". If not provided, a placeholder image will be generated.

Image 2

This optional parameter accepts the second input image. It is of type "IMAGE". If not provided, a placeholder image will be generated.

Image 3

This optional parameter accepts the third input image. It is of type "IMAGE". If not provided, a placeholder image will be generated.

🐯 YFG 3 Image Switcher Output Parameters:

Selected Image

This output parameter provides the tensor of the selected image based on the selected_image input. It is the primary output that you will use for further processing or visualization.

Connection Diagram

This output parameter provides a tensor representing the connection diagram. The connection diagram visually shows the routing and selection process, helping you understand the flow of images through the node.

🐯 YFG 3 Image Switcher Usage Tips:

  • To quickly compare different images, use the selected_image parameter to switch between "Image 1", "Image 2", and "Image 3".
  • Enable the preview option to visualize the selected image or connection diagram, which can help in making informed decisions.
  • Customize the font_size and font_color parameters to ensure that labels are readable and visually appealing on the selected image.

🐯 YFG 3 Image Switcher Common Errors and Solutions:

"Image not provided"

  • Explanation: This error occurs when one of the input images is not provided and no placeholder image is generated.
  • Solution: Ensure that all three input images are provided or that the node is configured to generate placeholder images.

"Invalid font file"

  • Explanation: This error occurs when the specified font file is not found or is invalid.
  • Solution: Verify that the font_file parameter points to a valid font file and that the file is accessible.

"Preview generation failed"

  • Explanation: This error occurs when the node fails to generate a preview image or connection diagram.
  • Solution: Check the preview and preview_type parameters to ensure they are set correctly. Verify that the input images are valid and that the node has the necessary resources to generate the preview.

🐯 YFG 3 Image Switcher Related Nodes

Go back to the extension to check out more related nodes.
😸 YFG Comical Nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.