comfyui_reimgsize

comfyui_reimgsize
★ 5

图像重采样保持宽高比像素总数调整ComfyUI节点
ComfyUI 的图像调整节点,按像素总数、边长或比例重设尺寸,支持保持或指定长宽比并确保尺寸为常见GCD(如32/64)倍数。
💡 在ComfyUI中按像素数/边长/比例精准调整图像尺寸
🍴 2 Forks💻 Python🔄 2025-04-27
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e58c8376a81b
image
📄 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

    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.