Divooka Reference

Quick Image Edit

49 nodes

On this page 49

Add Backgroud

Function

Adds a solid-colored background behind any transparent pixels in the image.

Signature
AddBackgroud -> Pixel Image
    originalImage: Pixel Image
    background: Optional Color
PixelImage AddBackgroud(
    PixelImage originalImage,
    ColorElement? background)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
backgroundOptional Color—The background fill color. If null, defaults to white.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Add Film Grain

Function

Lays a film grain over the image, as an analog photograph has.

Signature
AddFilmGrain -> Pixel Image
    original: Pixel Image
    noiseType: Grain Noise
    opacity: Number
    seed: Integer
PixelImage AddFilmGrain(
    PixelImage original,
    OneShotProcessing.GrainNoise noiseType = GrainNoise.Gaussian,
    double opacity = 20,
    int seed = -1)

Parameters

nametypedefaultdescription
originalPixel Image—The source image in Image.PixelImage format.
noiseTypeGrain NoiseGaussianThe kind of grain.
opacityNumber20How visible the grain is, as a percentage from 0 to 100.
seedInteger-1The same seed lays the same grain; -1 for a different grain every time.

Returns

resultPixel Image

Remarks

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.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Add Text

Function

Writes text onto the image.

Overload 1 of 2

Signature
AddText
    originalImage: Text
    outputImage: Text
    text: Text
    location: Point
    font: Text
    fontSize: Integer
    color: Color
void AddText(
    string originalImage,
    string outputImage,
    string text,
    Point location,
    string font,
    int fontSize,
    ColorElement color)

Parameters

nametypedefaultdescription
originalImageText—Path to the original image.
outputImageText—Path for the output image.
textText—The text to add; it may run over several lines.
locationPoint—Where the first line's baseline starts, in pixels.
fontText—The font family name to use.
fontSizeInteger—The font size, in pixels.
colorColor—The color of the text.

Overload 2 of 2

Signature
AddText -> Pixel Image
    originalImage: Pixel Image
    text: Text
    location: Point
    font: Text
    fontSize: Integer
    color: Color
PixelImage AddText(
    PixelImage originalImage,
    string text,
    Point location,
    string font,
    int fontSize,
    ColorElement color)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
textText—The text to add; it may run over several lines.
locationPoint—Where the first line's baseline starts, in pixels.
fontText—The font family name to use.
fontSizeInteger—The font size, in pixels.
colorColor—The color of the text.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Adjust Brightness Contrast

Function

Adjusts the brightness and contrast of the image.

Overload 1 of 2

Signature
AdjustBrightnessContrast
    originalImage: Text
    outputImage: Text
    brightness: Number
    contrast: Number
void AdjustBrightnessContrast(
    string originalImage,
    string outputImage,
    double brightness,
    double contrast)

Parameters

nametypedefaultdescription
originalImageText—Path to the original image.
outputImageText—Path for the output image.
brightnessNumber—The brightness adjustment in percentage, from -100 to 100: 0 means no change; positive values brighten and negative values darken.
contrastNumber—The contrast adjustment in percentage, from -100 to 100: 0 means no change; positive values increase contrast and negative values decrease contrast.

Overload 2 of 2

Signature
AdjustBrightnessContrast -> Pixel Image
    originalImage: Pixel Image
    brightness: Number
    contrast: Number
PixelImage AdjustBrightnessContrast(
    PixelImage originalImage,
    double brightness,
    double contrast)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
brightnessNumber—The brightness change in percentage, from -100 to 100 (negative darkens, positive brightens).
contrastNumber—The contrast change in percentage, from -100 to 100 (negative decreases, positive increases).

Returns

resultPixel Image

Remarks

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.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Adjust Color Balance

Function

Adjusts the color balance of the image by adding offsets to the red, green, and blue channels.

Overload 1 of 2

Signature
AdjustColorBalance
    originalImage: Text
    outputImage: Text
    redOffset: Integer
    greenOffset: Integer
    blueOffset: Integer
void AdjustColorBalance(
    string originalImage,
    string outputImage,
    int redOffset,
    int greenOffset,
    int blueOffset)

Parameters

nametypedefaultdescription
originalImageText—Path to the original image.
outputImageText—Path for the output image.
redOffsetInteger—The offset to add to the red channel, from -255 to 255.
greenOffsetInteger—The offset to add to the green channel.
blueOffsetInteger—The offset to add to the blue channel.

Overload 2 of 2

Signature
AdjustColorBalance -> Pixel Image
    originalImage: Pixel Image
    redOffset: Integer
    greenOffset: Integer
    blueOffset: Integer
PixelImage AdjustColorBalance(
    PixelImage originalImage,
    int redOffset,
    int greenOffset,
    int blueOffset)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
redOffsetInteger—Offset to add to the red channel, from -255 to 255.
greenOffsetInteger—Offset to add to the green channel.
blueOffsetInteger—Offset to add to the blue channel.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Adjust HSL

Function

Adjusts hue, saturation and lightness, each as a percentage where 100 leaves it unchanged.

Overload 1 of 2

Signature
AdjustHSL
    originalImage: Text
    outputImage: Text
    hue: Number
    saturation: Number
    luminance: Number
void AdjustHSL(
    string originalImage,
    string outputImage,
    double hue,
    double saturation,
    double luminance)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
hueNumber—The hue as a percentage: 100 leaves it, 0 and 200 turn every colour half way round the colour wheel.
saturationNumber—The saturation as a percentage: 100 leaves it, 0 makes the image grey.
luminanceNumber—The lightness as a percentage: 100 leaves it, 0 makes the image black.

Overload 2 of 2

Signature
AdjustHSL -> Pixel Image
    originalImage: Pixel Image
    hue: Number
    saturation: Number
    luminance: Number
PixelImage AdjustHSL(
    PixelImage originalImage,
    double hue,
    double saturation,
    double luminance)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
hueNumber—The hue as a percentage: 100 leaves it, 0 and 200 turn every colour half way round the colour wheel.
saturationNumber—The saturation as a percentage: 100 leaves it, 0 makes the image grey.
luminanceNumber—The lightness as a percentage: 100 leaves it, 0 makes the image black.

Returns

resultPixel Image

Remarks

ImageMagick's -modulate in its default HSL space.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Adjust Levels

Function

Adjusts levels: the black point becomes black, the white point white, and the gamma bends the tones between.

Overload 1 of 2

Signature
AdjustLevels
    originalImage: Text
    outputImage: Text
    blackPoint: Byte
    whitePoint: Byte
    gamma: Number
void AdjustLevels(
    string originalImage,
    string outputImage,
    byte blackPoint,
    byte whitePoint,
    double gamma)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
blackPointByte—The value, from 0 to 255, that becomes black.
whitePointByte—The value, from 0 to 255, that becomes white.
gammaNumber—The gamma between them: 1 is a straight line.

Overload 2 of 2

Signature
AdjustLevels -> Pixel Image
    originalImage: Pixel Image
    blackPoint: Byte
    whitePoint: Byte
    gamma: Number
PixelImage AdjustLevels(
    PixelImage originalImage,
    byte blackPoint,
    byte whitePoint,
    double gamma)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
blackPointByte—The value, from 0 to 255, that becomes black.
whitePointByte—The value, from 0 to 255, that becomes white.
gammaNumber—The gamma between them: 1 is a straight line.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Adjust Saturation

Function

Adjusts the saturation of the image.

Overload 1 of 2

Signature
AdjustSaturation
    originalImage: Text
    outputImage: Text
    saturation: Number
void AdjustSaturation(
    string originalImage,
    string outputImage,
    double saturation)

Parameters

nametypedefaultdescription
originalImageText—Path to the original image.
outputImageText—Path for the output image.
saturationNumber—The saturation level as a percentage: 100 leaves the image unchanged; values above 100 increase saturation, while values below 100 decrease it.

Overload 2 of 2

Signature
AdjustSaturation -> Pixel Image
    originalImage: Pixel Image
    saturation: Number
PixelImage AdjustSaturation(
    PixelImage originalImage,
    double saturation)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
saturationNumber—The saturation level as a percentage: 100 means no change; values above 100 increase saturation, while values below 100 decrease it.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Adjust Selective Saturation

Function

Changes the saturation of only the colours near a target colour.

Overload 1 of 2

Signature
AdjustSelectiveSaturation
    originalImage: Text
    outputImage: Text
    targetColor: Color
    tolerance: Number
    saturation: Number
void AdjustSelectiveSaturation(
    string originalImage,
    string outputImage,
    ColorElement targetColor,
    double tolerance,
    double saturation)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
targetColorColor—The colour whose neighbours change.
toleranceNumber—How near a colour must be to change, as a percentage of the largest possible distance between two colours.
saturationNumber—The saturation those colours take, as a percentage: 100 leaves them.

Overload 2 of 2

Signature
AdjustSelectiveSaturation -> Pixel Image
    originalImage: Pixel Image
    targetColor: Color
    tolerance: Number
    saturation: Number
PixelImage AdjustSelectiveSaturation(
    PixelImage originalImage,
    ColorElement targetColor,
    double tolerance,
    double saturation)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
targetColorColor—The colour whose neighbours change.
toleranceNumber—How near a colour must be to change, as a percentage of the largest possible distance between two colours.
saturationNumber—The saturation those colours take, as a percentage: 100 leaves them.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Adjust Shadows Highlights

Function

Opens up the shadows and recovers the highlights with sigmoidal contrast around each.

Overload 1 of 2

Signature
AdjustShadowsHighlights
    originalImage: Text
    outputImage: Text
    shadows: Number
    highlights: Number
void AdjustShadowsHighlights(
    string originalImage,
    string outputImage,
    double shadows,
    double highlights)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
shadowsNumber—How strongly to lift the shadows; 0 leaves them.
highlightsNumber—How strongly to shape the highlights; 0 leaves them.

Overload 2 of 2

Signature
AdjustShadowsHighlights -> Pixel Image
    originalImage: Pixel Image
    shadows: Number
    highlights: Number
PixelImage AdjustShadowsHighlights(
    PixelImage originalImage,
    double shadows,
    double highlights)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
shadowsNumber—How strongly to lift the shadows; 0 leaves them.
highlightsNumber—How strongly to shape the highlights; 0 leaves them.

Returns

resultPixel Image

Remarks

ImageMagick's sigmoidal contrast, centred on 30% for the shadows and 70% for the highlights.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Anchored Crop

Function

Overload 1 of 5

Signature
AnchoredCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Low Accuracy Number
    targetHeight: Optional Low Accuracy Number
    anchor: Nine Way Anchor
    fillColor: Optional Color
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.

Parameters

nametypedefaultdescription
originalImageText—Path to the source image.
outputImageText—Path to write the cropped image.
targetWidthOptional Low Accuracy Number—Ratio of the original width to use for the crop: null, 0 or 1 keeps the original width; any other value multiplies it.
targetHeightOptional Low Accuracy Number—Ratio of the original height to use for the crop: null, 0 or 1 keeps the original height; any other value multiplies it.
anchorNine Way Anchor—Where to anchor the original image within the crop.
fillColorOptional Color—Fill color used where the original doesn't cover the crop. Defaults to white.

Overload 2 of 5

Signature
AnchoredCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    anchor: Nine Way Anchor
    fillColor: Optional Color
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.

Parameters

nametypedefaultdescription
originalImageText—Path to the source image.
outputImageText—Path to write the cropped image.
targetWidthOptional Positive Integer—Target crop width, or null/0 to use the original width.
targetHeightOptional Positive Integer—Target crop height, or null/0 to use the original height.
anchorNine Way Anchor—Where to anchor the original image within the crop.
fillColorOptional Color—Fill color used where the original doesn't cover the crop.

Overload 3 of 5

Signature
AnchoredCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    anchor: Nine Way Anchor
    fillColor: Optional Color
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.

Parameters

nametypedefaultdescription
originalImagePixel Image—Source Image.PixelImage.
targetWidthOptional Positive Integer—Target crop width, or null/0 to use the original width.
targetHeightOptional Positive Integer—Target crop height, or null/0 to use the original height.
anchorNine Way Anchor—Where to anchor the original image within the crop.
fillColorOptional Color—Fill color used where the original doesn't cover the crop.

Returns

resultPixel Image

Overload 4 of 5

Signature
AnchoredCrop
    originalImage: Text
    outputImage: Text
    targetSize: Size
    anchor: Nine Way Anchor
    fillColor: Optional Color
void AnchoredCrop(
    string originalImage,
    string outputImage,
    Size targetSize,
    OneShotProcessing.NineWayAnchor anchor,
    ColorElement? fillColor)

Overload that accepts a Drawing.Size where zero means "use original".

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetSizeSize—
anchorNine Way Anchor—
fillColorOptional Color—

Overload 5 of 5

Signature
AnchoredCrop -> Pixel Image
    originalImage: Pixel Image
    targetSize: Size
    anchor: Nine Way Anchor
    fillColor: Optional Color
PixelImage AnchoredCrop(
    PixelImage originalImage,
    Size targetSize,
    OneShotProcessing.NineWayAnchor anchor,
    ColorElement? fillColor)

Overload that accepts a Drawing.Size where zero means "use original".

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetSizeSize—
anchorNine Way Anchor—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Apply Emboss

Function

Embosses the image, as if pressed into metal and lit from one side.

Overload 1 of 2

Signature
ApplyEmboss
    originalImage: Text
    outputImage: Text
    radius: Number
    sigma: Number
void ApplyEmboss(
    string originalImage,
    string outputImage,
    double radius,
    double sigma)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
radiusNumber—The reach of the relief, in pixels; 0 lets the sigma decide.
sigmaNumber—How smooth the relief is.

Overload 2 of 2

Signature
ApplyEmboss -> Pixel Image
    originalImage: Pixel Image
    radius: Number
    sigma: Number
PixelImage ApplyEmboss(
    PixelImage originalImage,
    double radius,
    double sigma)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
radiusNumber—The reach of the relief, in pixels; 0 lets the sigma decide.
sigmaNumber—How smooth the relief is.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Apply LUT

Function

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.

Overload 1 of 2

Signature
ApplyLUT(originalImage: Text, lutImage: Text, outputImage: Text)
void ApplyLUT(
    string originalImage,
    string lutImage,
    string outputImage)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
lutImageText—The path to the table: a strip (any length, one pixel or more thick) or a square read along its diagonal.
outputImageText—The path for the output image.

Overload 2 of 2

Signature
ApplyLUT -> Pixel Image
    originalImage: Pixel Image
    lutImage: Pixel Image
PixelImage ApplyLUT(
    PixelImage originalImage,
    PixelImage lutImage)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
lutImagePixel Image—The table: a strip (any length, one pixel or more thick) or a square read along its diagonal.

Returns

resultPixel Image

Remarks

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.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Apply Oil Paint Effect

Function

Repaints the image as an oil painting: each pixel takes the most common colour around it.

Overload 1 of 2

Signature
ApplyOilPaintEffect
    originalImage: Text
    outputImage: Text
    radius: Integer
    levels: Integer
void ApplyOilPaintEffect(
    string originalImage,
    string outputImage,
    int radius,
    int levels = 15)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
radiusInteger—The size of the brush, in pixels.
levelsInteger15How many intensity levels the brush sorts colours into: fewer gives flatter, bolder strokes.

Overload 2 of 2

Signature
ApplyOilPaintEffect -> Pixel Image
    originalImage: Pixel Image
    radius: Integer
    levels: Integer
PixelImage ApplyOilPaintEffect(
    PixelImage originalImage,
    int radius,
    int levels = 15)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
radiusInteger—The size of the brush, in pixels.
levelsInteger15How many intensity levels the brush sorts colours into: fewer gives flatter, bolder strokes.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Apply Perspective Distortion

Function

Distorts the image in perspective, so four points of it land where you say.

Overload 1 of 2

Signature
ApplyPerspectiveDistortion
    originalImage: Text
    outputImage: Text
    controlPoints: Number Array
void ApplyPerspectiveDistortion(
    string originalImage,
    string outputImage,
    double[] controlPoints)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
controlPointsNumber Array—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'.

Overload 2 of 2

Signature
ApplyPerspectiveDistortion -> Pixel Image
    originalImage: Pixel Image
    controlPoints: Number Array
PixelImage ApplyPerspectiveDistortion(
    PixelImage originalImage,
    double[] controlPoints)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
controlPointsNumber Array—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'.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Apply Vignette

Function

Darkens the image toward its edges, around an oval inset from the borders.

Overload 1 of 2

Signature
ApplyVignette
    originalImage: Text
    outputImage: Text
    radius: Number
    sigma: Number
    x: Integer
    y: Integer
void ApplyVignette(
    string originalImage,
    string outputImage,
    double radius,
    double sigma,
    int x,
    int y)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
radiusNumber—The radius of the blur that softens the oval's edge; 0 lets the sigma decide.
sigmaNumber—How soft the edge is, in pixels.
xInteger—How far the oval is inset from the left and right borders, in pixels.
yInteger—How far the oval is inset from the top and bottom borders, in pixels.

Overload 2 of 2

Signature
ApplyVignette -> Pixel Image
    originalImage: Pixel Image
    radius: Number
    sigma: Number
    x: Integer
    y: Integer
PixelImage ApplyVignette(
    PixelImage originalImage,
    double radius,
    double sigma,
    int x,
    int y)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
radiusNumber—The radius of the blur that softens the oval's edge; 0 lets the sigma decide.
sigmaNumber—How soft the edge is, in pixels.
xInteger—How far the oval is inset from the left and right borders, in pixels.
yInteger—How far the oval is inset from the top and bottom borders, in pixels.

Returns

resultPixel Image

Remarks

ImageMagick's vignette: a white oval on black, blurred by the sigma, multiplies the picture.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Bleach Bypass

Function

Creates a Bleach Bypass effect by partially desaturating the image and boosting contrast.

Overload 1 of 2

Signature
BleachBypass
    originalPath: Text
    outputPath: Text
    desatPercentage: Number
    contrastBoost: Number
void BleachBypass(
    string originalPath,
    string outputPath,
    double desatPercentage = 50,
    double contrastBoost = 10)

Parameters

nametypedefaultdescription
originalPathText—Path to the original image file.
outputPathText—Path where the stylized image will be saved.
desatPercentageNumber50How much to desaturate the image (0 = no desaturation, 100 = fully grayscale).
contrastBoostNumber10Additional contrast to apply afterward (0 = no change).

Overload 2 of 2

Signature
BleachBypass -> Pixel Image
    originalImage: Pixel Image
    desatPercentage: Number
    contrastBoost: Number
PixelImage BleachBypass(
    PixelImage originalImage,
    double desatPercentage = 50,
    double contrastBoost = 10)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
desatPercentageNumber50How much to desaturate the image (0 = no desaturation, 100 = fully grayscale).
contrastBoostNumber10Additional contrast to apply afterward (0 = no change).

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Bottom Center Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
BottomCenterCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void BottomCenterCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
BottomCenterCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage BottomCenterCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Bottom Left Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
BottomLeftCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void BottomLeftCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
BottomLeftCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage BottomLeftCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Bottom Right Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
BottomRightCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void BottomRightCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
BottomRightCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage BottomRightCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Center Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
CenterCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void CenterCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
CenterCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage CenterCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Center Left Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
CenterLeftCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void CenterLeftCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
CenterLeftCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage CenterLeftCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Center Right Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
CenterRightCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void CenterRightCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
CenterRightCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage CenterRightCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Channel Tint

Function

Multiplies the red, green and blue channels by their own factors.

Signature
ChannelTint -> Pixel Image
    original: Pixel Image
    redFactor: Number
    greenFactor: Number
    blueFactor: Number
PixelImage ChannelTint(
    PixelImage original,
    double redFactor,
    double greenFactor,
    double blueFactor)

Parameters

nametypedefaultdescription
originalPixel Image—The source image in Image.PixelImage format.
redFactorNumber—The multiplier for the red channel.
greenFactorNumber—The multiplier for the green channel.
blueFactorNumber—The multiplier for the blue channel.

Returns

resultPixel Image

Remarks

Warm an image with a red factor a little above 1 (1.1), cool it by raising blue (1.2). Values past 255 clip.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Composite Images

Function

Places one image over another, centred and then moved by an offset, combined by a blend mode.

Overload 1 of 2

Signature
CompositeImages
    baseImagePath: Text
    overlayImagePath: Text
    outputImage: Text
    offset: Point
    blendMode: BlendMode
void CompositeImages(
    string baseImagePath,
    string overlayImagePath,
    string outputImage,
    Point offset,
    BlendMode blendMode)

Parameters

nametypedefaultdescription
baseImagePathText—The path to the base image.
overlayImagePathText—The path to the overlay image.
outputImageText—The path for the output image.
offsetPoint—How far from centred the overlay sits, in pixels.
blendModeBlendMode—How the overlay combines with the base: SrcOver lays it over, Multiply, Screen, Overlay and the rest blend as their names say.

Overload 2 of 2

Signature
CompositeImages -> Pixel Image
    baseImage: Pixel Image
    overlayImage: Pixel Image
    offset: Point
    blendMode: BlendMode
PixelImage CompositeImages(
    PixelImage baseImage,
    PixelImage overlayImage,
    Point offset,
    BlendMode blendMode = BlendMode.SrcOver)

Parameters

nametypedefaultdescription
baseImagePixel Image—The base image as a Image.PixelImage.
overlayImagePixel Image—The overlay image as a Image.PixelImage.
offsetPoint—How far from centred the overlay sits, in pixels.
blendModeBlendModeSrc overHow the overlay combines with the base: SrcOver lays it over, Multiply, Screen, Overlay and the rest blend as their names say.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Convert To Grayscale

Function

Converts the image to shades of grey, by the luminance of each pixel (Rec. 709 weights).

Overload 1 of 2

Signature
ConvertToGrayscale(originalImage: Text, outputImage: Text)
void ConvertToGrayscale(
    string originalImage,
    string outputImage)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.

Overload 2 of 2

Signature
ConvertToGrayscale(originalImage: Pixel Image) -> Pixel Image
PixelImage ConvertToGrayscale(PixelImage originalImage)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Convert To Ico

Function

Overload 1 of 2

Signature
ConvertToIco
    pngPath: Text
    icoPath: Text
    multipleResolution: Truth
void ConvertToIco(
    string pngPath,
    string icoPath,
    bool multipleResolution)

Converts the given image file to an ICO file.

Parameters

nametypedefaultdescription
pngPathText—The source image.
icoPathText—The path for the output .ico file.
multipleResolutionTruth—If true, writes every standard size from 256 to 16 pixels in one icon; otherwise a single size.

Overload 2 of 2

Signature
ConvertToIco
    image: Pixel Image
    icoPath: Text
    multipleResolution: Truth
void ConvertToIco(
    PixelImage image,
    string icoPath,
    bool multipleResolution)

Converts the given Image.PixelImage to an ICO file.

Parameters

nametypedefaultdescription
imagePixel Image—The source Image.PixelImage.
icoPathText—The path for the output .ico file.
multipleResolutionTruth—If true, writes every standard size from 256 to 16 pixels in one icon; otherwise a single size.
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Crop Image

Function

Overload 1 of 4

Signature
CropImage
    originalImage: Text
    outputImage: Text
    offsetX: Positive Integer
    offsetY: Positive Integer
    cropWidth: Positive Integer
    cropHeight: Positive Integer
    fillColor: Optional Color
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.

Parameters

nametypedefaultdescription
originalImageText—The path to the original image file.
outputImageText—The path to the output image file.
offsetXPositive Integer—The X offset (in pixels) where cropping should begin.
offsetYPositive Integer—The Y offset (in pixels) where cropping should begin.
cropWidthPositive Integer—The width (in pixels) of the crop area.
cropHeightPositive Integer—The height (in pixels) of the crop area.
fillColorOptional Color—The fill color to use for areas outside the bounds of the original image. Defaults to white if not provided.

Overload 2 of 4

Signature
CropImage -> Pixel Image
    originalImage: Pixel Image
    offsetX: Positive Integer
    offsetY: Positive Integer
    cropWidth: Positive Integer
    cropHeight: Positive Integer
    fillColor: Optional Color
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.

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
offsetXPositive Integer—The X offset from the top-left corner.
offsetYPositive Integer—The Y offset from the top-left corner.
cropWidthPositive Integer—The width of the crop area.
cropHeightPositive Integer—The height of the crop area.
fillColorOptional Color—The fill color to use outside original bounds (defaults to white).

Returns

resultPixel Image

Overload 3 of 4

Signature
CropImage
    originalImage: Text
    outputImage: Text
    offset: Vector2
    cropSize: Size
    fillColor: Optional Color
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.

Parameters

nametypedefaultdescription
originalImageText—The path to the original image file.
outputImageText—The path to the output image file.
offsetVector2—The offset (in pixels) where cropping should begin.
cropSizeSize—The size (in pixels) of the crop area.
fillColorOptional Color—The fill color to use for areas outside the original image bounds.

Overload 4 of 4

Signature
CropImage -> Pixel Image
    originalImage: Pixel Image
    offset: Vector2
    cropSize: Size
    fillColor: Optional Color
PixelImage CropImage(
    PixelImage originalImage,
    Vector2 offset,
    Size cropSize,
    ColorElement? fillColor)

Crops the image to the specified rectangle using an offset vector and size.

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
offsetVector2—The offset (in pixels) from the top-left corner.
cropSizeSize—The width and height of the crop.
fillColorOptional Color—The fill color for areas outside the original image bounds.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Flip Image Horizontally

Function

Flips the image horizontally (mirrors it left-to-right).

Overload 1 of 2

Signature
FlipImageHorizontally(originalImage: Text, outputImage: Text)
void FlipImageHorizontally(
    string originalImage,
    string outputImage)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image file.
outputImageText—The path where the transformed image will be saved.

Overload 2 of 2

Signature
FlipImageHorizontally(originalImage: Pixel Image) -> Pixel Image
PixelImage FlipImageHorizontally(PixelImage originalImage)

Parameters

nametypedefaultdescription
originalImagePixel Image—The original image data.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Flip Image Vertically

Function

Flips the image vertically (mirrors it top-to-bottom).

Overload 1 of 2

Signature
FlipImageVertically(originalImage: Text, outputImage: Text)
void FlipImageVertically(
    string originalImage,
    string outputImage)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image file.
outputImageText—The path where the transformed image will be saved.

Overload 2 of 2

Signature
FlipImageVertically(originalImage: Pixel Image) -> Pixel Image
PixelImage FlipImageVertically(PixelImage originalImage)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source image in Image.PixelImage format.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Gamma Correction

Function

Applies a gamma correction: values above 1 brighten the midtones, below 1 darken them.

Overload 1 of 2

Signature
GammaCorrection
    originalImage: Text
    outputImage: Text
    gamma: Number
void GammaCorrection(
    string originalImage,
    string outputImage,
    double gamma)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
gammaNumber—The gamma: 1 leaves the image.

Overload 2 of 2

Signature
GammaCorrection -> Pixel Image
    originalImage: Pixel Image
    gamma: Number
PixelImage GammaCorrection(
    PixelImage originalImage,
    double gamma)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
gammaNumber—The gamma: 1 leaves the image.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Gaussian Blur

Function

Applies a Gaussian blur to the image.

Overload 1 of 2

Signature
GaussianBlur
    originalImage: Text
    outputImage: Text
    radius: Number
    sigma: Number
void GaussianBlur(
    string originalImage,
    string outputImage,
    double radius,
    double sigma)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
radiusNumber—The radius of the blur, in pixels; 0 lets the sigma decide.
sigmaNumber—The standard deviation of the Gaussian, in pixels: how strong the blur is.

Overload 2 of 2

Signature
GaussianBlur -> Pixel Image
    originalImage: Pixel Image
    radius: Number
    sigma: Number
PixelImage GaussianBlur(
    PixelImage originalImage,
    double radius,
    double sigma)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
radiusNumber—The radius of the blur, in pixels; 0 lets the sigma decide.
sigmaNumber—The standard deviation of the Gaussian, in pixels: how strong the blur is.

Returns

resultPixel Image

Remarks

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.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

High Contrast B And W

Function

Applies a high-contrast black-and-white effect.

Overload 1 of 2

Signature
HighContrastBAndW
    originalPath: Text
    outputPath: Text
    contrastBoost: Number
void HighContrastBAndW(
    string originalPath,
    string outputPath,
    double contrastBoost = 30)

Parameters

nametypedefaultdescription
originalPathText—Path to the original image file.
outputPathText—Path where the stylized image will be saved.
contrastBoostNumber30The contrast boost percentage (0 means no change; typical range is 10–50).

Overload 2 of 2

Signature
HighContrastBAndW -> Pixel Image
    originalImage: Pixel Image
    contrastBoost: Number
PixelImage HighContrastBAndW(
    PixelImage originalImage,
    double contrastBoost = 30)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
contrastBoostNumber30The contrast boost percentage (0 means no change; typical range is 10-50 for noticeable effect).

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Invert Colors

Function

Inverts the colors of the image.

Overload 1 of 2

Signature
InvertColors(originalImage: Text, outputImage: Text)
void InvertColors(string originalImage, string outputImage)

Parameters

nametypedefaultdescription
originalImageText—Path to the original image.
outputImageText—Path for the output image.

Overload 2 of 2

Signature
InvertColors(originalImage: Pixel Image) -> Pixel Image
PixelImage InvertColors(PixelImage originalImage)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Motion Blur

Function

Applies a motion blur, as if the camera moved along a line during the exposure.

Overload 1 of 2

Signature
MotionBlur
    originalImage: Text
    outputImage: Text
    radius: Number
    sigma: Number
    angle: Number
void MotionBlur(
    string originalImage,
    string outputImage,
    double radius,
    double sigma,
    double angle)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
radiusNumber—How far the motion reaches, in pixels; 0 lets the sigma decide.
sigmaNumber—How strongly the streak fades along its length.
angleNumber—The direction of the motion, in degrees.

Overload 2 of 2

Signature
MotionBlur -> Pixel Image
    originalImage: Pixel Image
    radius: Number
    sigma: Number
    angle: Number
PixelImage MotionBlur(
    PixelImage originalImage,
    double radius,
    double sigma,
    double angle)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
radiusNumber—How far the motion reaches, in pixels; 0 lets the sigma decide.
sigmaNumber—How strongly the streak fades along its length.
angleNumber—The direction of the motion, in degrees.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Pixelate

Function

Overload 1 of 2

Signature
Pixelate -> Pixel Image
    originalImage: Pixel Image
    size: Integer
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.

Parameters

nametypedefaultdescription
originalImagePixel Image—Source image data.
sizeInteger4The block width/height in pixels (minimum = 1). Larger values → chunkier pixels. Default = 4.

Returns

resultPixel Image

Overload 2 of 2

Signature
Pixelate(originalImage: Text, outputImage: Text, size: Integer)
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.

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
sizeInteger4The block width/height in pixels (minimum = 1).
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Pixelate Circle

Function

Pixel-art effect that replaces every Size×Size block with a filled circle, giving a dotted-mosaic look.

Signature
PixelateCircle -> Pixel Image
    originalImage: Pixel Image
    size: Integer
    background: Optional Color
    margin: Integer
PixelImage PixelateCircle(
    PixelImage originalImage,
    int size = 4,
    ColorElement? background,
    int margin = 0)

Parameters

nametypedefaultdescription
originalImagePixel Image—Source bitmap.
sizeInteger4Side length of each logical block (≥ 1).
backgroundOptional Color—Canvas colour – everything outside the dots. Null ➜ transparent.
marginInteger0Padding between the circle and the edge of its block. 0 means the circle just touches its neighbours; Margin × 2 must be < Size.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Recolor Image

Function

Tints the image toward a colour.

Overload 1 of 2

Signature
RecolorImage
    originalImage: Text
    outputImage: Text
    overlayColor: Color
    opacity: Number
void RecolorImage(
    string originalImage,
    string outputImage,
    ColorElement overlayColor,
    double opacity)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
overlayColorColor—The colour to tint toward.
opacityNumber—How far toward it, as a percentage: 0 leaves the image, 100 paints it the colour.

Overload 2 of 2

Signature
RecolorImage -> Pixel Image
    originalImage: Pixel Image
    overlayColor: Color
    opacity: Number
PixelImage RecolorImage(
    PixelImage originalImage,
    ColorElement overlayColor,
    double opacity)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
overlayColorColor—The colour to tint toward.
opacityNumber—How far toward it, as a percentage: 0 leaves the image, 100 paints it the colour.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Reduce Noise

Function

Reduces noise with a median filter, which removes specks while keeping edges.

Overload 1 of 2

Signature
ReduceNoise
    originalImage: Text
    outputImage: Text
    order: Positive Integer
void ReduceNoise(
    string originalImage,
    string outputImage,
    uint order)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
orderPositive Integer—The radius of the neighbourhood each pixel takes the median of, in pixels.

Overload 2 of 2

Signature
ReduceNoise -> Pixel Image
    originalImage: Pixel Image
    order: Positive Integer
PixelImage ReduceNoise(PixelImage originalImage, uint order)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
orderPositive Integer—The radius of the neighbourhood each pixel takes the median of, in pixels.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Rotate Image Clockwise90degrees

Function

Rotates the image 90 degrees clockwise.

Overload 1 of 2

Signature
RotateImageClockwise90Degrees
    originalImage: Text
    outputImage: Text
void RotateImageClockwise90Degrees(
    string originalImage,
    string outputImage)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image file.
outputImageText—The path where the transformed image will be saved.

Overload 2 of 2

Signature
RotateImageClockwise90Degrees(originalImage: Pixel Image) -> Pixel Image
PixelImage RotateImageClockwise90Degrees(PixelImage originalImage)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source image in Image.PixelImage format.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Rotate Image Counterclockwise90degrees

Function

Rotates the image 90 degrees counterclockwise.

Overload 1 of 2

Signature
RotateImageCounterclockwise90Degrees
    originalImage: Text
    outputImage: Text
void RotateImageCounterclockwise90Degrees(
    string originalImage,
    string outputImage)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image file.
outputImageText—The path where the transformed image will be saved.

Overload 2 of 2

Signature
RotateImageCounterclockwise90Degrees(originalImage: Pixel Image) -> Pixel Image
PixelImage RotateImageCounterclockwise90Degrees(PixelImage originalImage)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source image in Image.PixelImage format.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Selective Color Shift

Function

Turns the hue of only the colours near a target colour.

Signature
SelectiveColorShift -> Pixel Image
    original: Pixel Image
    targetColor: Color
    hueShiftDegrees: Number
    fuzz: Number
PixelImage SelectiveColorShift(
    PixelImage original,
    ColorElement targetColor,
    double hueShiftDegrees,
    double fuzz)

Parameters

nametypedefaultdescription
originalPixel Image—The source image in Image.PixelImage format.
targetColorColor—The colour whose neighbours change.
hueShiftDegreesNumber—How far to turn their hue round the colour wheel, in degrees; 180 gives the opposite colour.
fuzzNumber—How near a colour must be to change, as a percentage of the largest possible distance between two colours.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Sepia Tone

Function

Tones the image in sepia, as an old photograph.

Overload 1 of 2

Signature
SepiaTone
    originalPath: Text
    outputPath: Text
    threshold: Number
void SepiaTone(
    string originalPath,
    string outputPath,
    double threshold = 80)

Parameters

nametypedefaultdescription
originalPathText—Path to the original image file.
outputPathText—Path where the sepia-toned image will be saved.
thresholdNumber80How strong the sepia is, from 0 to 100: 80 is a classic sepia.

Overload 2 of 2

Signature
SepiaTone -> Pixel Image
    originalImage: Pixel Image
    threshold: Number
PixelImage SepiaTone(
    PixelImage originalImage,
    double threshold = 80)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
thresholdNumber80How strong the sepia is, from 0 to 100: 80 is a classic sepia.

Returns

resultPixel Image

Remarks

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.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Sharpen

Function

Sharpens the image.

Overload 1 of 2

Signature
Sharpen
    originalImage: Text
    outputImage: Text
    radius: Number
    sigma: Number
void Sharpen(
    string originalImage,
    string outputImage,
    double radius,
    double sigma)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
radiusNumber—The radius of the sharpening, in pixels; 0 lets the sigma decide.
sigmaNumber—The standard deviation of the Gaussian the detail is measured against.

Overload 2 of 2

Signature
Sharpen -> Pixel Image
    originalImage: Pixel Image
    radius: Number
    sigma: Number
PixelImage Sharpen(
    PixelImage originalImage,
    double radius,
    double sigma)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
radiusNumber—The radius of the sharpening, in pixels; 0 lets the sigma decide.
sigmaNumber—The standard deviation of the Gaussian the detail is measured against.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Soft Focus

Function

Applies a soft-focus effect: the centre stays sharp and the image blurs toward its edges.

Signature
SoftFocus -> Pixel Image
    original: Pixel Image
    blurRadius: Number
    blurSigma: Number
PixelImage SoftFocus(
    PixelImage original,
    double blurRadius,
    double blurSigma)

Parameters

nametypedefaultdescription
originalPixel Image—The source image in Image.PixelImage format.
blurRadiusNumber—The radius of the Gaussian blur; 0 lets the sigma decide.
blurSigmaNumber—The sigma (standard deviation) of the Gaussian blur.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Top Center Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
TopCenterCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void TopCenterCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
TopCenterCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage TopCenterCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Top Left Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
TopLeftCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void TopLeftCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
TopLeftCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage TopLeftCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Top Right Crop

Function

This node carries no documentation.

Overload 1 of 2

Signature
TopRightCrop
    originalImage: Text
    outputImage: Text
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
void TopRightCrop(
    string originalImage,
    string outputImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImageText—
outputImageText—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Overload 2 of 2

Signature
TopRightCrop -> Pixel Image
    originalImage: Pixel Image
    targetWidth: Optional Positive Integer
    targetHeight: Optional Positive Integer
    fillColor: Optional Color
PixelImage TopRightCrop(
    PixelImage originalImage,
    uint? targetWidth,
    uint? targetHeight,
    ColorElement? fillColor)

Parameters

nametypedefaultdescription
originalImagePixel Image—
targetWidthOptional Positive Integer—
targetHeightOptional Positive Integer—
fillColorOptional Color—

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing

Unsharp Mask

Function

Sharpens the image with an unsharp mask: the difference from a blurred copy, scaled and added back.

Overload 1 of 2

Signature
UnsharpMask
    originalImage: Text
    outputImage: Text
    radius: Number
    sigma: Number
    amount: Number
    threshold: Number
void UnsharpMask(
    string originalImage,
    string outputImage,
    double radius,
    double sigma,
    double amount,
    double threshold)

Parameters

nametypedefaultdescription
originalImageText—The path to the original image.
outputImageText—The path for the output image.
radiusNumber—The radius of the blur, in pixels; 0 lets the sigma decide.
sigmaNumber—The standard deviation of the blur.
amountNumber—How much of the difference is added back: 1 doubles the detail.
thresholdNumber—The smallest difference, as a fraction from 0 to 1, that is sharpened at all; larger differences only, so flat areas and noise stay as they are.

Overload 2 of 2

Signature
UnsharpMask -> Pixel Image
    originalImage: Pixel Image
    radius: Number
    sigma: Number
    amount: Number
    threshold: Number
PixelImage UnsharpMask(
    PixelImage originalImage,
    double radius,
    double sigma,
    double amount,
    double threshold)

Parameters

nametypedefaultdescription
originalImagePixel Image—The source Image.PixelImage.
radiusNumber—The radius of the blur, in pixels; 0 lets the sigma decide.
sigmaNumber—The standard deviation of the blur.
amountNumber—How much of the difference is added back: 1 doubles the detail.
thresholdNumber—The smallest difference, as a fraction from 0 to 1, that is sharpened at all.

Returns

resultPixel Image
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Quick Image Edit
Package
Image Processing