ComfyUI_mittimiRecalculateSize

ComfyUI_mittimiRecalculateSize
★ 0

放大倍数计算尺寸重算图像/画布大小ComfyUI节点
对 Width 和 Height 乘以 Magnification,输出放大后的尺寸值,便于在 ComfyUI 工作流中统一重算图像或画布大小。
💡 根据放大倍数自动计算并输出新的宽高尺寸。
🍴 2 Forks💻 Python🔄 2024-09-07
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e98a62d17551
Screenshot of sample02.
Screenshot of sample02.
📄 README

ComfyUI_mittimiRecalculateSize

This is the node that performs the magnification calculation.

Width と Height に Magnification の値を掛けた数字を出力します。

It would be easier to use if the Width and Height could be connected by right-clicking on the node and selecting “Convert Widget to Input”.

ノードを右クリックから Convert Widget to Input を選択し Width と Height を接続できるようにすれば使いやすいと思います。

We created this function because it was troublesome to increase the number of nodes when processing INT and FLOAT conversions at the node level.

INT と FLOAT の変換処理をノードでする際に、ノード数が増えるのが面倒だったのでこの機能を作成しました。

I am not a professional. If there is a bug, please tell me how to fix it.

※私はプロではありません。バグがあった場合、直し方もコッソリ教えてください。

Autor by mittimi (https://mittimi.blogspot.com)