元编程参考文档

照片风格化

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.
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
照片风格化
所属包
图像处理