ComfyUI_mittimiWidthHeight

ComfyUI_mittimiWidthHeight
★ 2

尺寸切换预设管理实用工具UI控件
在ComfyUI中一键交换 Width 与 Height 值,并支持从 presets/presets.toml 加载常用尺寸预设,方便快速切换与复用。
💡 快速互换宽高或应用常用尺寸预设以适配画布
🍴 2 Forks💻 Python🔄 2026-02-27
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e98a62d17551
Screenshot of sample02.
📄 README

ComfyUI_mittimiWidthHeight

※Added a preset function for size. Please enter your frequently used size in the “presets.toml” file within the presets folder.

※縦横サイズのプリセット機能を追加しました。presetsフォルダのpresets.tomlによく使う縦横サイズを記入してください。

As shown in the image below, pressing the “Swap” button swaps the Width and Height values.

下の画像のように、「Swap」ボタンを押すと Width と Height の値が入れ替わります。

I think this node probably already exists somewhere, but it was faster to create it than to search for it, so I created it.

恐らくすでにどこかには存在する機能だと思いますが、探すより作るほうが早かったので作りました。

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

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

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