照片风格化
1 个节点
本页内容 1
应用风格
函数重载 1/2
签名
应用风格(图像: Pixel Image, 样式: Photo Style) -> Pixel Image
PixelImage ApplyStyle(
PixelImage image,
PhotoStylizer.PhotoStyle style)Applies the specified PhotoStylizer.PhotoStyle to a given Image.PixelImage.
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 图像 | Pixel Image | — | The source Image.PixelImage. |
| 样式 | Photo Style | — | The style preset to apply. |
返回
| 结果 | Pixel Image |
重载 2/2
签名
应用风格(输入路径: 文本, 输出路径: 文本, 样式: Photo Style)
void ApplyStyle(
string inputPath,
string outputPath,
PhotoStylizer.PhotoStyle style)Reads a picture file, applies a style and saves the result in the format the output's extension names.
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 输入路径 | 文本 | — | Path to the source image file. |
| 输出路径 | 文本 | — | Path to write the styled image to. |
| 样式 | Photo Style | — | The style preset to apply. |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 照片风格化
- 所属包
- 图像处理