ComfyUI  >  Nodes  >  wlsh_nodes >  SDXL Quick Image Scale (WLSH)

ComfyUI Node: SDXL Quick Image Scale (WLSH)

Class Name

SDXL Quick Image Scale (WLSH)

Category
WLSH Nodes/upscaling
Author
wallish77 (Account age: 2229 days)
Extension
wlsh_nodes
Latest Updated
6/19/2024
Github Stars
0.1K

How to Install wlsh_nodes

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

SDXL Quick Image Scale (WLSH) Description

Efficiently upscale images with predefined resolutions and methods, offering orientation and cropping options for high-quality results.

SDXL Quick Image Scale (WLSH):

The SDXL Quick Image Scale (WLSH) node is designed to upscale images quickly and efficiently, making it an essential tool for AI artists who need to enhance the resolution of their artwork. This node allows you to select from various predefined resolutions and upscale methods, ensuring that the final image meets your specific requirements. It also offers options to choose the orientation (landscape or portrait) and cropping method, providing flexibility in how the image is processed. By leveraging this node, you can achieve high-quality upscaling results with minimal effort, making it a valuable addition to your AI art toolkit.

SDXL Quick Image Scale (WLSH) Input Parameters:

original

This parameter accepts the original image that you want to upscale. The input should be in the form of an image file.

upscale_method

This parameter allows you to choose the method used for upscaling the image. The available options are nearest-exact, bilinear, and area. Each method has its own characteristics: nearest-exact preserves hard edges, bilinear provides smoother transitions, and area is suitable for downscaling.

resolution

This parameter lets you select the target resolution for the upscaled image. The available options are 1024x1024|1:1, 1152x896|9:7, 1216x832|19:13, 1344x768|7:4, and 1536x640|12:5. The resolution is specified in the format width x height | aspect ratio.

direction

This parameter determines the orientation of the upscaled image. You can choose between landscape and portrait. Selecting portrait will swap the width and height values of the chosen resolution.

crop

This parameter specifies the cropping method to be used during upscaling. The available options are disabled and center. disabled means no cropping will be applied, while center will crop the image from the center.

SDXL Quick Image Scale (WLSH) Output Parameters:

IMAGE

The output is the upscaled image, processed according to the specified parameters. This image will have the new resolution and orientation as defined by the input parameters.

SDXL Quick Image Scale (WLSH) Usage Tips:

  • To maintain the aspect ratio of your original image, choose a resolution that closely matches the aspect ratio of your input image.
  • Use the bilinear upscale method for smoother transitions and less pixelation in the upscaled image.
  • If you need to focus on a specific part of the image, use the center crop method to ensure the central area is preserved.

SDXL Quick Image Scale (WLSH) Common Errors and Solutions:

Error: Invalid resolution format

  • Explanation: The resolution parameter was not provided in the correct format.
  • Solution: Ensure that the resolution is specified in the format width x height | aspect ratio.

Error: Unsupported upscale method

  • Explanation: The selected upscale method is not one of the supported options.
  • Solution: Choose one of the supported upscale methods: nearest-exact, bilinear, or area.

Error: Invalid direction value

  • Explanation: The direction parameter was set to an unsupported value.
  • Solution: Ensure that the direction is either landscape or portrait.

Error: Invalid crop method

  • Explanation: The crop parameter was set to an unsupported value.
  • Solution: Choose either disabled or center for the crop method.

SDXL Quick Image Scale (WLSH) Related Nodes

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