> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GetImageSize - ComfyUI Built-in Node Documentation

> Complete documentation for the GetImageSize node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/GetImageSize/zh.md)

GetImageSize 节点从输入图像中提取尺寸和批次信息。它会返回图像的宽度、高度和批次大小，同时将这些信息作为进度文本显示在节点界面上。原始图像数据保持不变。

## 输入参数

| 参数          | 数据类型       | 必填 | 取值范围 | 描述             |
| ----------- | ---------- | -- | ---- | -------------- |
| `image`     | IMAGE      | 是  | -    | 用于提取尺寸信息的输入图像  |
| `unique_id` | UNIQUE\_ID | 否  | -    | 用于显示进度信息的内部标识符 |

## 输出结果

| 输出名称         | 数据类型 | 描述          |
| ------------ | ---- | ----------- |
| `width`      | INT  | 输入图像的宽度（像素） |
| `height`     | INT  | 输入图像的高度（像素） |
| `batch_size` | INT  | 批次中的图像数量    |
