照片風格化
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. |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 照片風格化
- 所屬包
- 影像處理