Resize Image
Resize an image to a width/height, optionally keeping aspect ratio.
Image & OCRImageResize
概述
Resize Image 是 AutoFlowRPA 中 Image & OCR 类别下的无代码自动化步骤。 当工作流执行到此处时,它会在单个步骤中完成其操作。 您可以配置 6 个参数,精确控制其行为方式。 它是可在可视化编辑器中拖入工作流的 340 个命令之一,无需编写脚本。
功能说明
Resize an image to a width/height, optionally keeping aspect ratio.
参数
| 参数 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| Image file | file | 必填 | Source image to process. 示例: C:/temp/photo.png 支持变量 | |
| Width (px) | number | 可选 | 示例: 800 支持变量 | |
| Height (px) | number | 可选 | 示例: 600 支持变量 | |
| Keep aspect ratio | boolean | 可选 | true | Fit within Width x Height without distortion. If only one of Width/Height is given, the other is computed. |
| Save to (blank = '<name>_resized') | file | 可选 | 支持变量 | |
| Store output path in | variable | 可选 | 示例: outPath |
如何使用 Resize Image
- 1
打开 AutoFlowRPA,将 Resize Image 命令从 Image & OCR 分组拖放到画布上。
- 2
在侧边面板中设置其参数——Resize Image 有 6 个可配置字段。
- 3
将它连入你的工作流并点击运行。一切都在你的本机上本地执行。
常见问题
Resize Image 命令有什么作用?
Resize an image to a width/height, optionally keeping aspect ratio.
Resize Image 命令属于哪个分组?
Resize Image 属于 Image & OCR 分组。AutoFlowRPA 附带 340+ 个现成命令,无需代码即可组合使用。
Resize Image 命令需要任何参数吗?
需要——Resize Image 有 6 个可配置字段,均可在可视化节点编辑器中编辑。