Extensions/comfyui_reimgsize
ComfyUI Extension

comfyui_reimgsize

a simple resize image node(s) in comfyui. This repository is not specific to the length and width values of an image, but focuses more on adjusting the total pixel…

By MakkiShizu·Created 2 years ago·Updated about a year ago· 5
MakkiShizu/comfyui_reimgsize
Nodes3
On cloudLocal install
Categorycomfyui_reimgsize
Stars5
Updatedabout a year ago
Readme

comfyui_reimgsize

simple image resize node(s) in comfyui | 简单的comfyui节点用于重载图像大小

Just a Repetitive wheels, beginner's self use node... Sorry.

[简体中文|English]

Description

Some simple ComfyUI nodes are used to scale an image to a specified sum of pixels and standardize the resolution to a multiple of the given GCD.

This repository is not specific to the length and width values of an image, but focuses more on adjusting the total pixel count, side length specifications, and size ratios of the image.

Features

  • Resize images to a specified resolution
  • Maintain the original aspect ratio/Adjust to the given aspect ratio
  • Ensure dimensions are multiples of GCD(most cases 32 or 64)

Example

image

Installation

Clone the repository to custom_nodes:

git clone https://github.com/MakkiShizu/comfyui_reimgsize.git

nodes path:

  • comfyui_reimgsize/Reimgsize
  • comfyui_reimgsize/Cropimg
  • comfyui_reimgsize/Resizebyratio

License

This project is licensed under the MIT License.

<hr>