快速影像處理
49 個節點
本頁內容 49
新增背景
函數Adds a solid-colored background behind any transparent pixels in the image.
新增背景(原影像: Pixel Image, 背景: 可選顏色) -> Pixel Image
PixelImage AddBackgroud(
PixelImage originalImage,
ColorElement? background)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 背景 | 可選顏色 | — | The background fill color. If null, defaults to white. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
新增膠片顆粒
函數Lays a film grain over the image, as an analog photograph has.
新增膠片顆粒 -> Pixel Image
原圖: Pixel Image
顆粒型別: Grain Noise
不透明度: 數字
種子: 整數PixelImage AddFilmGrain(
PixelImage original,
OneShotProcessing.GrainNoise noiseType = GrainNoise.Gaussian,
double opacity = 20,
int seed = -1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原圖 | Pixel Image | — | The source image in Image.PixelImage format. |
| 顆粒型別 | Grain Noise | 高斯 | The kind of grain. |
| 不透明度 | 數字 | 20 | How visible the grain is, as a percentage from 0 to 100. |
| 種子 | 整數 | -1 | The same seed lays the same grain; -1 for a different grain every time. |
返回
| 結果 | Pixel Image |
備註
A grey layer of noise blended over the picture in overlay mode, as ImageMagick's film grain recipe does: the grain lightens light areas and darkens dark ones.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
新增文字
函數Writes text onto the image.
過載 1/2
新增文字
原影像: 文字
輸出影像: 文字
文字: 文字
位置: Point
字型: 文字
字型大小: 整數
顏色: 顏色void AddText(
string originalImage,
string outputImage,
string text,
Point location,
string font,
int fontSize,
ColorElement color)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | Path to the original image. |
| 輸出影像 | 文字 | — | Path for the output image. |
| 文字 | 文字 | — | The text to add; it may run over several lines. |
| 位置 | Point | — | Where the first line's baseline starts, in pixels. |
| 字型 | 文字 | — | The font family name to use. |
| 字型大小 | 整數 | — | The font size, in pixels. |
| 顏色 | 顏色 | — | The color of the text. |
過載 2/2
新增文字 -> Pixel Image
原影像: Pixel Image
文字: 文字
位置: Point
字型: 文字
字型大小: 整數
顏色: 顏色PixelImage AddText(
PixelImage originalImage,
string text,
Point location,
string font,
int fontSize,
ColorElement color)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 文字 | 文字 | — | The text to add; it may run over several lines. |
| 位置 | Point | — | Where the first line's baseline starts, in pixels. |
| 字型 | 文字 | — | The font family name to use. |
| 字型大小 | 整數 | — | The font size, in pixels. |
| 顏色 | 顏色 | — | The color of the text. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
調整亮度和對比度
函數過載 1/2
調整亮度和對比度
原始路徑: 文字
輸出路徑: 文字
亮度調整: 數字
對比度調整: 數字void AdjustBrightnessContrast(
string originalImage,
string outputImage,
double brightness,
double contrast)調整影像的亮度和對比度。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 亮度調整 | 數字 | — | 亮度調整的百分比。 0表示沒有變化;正值使亮度變亮,負值使亮度變暗。 |
| 對比度調整 | 數字 | — | 對比度調整的百分比。 0表示沒有變化;正值增加對比度,負值減少對比度。 |
過載 2/2
調整亮度對比度 -> Pixel Image
原影像: Pixel Image
亮度: 數字
對比度: 數字PixelImage AdjustBrightnessContrast(
PixelImage originalImage,
double brightness,
double contrast)Adjusts the brightness and contrast of the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 亮度 | 數字 | — | The brightness change in percentage, from -100 to 100 (negative darkens, positive brightens). |
| 對比度 | 數字 | — | The contrast change in percentage, from -100 to 100 (negative decreases, positive increases). |
返回
| 結果 | Pixel Image |
備註
ImageMagick 7's brightness-contrast: a straight line through the tones whose slope is 100/(100 - contrast) (or 1 + contrast/100 when the contrast is lowered), lifted about mid-grey by the brightness.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
調整色彩平衡
函數過載 1/2
調整色彩平衡
原始路徑: 文字
輸出路徑: 文字
紅色偏移: 整數
綠色偏移: 整數
藍色偏移: 整數void AdjustColorBalance(
string originalImage,
string outputImage,
int redOffset,
int greenOffset,
int blueOffset)調整影像的色彩平衡,通過為紅色、綠色和藍色通道新增偏移。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | Path to the original image. |
| 輸出路徑 | 文字 | — | Path for the output image. |
| 紅色偏移 | 整數 | — | The offset to add to the red channel (negative or positive, in the Q8 range 0-255). |
| 綠色偏移 | 整數 | — | The offset to add to the green channel. |
| 藍色偏移 | 整數 | — | The offset to add to the blue channel. |
過載 2/2
調整色彩平衡 -> Pixel Image
原影像: Pixel Image
紅色偏移: 整數
綠色偏移: 整數
藍色偏移: 整數PixelImage AdjustColorBalance(
PixelImage originalImage,
int redOffset,
int greenOffset,
int blueOffset)Adjusts the color balance of the image by adding offsets to the red, green, and blue channels.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 紅色偏移 | 整數 | — | Offset to add to the red channel, from -255 to 255. |
| 綠色偏移 | 整數 | — | Offset to add to the green channel. |
| 藍色偏移 | 整數 | — | Offset to add to the blue channel. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
調整HSL
函數過載 1/2
調整HSL
原始路徑: 文字
輸出路徑: 文字
色調調整值: 數字
飽和度水平: 數字
亮度水平: 數字void AdjustHSL(
string originalImage,
string outputImage,
double hue,
double saturation,
double luminance)使用HSL(色調、飽和度、亮度)值調整影像。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 色調調整值 | 數字 | — | 色調調整值(以度為單位)。 |
| 飽和度水平 | 數字 | — | 飽和度水平(以百分比表示)。 100表示無變化。 |
| 亮度水平 | 數字 | — | 亮度水平(以百分比表示)。 100表示無變化。 |
過載 2/2
調整 HSL -> Pixel Image
原影像: Pixel Image
色相: 數字
飽和度: 數字
亮度: 數字PixelImage AdjustHSL(
PixelImage originalImage,
double hue,
double saturation,
double luminance)Adjusts hue, saturation and lightness, each as a percentage where 100 leaves it unchanged.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 色相 | 數字 | — | The hue as a percentage: 100 leaves it, 0 and 200 turn every colour half way round the colour wheel. |
| 飽和度 | 數字 | — | The saturation as a percentage: 100 leaves it, 0 makes the image grey. |
| 亮度 | 數字 | — | The lightness as a percentage: 100 leaves it, 0 makes the image black. |
返回
| 結果 | Pixel Image |
備註
ImageMagick's -modulate in its default HSL space.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
調整級別
函數過載 1/2
調整級別
原始路徑: 文字
輸出路徑: 文字
黑色點: 位元組
白色點: 位元組
伽瑪: 數字void AdjustLevels(
string originalImage,
string outputImage,
byte blackPoint,
byte whitePoint,
double gamma)調整影像的級別。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | The path to the original image. |
| 輸出路徑 | 文字 | — | The path for the output image. |
| 黑色點 | 位元組 | — | The black point value. |
| 白色點 | 位元組 | — | The white point value. |
| 伽瑪 | 數字 | — | The gamma correction value. |
過載 2/2
調整色階 -> Pixel Image
原影像: Pixel Image
黑場: 位元組
白場: 位元組
伽馬: 數字PixelImage AdjustLevels(
PixelImage originalImage,
byte blackPoint,
byte whitePoint,
double gamma)Adjusts levels: the black point becomes black, the white point white, and the gamma bends the tones between.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 黑場 | 位元組 | — | The value, from 0 to 255, that becomes black. |
| 白場 | 位元組 | — | The value, from 0 to 255, that becomes white. |
| 伽馬 | 數字 | — | The gamma between them: 1 is a straight line. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
調整飽和度
函數過載 1/2
調整飽和度(原始路徑: 文字, 輸出路徑: 文字, 飽和度: 數字)
void AdjustSaturation(
string originalImage,
string outputImage,
double saturation)調整影像的飽和度。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | Path to the original image. |
| 輸出路徑 | 文字 | — | Path for the output image. |
| 飽和度 | 數字 | — | 飽和度水平,以百分比表示。 100表示影像不變;高於100的值增加飽和度, 低於100的值減少飽和度。 |
過載 2/2
調整飽和度(原影像: Pixel Image, 飽和度: 數字) -> Pixel Image
PixelImage AdjustSaturation(
PixelImage originalImage,
double saturation)Adjusts the saturation of the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 飽和度 | 數字 | — | The saturation level as a percentage: 100 means no change; values above 100 increase saturation, while values below 100 decrease it. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
調整選定顏色飽和度
函數Changes the saturation of only the colours near a target colour.
過載 1/2
調整選定顏色飽和度
原影像: 文字
輸出影像: 文字
目標顏色: 顏色
容差: 數字
飽和度: 數字void AdjustSelectiveSaturation(
string originalImage,
string outputImage,
ColorElement targetColor,
double tolerance,
double saturation)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | The path to the original image. |
| 輸出影像 | 文字 | — | The path for the output image. |
| 目標顏色 | 顏色 | — | The colour whose neighbours change. |
| 容差 | 數字 | — | How near a colour must be to change, as a percentage of the largest possible distance between two colours. |
| 飽和度 | 數字 | — | The saturation those colours take, as a percentage: 100 leaves them. |
過載 2/2
調整選定顏色飽和度 -> Pixel Image
原影像: Pixel Image
目標顏色: 顏色
容差: 數字
飽和度: 數字PixelImage AdjustSelectiveSaturation(
PixelImage originalImage,
ColorElement targetColor,
double tolerance,
double saturation)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 目標顏色 | 顏色 | — | The colour whose neighbours change. |
| 容差 | 數字 | — | How near a colour must be to change, as a percentage of the largest possible distance between two colours. |
| 飽和度 | 數字 | — | The saturation those colours take, as a percentage: 100 leaves them. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
調整陰影和高光
函數過載 1/2
調整陰影和高光
原始路徑: 文字
輸出路徑: 文字
陰影調整量: 數字
高光調整量: 數字void AdjustShadowsHighlights(
string originalImage,
string outputImage,
double shadows,
double highlights)使用 sigmoid 對比度調整影像的陰影和高光。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 陰影調整量 | 數字 | — | 調整陰影的量。 使用正值來增強陰影對比度,使用負值來柔化陰影。 |
| 高光調整量 | 數字 | — | 調整高光的量。 使用正值來增強高光對比度,使用負值來柔化高光。 |
過載 2/2
調整陰影高光 -> Pixel Image
原影像: Pixel Image
陰影: 數字
高光: 數字PixelImage AdjustShadowsHighlights(
PixelImage originalImage,
double shadows,
double highlights)Opens up the shadows and recovers the highlights with sigmoidal contrast around each.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 陰影 | 數字 | — | How strongly to lift the shadows; 0 leaves them. |
| 高光 | 數字 | — | How strongly to shape the highlights; 0 leaves them. |
返回
| 結果 | Pixel Image |
備註
ImageMagick's sigmoidal contrast, centred on 30% for the shadows and 70% for the highlights.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
按錨點裁剪
函數過載 1/5
按錨點裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選低精度數字
目標高度: 可選低精度數字
錨點: Nine Way Anchor
填充顏色: 可選顏色void AnchoredCrop(
string originalImage,
string outputImage,
float? targetWidth,
float? targetHeight,
OneShotProcessing.NineWayAnchor anchor,
ColorElement? fillColor)Crops an image to the requested size (expressed as a ratio of the original dimensions) by anchoring the original image inside the crop canvas. If either ratio is null, zero, or 1, the original dimension is preserved. Areas outside the original image are filled with Fill Color.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | Path to the source image. |
| 輸出影像 | 文字 | — | Path to write the cropped image. |
| 目標寬度 | 可選低精度數字 | — | Ratio of the original width to use for the crop: null, 0 or 1 keeps the original width; any other value multiplies it. |
| 目標高度 | 可選低精度數字 | — | Ratio of the original height to use for the crop: null, 0 or 1 keeps the original height; any other value multiplies it. |
| 錨點 | Nine Way Anchor | — | Where to anchor the original image within the crop. |
| 填充顏色 | 可選顏色 | — | Fill color used where the original doesn't cover the crop. Defaults to white. |
過載 2/5
按錨點裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
錨點: Nine Way Anchor
填充顏色: 可選顏色void AnchoredCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
OneShotProcessing.NineWayAnchor anchor,
ColorElement? fillColor)Crops an image to the requested size by anchoring the original image inside the crop canvas. If either target dimension is null or zero, the original dimension is preserved. Areas outside the original image are filled with Fill Color.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | Path to the source image. |
| 輸出影像 | 文字 | — | Path to write the cropped image. |
| 目標寬度 | 可選正整數 | — | Target crop width, or null/0 to use the original width. |
| 目標高度 | 可選正整數 | — | Target crop height, or null/0 to use the original height. |
| 錨點 | Nine Way Anchor | — | Where to anchor the original image within the crop. |
| 填充顏色 | 可選顏色 | — | Fill color used where the original doesn't cover the crop. |
過載 3/5
按錨點裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
錨點: Nine Way Anchor
填充顏色: 可選顏色PixelImage AnchoredCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
OneShotProcessing.NineWayAnchor anchor,
ColorElement? fillColor)Crops an image to the requested size by anchoring the original image inside the crop canvas. If either target dimension is null or zero, the original dimension is preserved. Areas outside the original image are filled with Fill Color.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | Source Image.PixelImage. |
| 目標寬度 | 可選正整數 | — | Target crop width, or null/0 to use the original width. |
| 目標高度 | 可選正整數 | — | Target crop height, or null/0 to use the original height. |
| 錨點 | Nine Way Anchor | — | Where to anchor the original image within the crop. |
| 填充顏色 | 可選顏色 | — | Fill color used where the original doesn't cover the crop. |
返回
| 結果 | Pixel Image |
過載 4/5
按錨點裁剪
原影像: 文字
輸出影像: 文字
目標大小: Size
錨點: Nine Way Anchor
填充顏色: 可選顏色void AnchoredCrop(
string originalImage,
string outputImage,
Size targetSize,
OneShotProcessing.NineWayAnchor anchor,
ColorElement? fillColor)Overload that accepts a Drawing.Size where zero means "use original".
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標大小 | Size | — | |
| 錨點 | Nine Way Anchor | — | |
| 填充顏色 | 可選顏色 | — |
過載 5/5
按錨點裁剪 -> Pixel Image
原影像: Pixel Image
目標大小: Size
錨點: Nine Way Anchor
填充顏色: 可選顏色PixelImage AnchoredCrop(
PixelImage originalImage,
Size targetSize,
OneShotProcessing.NineWayAnchor anchor,
ColorElement? fillColor)Overload that accepts a Drawing.Size where zero means "use original".
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標大小 | Size | — | |
| 錨點 | Nine Way Anchor | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
應用浮雕效果
函數過載 1/2
應用浮雕效果
原始路徑: 文字
輸出路徑: 文字
浮雕半徑: 數字
浮雕sigma: 數字void ApplyEmboss(
string originalImage,
string outputImage,
double radius,
double sigma)對影像應用浮雕效果。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 浮雕半徑 | 數字 | — | 浮雕效果的半徑。 |
| 浮雕sigma | 數字 | — | 浮雕效果的sigma值。 |
過載 2/2
應用浮雕 -> Pixel Image
原影像: Pixel Image
半徑: 數字
標準差: 數字PixelImage ApplyEmboss(
PixelImage originalImage,
double radius,
double sigma)Embosses the image, as if pressed into metal and lit from one side.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 半徑 | 數字 | — | The reach of the relief, in pixels; 0 lets the sigma decide. |
| 標準差 | 數字 | — | How smooth the relief is. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
應用LUT
函數過載 1/2
應用LUT(原始路徑: 文字, LUT影像路徑: 文字, 輸出路徑: 文字)
void ApplyLUT(
string originalImage,
string lutImage,
string outputImage)將查詢表(LUT)應用於影像。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| LUT影像路徑 | 文字 | — | LUT影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
過載 2/2
應用查詢表 -> Pixel Image
原影像: Pixel Image
查詢表影像: Pixel ImagePixelImage ApplyLUT(
PixelImage originalImage,
PixelImage lutImage)Recolours the image through a colour lookup table: each channel's value is looked up along the table picture, from its first pixel for black to its last for white.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 查詢表影像 | Pixel Image | — | The table: a strip (any length, one pixel or more thick) or a square read along its diagonal. |
返回
| 結果 | Pixel Image |
備註
ImageMagick's -clut: red is looked up in the table's red, green in its green and blue in its blue, the table sampled along its diagonal with linear interpolation.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
應用油畫效果
函數過載 1/2
應用油畫效果
原始路徑: 文字
輸出路徑: 文字
半徑: 整數
層次: 整數void ApplyOilPaintEffect(
string originalImage,
string outputImage,
int radius,
int levels = 15)將油畫效果應用於影像。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 半徑 | 整數 | — | 油畫效果的半徑。 |
| 層次 | 整數 | 15 | 筆觸歸併顏色時使用的亮度層次數:越少,筆觸越平、越粗獷。 |
過載 2/2
應用油畫效果 -> Pixel Image
原影像: Pixel Image
半徑: 整數
層次: 整數PixelImage ApplyOilPaintEffect(
PixelImage originalImage,
int radius,
int levels = 15)Repaints the image as an oil painting: each pixel takes the most common colour around it.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 半徑 | 整數 | — | The size of the brush, in pixels. |
| 層次 | 整數 | 15 | How many intensity levels the brush sorts colours into: fewer gives flatter, bolder strokes. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
應用透視失真
函數過載 1/2
應用透視失真(原始路徑: 文字, 輸出路徑: 文字, 控制點: 數字陣列)
void ApplyPerspectiveDistortion(
string originalImage,
string outputImage,
double[] controlPoints)應用透視失真到影像,使用控制點。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 控制點 | 數字陣列 | — | 一個雙精度陣列,表示源座標和目標座標對。 陣列必須包含正好 16 個元素,順序如下: srcX1, srcY1, dstX1, dstY1, srcX2, srcY2, dstX2, dstY2, srcX3, srcY3, dstX3, dstY3, srcX4, srcY4, dstX4, dstY4。 |
過載 2/2
應用透視扭曲 -> Pixel Image
原影像: Pixel Image
控制點: 數字陣列PixelImage ApplyPerspectiveDistortion(
PixelImage originalImage,
double[] controlPoints)Distorts the image in perspective, so four points of it land where you say.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 控制點 | 數字陣列 | — | Four pairs of points, sixteen numbers: each a point of the image followed by where it should land - x1, y1, x1', y1', ... x4, y4, x4', y4'. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
應用漸暈
函數過載 1/2
應用漸暈
原始路徑: 文字
輸出路徑: 文字
漸暈半徑: 數字
漸暈sigma: 數字
x橢圓偏移: 整數
y橢圓偏移: 整數void ApplyVignette(
string originalImage,
string outputImage,
double radius,
double sigma,
int x,
int y)對影像應用漸暈效果。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 影像的原始路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 漸暈半徑 | 數字 | — | 漸暈效果的半徑。 |
| 漸暈sigma | 數字 | — | 漸暈效果的sigma值。 |
| x橢圓偏移 | 整數 | — | x橢圓的偏移。 |
| y橢圓偏移 | 整數 | — | y橢圓的偏移。 |
過載 2/2
應用暗角 -> Pixel Image
原影像: Pixel Image
半徑: 數字
標準差: 數字
X: 整數
Y: 整數PixelImage ApplyVignette(
PixelImage originalImage,
double radius,
double sigma,
int x,
int y)Darkens the image toward its edges, around an oval inset from the borders.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 半徑 | 數字 | — | The radius of the blur that softens the oval's edge; 0 lets the sigma decide. |
| 標準差 | 數字 | — | How soft the edge is, in pixels. |
| X | 整數 | — | How far the oval is inset from the left and right borders, in pixels. |
| Y | 整數 | — | How far the oval is inset from the top and bottom borders, in pixels. |
返回
| 結果 | Pixel Image |
備註
ImageMagick's vignette: a white oval on black, blurred by the sigma, multiplies the picture.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
漂白旁路
函數Creates a Bleach Bypass effect by partially desaturating the image and boosting contrast.
過載 1/2
漂白旁路
原路徑: 文字
輸出路徑: 文字
去飽和百分比: 數字
對比度增強: 數字void BleachBypass(
string originalPath,
string outputPath,
double desatPercentage = 50,
double contrastBoost = 10)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原路徑 | 文字 | — | Path to the original image file. |
| 輸出路徑 | 文字 | — | Path where the stylized image will be saved. |
| 去飽和百分比 | 數字 | 50 | How much to desaturate the image (0 = no desaturation, 100 = fully grayscale). |
| 對比度增強 | 數字 | 10 | Additional contrast to apply afterward (0 = no change). |
過載 2/2
漂白旁路 -> Pixel Image
原影像: Pixel Image
去飽和百分比: 數字
對比度增強: 數字PixelImage BleachBypass(
PixelImage originalImage,
double desatPercentage = 50,
double contrastBoost = 10)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 去飽和百分比 | 數字 | 50 | How much to desaturate the image (0 = no desaturation, 100 = fully grayscale). |
| 對比度增強 | 數字 | 10 | Additional contrast to apply afterward (0 = no change). |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
底部置中裁剪
函數此節點沒有文件說明。
過載 1/2
底部置中裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void BottomCenterCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
底部置中裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage BottomCenterCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
左下裁剪
函數此節點沒有文件說明。
過載 1/2
左下裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void BottomLeftCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
左下裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage BottomLeftCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
右下裁剪
函數此節點沒有文件說明。
過載 1/2
右下裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void BottomRightCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
右下裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage BottomRightCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
置中裁剪
函數此節點沒有文件說明。
過載 1/2
置中裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void CenterCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
置中裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage CenterCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
左側置中裁剪
函數此節點沒有文件說明。
過載 1/2
左側置中裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void CenterLeftCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
左側置中裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage CenterLeftCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
右側置中裁剪
函數此節點沒有文件說明。
過載 1/2
右側置中裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void CenterRightCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
右側置中裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage CenterRightCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
通道著色
函數Multiplies the red, green and blue channels by their own factors.
通道著色 -> Pixel Image
原圖: Pixel Image
紅色系數: 數字
綠色系數: 數字
藍色系數: 數字PixelImage ChannelTint(
PixelImage original,
double redFactor,
double greenFactor,
double blueFactor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原圖 | Pixel Image | — | The source image in Image.PixelImage format. |
| 紅色系數 | 數字 | — | The multiplier for the red channel. |
| 綠色系數 | 數字 | — | The multiplier for the green channel. |
| 藍色系數 | 數字 | — | The multiplier for the blue channel. |
返回
| 結果 | Pixel Image |
備註
Warm an image with a red factor a little above 1 (1.1), cool it by raising blue (1.2). Values past 255 clip.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
合成影像
函數過載 1/2
合成影像
基礎影像路徑: 文字
覆蓋影像路徑: 文字
輸出路徑: 文字
偏移量: Point
混合模式: BlendModevoid CompositeImages(
string baseImagePath,
string overlayImagePath,
string outputImage,
Point offset,
BlendMode blendMode)將覆蓋影像與基礎影像合成,使用指定的合成操作符和偏移量。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 基礎影像路徑 | 文字 | — | 基礎影像的路徑。 |
| 覆蓋影像路徑 | 文字 | — | 覆蓋影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 偏移量 | Point | — | 覆蓋應用的偏移(以像素為單位)。 |
| 混合模式 | BlendMode | — | 用於組合影像的合成操作符。 |
過載 2/2
合成影像 -> Pixel Image
基礎影像: Pixel Image
疊加影像: Pixel Image
偏移: Point
混合模式: BlendModePixelImage CompositeImages(
PixelImage baseImage,
PixelImage overlayImage,
Point offset,
BlendMode blendMode = BlendMode.SrcOver)Places one image over another, centred and then moved by an offset, combined by a blend mode.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 基礎影像 | Pixel Image | — | The base image as a Image.PixelImage. |
| 疊加影像 | Pixel Image | — | The overlay image as a Image.PixelImage. |
| 偏移 | Point | — | How far from centred the overlay sits, in pixels. |
| 混合模式 | BlendMode | 源在上 | How the overlay combines with the base: SrcOver lays it over, Multiply, Screen, Overlay and the rest blend as their names say. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
轉換為灰度
函數過載 1/2
轉換為灰度(原始路徑: 文字, 輸出路徑: 文字)
void ConvertToGrayscale(
string originalImage,
string outputImage)將影像轉換為灰度。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | Path to the original image. |
| 輸出路徑 | 文字 | — | Path for the output image. |
過載 2/2
轉為灰度(原影像: Pixel Image) -> Pixel Image
PixelImage ConvertToGrayscale(PixelImage originalImage)
Converts the image to shades of grey, by the luminance of each pixel (Rec. 709 weights).
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
轉為 ICO
函數過載 1/2
轉為 ICO(PNG 路徑: 文字, ICO 路徑: 文字, 多種解析度: 真否)
void ConvertToIco(
string pngPath,
string icoPath,
bool multipleResolution)Converts the given image file to an ICO file.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| PNG 路徑 | 文字 | — | The source image. |
| ICO 路徑 | 文字 | — | The path for the output .ico file. |
| 多種解析度 | 真否 | — | If true, writes every standard size from 256 to 16 pixels in one icon; otherwise a single size. |
過載 2/2
轉為 ICO(影像: Pixel Image, ICO 路徑: 文字, 多種解析度: 真否)
void ConvertToIco(
PixelImage image,
string icoPath,
bool multipleResolution)Converts the given Image.PixelImage to an ICO file.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | Pixel Image | — | The source Image.PixelImage. |
| ICO 路徑 | 文字 | — | The path for the output .ico file. |
| 多種解析度 | 真否 | — | If true, writes every standard size from 256 to 16 pixels in one icon; otherwise a single size. |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
裁剪影像
函數過載 1/4
裁剪影像
原影像: 文字
輸出影像: 文字
X 偏移: 正整數
Y 偏移: 正整數
裁剪寬度: 正整數
裁剪高度: 正整數
填充顏色: 可選顏色void CropImage(
string originalImage,
string outputImage,
uint offsetX,
uint offsetY,
uint cropWidth,
uint cropHeight,
ColorElement? fillColor)Crops the image to the specified rectangle. If the crop area exceeds the bounds of the original image, the missing regions are filled with the specified fill color.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | The path to the original image file. |
| 輸出影像 | 文字 | — | The path to the output image file. |
| X 偏移 | 正整數 | — | The X offset (in pixels) where cropping should begin. |
| Y 偏移 | 正整數 | — | The Y offset (in pixels) where cropping should begin. |
| 裁剪寬度 | 正整數 | — | The width (in pixels) of the crop area. |
| 裁剪高度 | 正整數 | — | The height (in pixels) of the crop area. |
| 填充顏色 | 可選顏色 | — | The fill color to use for areas outside the bounds of the original image. Defaults to white if not provided. |
過載 2/4
裁剪影像 -> Pixel Image
原影像: Pixel Image
X 偏移: 正整數
Y 偏移: 正整數
裁剪寬度: 正整數
裁剪高度: 正整數
填充顏色: 可選顏色PixelImage CropImage(
PixelImage originalImage,
uint offsetX,
uint offsetY,
uint cropWidth,
uint cropHeight,
ColorElement? fillColor)Crops the image to the specified rectangle. If the crop area exceeds the original bounds, the missing regions are filled with the specified color.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| X 偏移 | 正整數 | — | The X offset from the top-left corner. |
| Y 偏移 | 正整數 | — | The Y offset from the top-left corner. |
| 裁剪寬度 | 正整數 | — | The width of the crop area. |
| 裁剪高度 | 正整數 | — | The height of the crop area. |
| 填充顏色 | 可選顏色 | — | The fill color to use outside original bounds (defaults to white). |
返回
| 結果 | Pixel Image |
過載 3/4
裁剪影像
原影像: 文字
輸出影像: 文字
偏移: Vector2
裁剪大小: Size
填充顏色: 可選顏色void CropImage(
string originalImage,
string outputImage,
Vector2 offset,
Size cropSize,
ColorElement? fillColor)Crops the image to the specified rectangle defined by an offset vector and size.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | The path to the original image file. |
| 輸出影像 | 文字 | — | The path to the output image file. |
| 偏移 | Vector2 | — | The offset (in pixels) where cropping should begin. |
| 裁剪大小 | Size | — | The size (in pixels) of the crop area. |
| 填充顏色 | 可選顏色 | — | The fill color to use for areas outside the original image bounds. |
過載 4/4
裁剪影像 -> Pixel Image
原影像: Pixel Image
偏移: Vector2
裁剪大小: Size
填充顏色: 可選顏色PixelImage CropImage(
PixelImage originalImage,
Vector2 offset,
Size cropSize,
ColorElement? fillColor)Crops the image to the specified rectangle using an offset vector and size.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 偏移 | Vector2 | — | The offset (in pixels) from the top-left corner. |
| 裁剪大小 | Size | — | The width and height of the crop. |
| 填充顏色 | 可選顏色 | — | The fill color for areas outside the original image bounds. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
水平翻轉影像
函數過載 1/2
水平翻轉影像(原始路徑: 文字, 輸出路徑: 文字)
void FlipImageHorizontally(
string originalImage,
string outputImage)翻轉影像,使其水平對稱(從左到右鏡像)。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | The path to the original image file. |
| 輸出路徑 | 文字 | — | The path where the transformed image will be saved. |
過載 2/2
水平翻轉影像(原影像: Pixel Image) -> Pixel Image
PixelImage FlipImageHorizontally(PixelImage originalImage)
Flips the image horizontally (mirrors it left-to-right).
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The original image data. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
翻轉影像垂直
函數過載 1/2
翻轉影像垂直(原始路徑: 文字, 輸出路徑: 文字)
void FlipImageVertically(
string originalImage,
string outputImage)垂直翻轉影像(自上而下地鏡像)。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像檔案的路徑。 |
| 輸出路徑 | 文字 | — | 轉換後影像將儲存的路徑。 |
過載 2/2
垂直翻轉影像(原影像: Pixel Image) -> Pixel Image
PixelImage FlipImageVertically(PixelImage originalImage)
Flips the image vertically (mirrors it top-to-bottom).
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source image in Image.PixelImage format. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
伽馬校正
函數過載 1/2
伽馬校正(原始路徑: 文字, 輸出路徑: 文字, 伽馬值: 數字)
void GammaCorrection(
string originalImage,
string outputImage,
double gamma)對影像應用伽馬校正。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 伽馬值 | 數字 | — | 要應用的伽馬值(通常在0.1到3.0之間)。 |
過載 2/2
伽馬校正(原影像: Pixel Image, 伽馬: 數字) -> Pixel Image
PixelImage GammaCorrection(
PixelImage originalImage,
double gamma)Applies a gamma correction: values above 1 brighten the midtones, below 1 darken them.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 伽馬 | 數字 | — | The gamma: 1 leaves the image. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
高斯模糊
函數過載 1/2
高斯模糊
原始路徑: 文字
輸出路徑: 文字
模糊半徑: 數字
標準差: 數字void GaussianBlur(
string originalImage,
string outputImage,
double radius,
double sigma)對影像應用高斯模糊。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 模糊半徑 | 數字 | — | 模糊半徑。 |
| 標準差 | 數字 | — | 模糊的標準差(sigma)。 |
過載 2/2
高斯模糊 -> Pixel Image
原影像: Pixel Image
半徑: 數字
標準差: 數字PixelImage GaussianBlur(
PixelImage originalImage,
double radius,
double sigma)Applies a Gaussian blur to the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 半徑 | 數字 | — | The radius of the blur, in pixels; 0 lets the sigma decide. |
| 標準差 | 數字 | — | The standard deviation of the Gaussian, in pixels: how strong the blur is. |
返回
| 結果 | Pixel Image |
備註
The sigma decides the blur, as it does in ImageMagick, whose radius only bounds the kernel; this runs Methodox Image Editor's recursive Gaussian, which costs the same at any sigma.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
高對比度黑白
函數Applies a high-contrast black-and-white effect.
過載 1/2
高對比度黑白(原路徑: 文字, 輸出路徑: 文字, 對比度增強: 數字)
void HighContrastBAndW(
string originalPath,
string outputPath,
double contrastBoost = 30)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原路徑 | 文字 | — | Path to the original image file. |
| 輸出路徑 | 文字 | — | Path where the stylized image will be saved. |
| 對比度增強 | 數字 | 30 | The contrast boost percentage (0 means no change; typical range is 10–50). |
過載 2/2
高對比度黑白 -> Pixel Image
原影像: Pixel Image
對比度增強: 數字PixelImage HighContrastBAndW(
PixelImage originalImage,
double contrastBoost = 30)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 對比度增強 | 數字 | 30 | The contrast boost percentage (0 means no change; typical range is 10-50 for noticeable effect). |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
反轉顏色
函數過載 1/2
反轉顏色(原始路徑: 文字, 輸出路徑: 文字)
void InvertColors(string originalImage, string outputImage)
反轉影像的顏色。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | Path to the original image. |
| 輸出路徑 | 文字 | — | Path for the output image. |
過載 2/2
反相顏色(原影像: Pixel Image) -> Pixel Image
PixelImage InvertColors(PixelImage originalImage)
Inverts the colors of the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
運動模糊處理
函數過載 1/2
運動模糊處理
原始路徑: 文字
輸出路徑: 文字
模糊半徑: 數字
標準差: 數字
運動模糊角度: 數字void MotionBlur(
string originalImage,
string outputImage,
double radius,
double sigma,
double angle)將運動模糊應用於影像。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 模糊半徑 | 數字 | — | 模糊半徑。 |
| 標準差 | 數字 | — | 模糊的標準差(sigma)。 |
| 運動模糊角度 | 數字 | — | 運動模糊的角度(以度為單位)。 |
過載 2/2
運動模糊 -> Pixel Image
原影像: Pixel Image
半徑: 數字
標準差: 數字
角度: 數字PixelImage MotionBlur(
PixelImage originalImage,
double radius,
double sigma,
double angle)Applies a motion blur, as if the camera moved along a line during the exposure.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 半徑 | 數字 | — | How far the motion reaches, in pixels; 0 lets the sigma decide. |
| 標準差 | 數字 | — | How strongly the streak fades along its length. |
| 角度 | 數字 | — | The direction of the motion, in degrees. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
像素化
函數過載 1/2
像素化(原影像: Pixel Image, 大小: 整數) -> Pixel Image
PixelImage Pixelate(PixelImage originalImage, int size = 4)
Gives the image a retro, pixel-art look by grouping pixels into blocks of Size² and painting each block with its average colour. The final bitmap keeps the original resolution.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | Source image data. |
| 大小 | 整數 | 4 | The block width/height in pixels (minimum = 1). Larger values → chunkier pixels. Default = 4. |
返回
| 結果 | Pixel Image |
過載 2/2
像素化(原影像: 文字, 輸出影像: 文字, 大小: 整數)
void Pixelate(
string originalImage,
string outputImage,
int size = 4)Gives the image a retro, pixel-art look: blocks of Size pixels, each its average colour.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | The path to the original image. |
| 輸出影像 | 文字 | — | The path for the output image. |
| 大小 | 整數 | 4 | The block width/height in pixels (minimum = 1). |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
圓形像素化
函數Pixel-art effect that replaces every Size×Size block with a filled circle, giving a dotted-mosaic look.
圓形像素化 -> Pixel Image
原影像: Pixel Image
大小: 整數
背景: 可選顏色
邊距: 整數PixelImage PixelateCircle(
PixelImage originalImage,
int size = 4,
ColorElement? background,
int margin = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | Source bitmap. |
| 大小 | 整數 | 4 | Side length of each logical block (≥ 1). |
| 背景 | 可選顏色 | — | Canvas colour – everything outside the dots. Null ➜ transparent. |
| 邊距 | 整數 | 0 | Padding between the circle and the edge of its block. 0 means the circle just touches its neighbours; Margin × 2 must be < Size. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
重新著色
函數Tints the image toward a colour.
過載 1/2
重新著色
原影像: 文字
輸出影像: 文字
疊加顏色: 顏色
不透明度: 數字void RecolorImage(
string originalImage,
string outputImage,
ColorElement overlayColor,
double opacity)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | The path to the original image. |
| 輸出影像 | 文字 | — | The path for the output image. |
| 疊加顏色 | 顏色 | — | The colour to tint toward. |
| 不透明度 | 數字 | — | How far toward it, as a percentage: 0 leaves the image, 100 paints it the colour. |
過載 2/2
重新著色 -> Pixel Image
原影像: Pixel Image
疊加顏色: 顏色
不透明度: 數字PixelImage RecolorImage(
PixelImage originalImage,
ColorElement overlayColor,
double opacity)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 疊加顏色 | 顏色 | — | The colour to tint toward. |
| 不透明度 | 數字 | — | How far toward it, as a percentage: 0 leaves the image, 100 paints it the colour. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
降噪
函數過載 1/2
降噪(原始路徑: 文字, 輸出路徑: 文字, 噪聲減少尺寸: 正整數)
void ReduceNoise(
string originalImage,
string outputImage,
uint order)減少影像中的噪聲。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 噪聲減少尺寸 | 正整數 | — | 用於噪聲減少的尺寸。 |
過載 2/2
降噪(原影像: Pixel Image, 階數: 正整數) -> Pixel Image
PixelImage ReduceNoise(PixelImage originalImage, uint order)
Reduces noise with a median filter, which removes specks while keeping edges.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 階數 | 正整數 | — | The radius of the neighbourhood each pixel takes the median of, in pixels. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
順時針旋轉影像90度
函數過載 1/2
順時針旋轉影像90度(原始路徑: 文字, 輸出路徑: 文字)
void RotateImageClockwise90Degrees(
string originalImage,
string outputImage)將影像順時針旋轉90度。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像檔案的路徑。 |
| 輸出路徑 | 文字 | — | 變換後的影像將儲存到的路徑。 |
過載 2/2
順時針旋轉影像 90 度(原影像: Pixel Image) -> Pixel Image
PixelImage RotateImageClockwise90Degrees(PixelImage originalImage)
Rotates the image 90 degrees clockwise.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source image in Image.PixelImage format. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
旋轉影像逆時針90度
函數過載 1/2
旋轉影像逆時針90度(原始路徑: 文字, 輸出路徑: 文字)
void RotateImageCounterclockwise90Degrees(
string originalImage,
string outputImage)逆時針旋轉影像90度。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像檔案的路徑。 |
| 輸出路徑 | 文字 | — | 轉換後影像將被儲存的路徑。 |
過載 2/2
逆時針旋轉影像 90 度(原影像: Pixel Image) -> Pixel Image
PixelImage RotateImageCounterclockwise90Degrees(PixelImage originalImage)
Rotates the image 90 degrees counterclockwise.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source image in Image.PixelImage format. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
選擇性顏色偏移
函數Turns the hue of only the colours near a target colour.
選擇性顏色偏移 -> Pixel Image
原圖: Pixel Image
目標顏色: 顏色
色相偏移(度): 數字
容差: 數字PixelImage SelectiveColorShift(
PixelImage original,
ColorElement targetColor,
double hueShiftDegrees,
double fuzz)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原圖 | Pixel Image | — | The source image in Image.PixelImage format. |
| 目標顏色 | 顏色 | — | The colour whose neighbours change. |
| 色相偏移(度) | 數字 | — | How far to turn their hue round the colour wheel, in degrees; 180 gives the opposite colour. |
| 容差 | 數字 | — | How near a colour must be to change, as a percentage of the largest possible distance between two colours. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
復古褐色調
函數Tones the image in sepia, as an old photograph.
過載 1/2
復古褐色調(原路徑: 文字, 輸出路徑: 文字, 閾值: 數字)
void SepiaTone(
string originalPath,
string outputPath,
double threshold = 80)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原路徑 | 文字 | — | Path to the original image file. |
| 輸出路徑 | 文字 | — | Path where the sepia-toned image will be saved. |
| 閾值 | 數字 | 80 | How strong the sepia is, from 0 to 100: 80 is a classic sepia. |
過載 2/2
復古褐色調(原影像: Pixel Image, 閾值: 數字) -> Pixel Image
PixelImage SepiaTone(
PixelImage originalImage,
double threshold = 80)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 閾值 | 數字 | 80 | How strong the sepia is, from 0 to 100: 80 is a classic sepia. |
返回
| 結果 | Pixel Image |
備註
ImageMagick's sepia-tone ramps - each channel a ramp of the pixel's intensity offset by the threshold, red the most and blue the least - without the normalize and contrast stretch ImageMagick runs over the result, which turns it a saturated orange; this keeps the classic brown of an old photograph.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
銳化
函數過載 1/2
銳化(原始路徑: 文字, 輸出路徑: 文字, 半徑: 數字, 標準差: 數字)
void Sharpen(
string originalImage,
string outputImage,
double radius,
double sigma)銳化影像。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 半徑 | 數字 | — | 銳化效果的半徑。 |
| 標準差 | 數字 | — | 銳化效果的sigma。 |
過載 2/2
銳化 -> Pixel Image
原影像: Pixel Image
半徑: 數字
標準差: 數字PixelImage Sharpen(
PixelImage originalImage,
double radius,
double sigma)Sharpens the image.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 半徑 | 數字 | — | The radius of the sharpening, in pixels; 0 lets the sigma decide. |
| 標準差 | 數字 | — | The standard deviation of the Gaussian the detail is measured against. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
柔焦
函數Applies a soft-focus effect: the centre stays sharp and the image blurs toward its edges.
柔焦 -> Pixel Image
原圖: Pixel Image
模糊半徑: 數字
模糊標準差: 數字PixelImage SoftFocus(
PixelImage original,
double blurRadius,
double blurSigma)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原圖 | Pixel Image | — | The source image in Image.PixelImage format. |
| 模糊半徑 | 數字 | — | The radius of the Gaussian blur; 0 lets the sigma decide. |
| 模糊標準差 | 數字 | — | The sigma (standard deviation) of the Gaussian blur. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
頂部置中裁剪
函數此節點沒有文件說明。
過載 1/2
頂部置中裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void TopCenterCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
頂部置中裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage TopCenterCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
左上裁剪
函數此節點沒有文件說明。
過載 1/2
左上裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void TopLeftCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
左上裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage TopLeftCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
右上裁剪
函數此節點沒有文件說明。
過載 1/2
右上裁剪
原影像: 文字
輸出影像: 文字
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色void TopRightCrop(
string originalImage,
string outputImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | 文字 | — | |
| 輸出影像 | 文字 | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
過載 2/2
右上裁剪 -> Pixel Image
原影像: Pixel Image
目標寬度: 可選正整數
目標高度: 可選正整數
填充顏色: 可選顏色PixelImage TopRightCrop(
PixelImage originalImage,
uint? targetWidth,
uint? targetHeight,
ColorElement? fillColor)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | |
| 目標寬度 | 可選正整數 | — | |
| 目標高度 | 可選正整數 | — | |
| 填充顏色 | 可選顏色 | — |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理
不銳化掩模
函數過載 1/2
不銳化掩模
原始路徑: 文字
輸出路徑: 文字
半徑: 數字
標準差: 數字
銳化量: 數字
閾值: 數字void UnsharpMask(
string originalImage,
string outputImage,
double radius,
double sigma,
double amount,
double threshold)應用不銳化掩模到影像。
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原始路徑 | 文字 | — | 原始影像的路徑。 |
| 輸出路徑 | 文字 | — | 輸出影像的路徑。 |
| 半徑 | 數字 | — | 不銳化掩模的半徑。 |
| 標準差 | 數字 | — | 不銳化掩模的sigma。 |
| 銳化量 | 數字 | — | 銳化的數量。 |
| 閾值 | 數字 | — | 不銳化掩模的閾值。 |
過載 2/2
USM 銳化 -> Pixel Image
原影像: Pixel Image
半徑: 數字
標準差: 數字
量: 數字
閾值: 數字PixelImage UnsharpMask(
PixelImage originalImage,
double radius,
double sigma,
double amount,
double threshold)Sharpens the image with an unsharp mask: the difference from a blurred copy, scaled and added back.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原影像 | Pixel Image | — | The source Image.PixelImage. |
| 半徑 | 數字 | — | The radius of the blur, in pixels; 0 lets the sigma decide. |
| 標準差 | 數字 | — | The standard deviation of the blur. |
| 量 | 數字 | — | How much of the difference is added back: 1 doubles the detail. |
| 閾值 | 數字 | — | The smallest difference, as a fraction from 0 to 1, that is sharpened at all. |
返回
| 結果 | Pixel Image |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 快速影像處理
- 所屬包
- 影像處理