Divooka Reference

Photo Stylizer

1 node

On this page 1

Apply Style

Function

Overload 1 of 2

Signature
ApplyStyle -> Pixel Image
    image: Pixel Image
    style: Photo Style
PixelImage ApplyStyle(
    PixelImage image,
    PhotoStylizer.PhotoStyle style)

Applies the specified PhotoStylizer.PhotoStyle to a given Image.PixelImage.

Parameters

nametypedefaultdescription
imagePixel Image—The source Image.PixelImage.
stylePhoto Style—The style preset to apply.

Returns

resultPixel Image

Overload 2 of 2

Signature
ApplyStyle
    inputPath: Text
    outputPath: Text
    style: Photo Style
void ApplyStyle(
    string inputPath,
    string outputPath,
    PhotoStylizer.PhotoStyle style)

Reads a picture file, applies a style and saves the result in the format the output's extension names.

Parameters

nametypedefaultdescription
inputPathText—Path to the source image file.
outputPathText—Path to write the styled image to.
stylePhoto Style—The style preset to apply.
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Photo Stylizer
Package
Image Processing