transformation/effect/effect_actions
library
Classes
-
Accelerate
-
Class Accelerate
rate The percentage change of speed. Positive numbers speed up the playback, negative numbers
slow down the playback (Range: -50 to 100, Server default: 0).
-
AdvancedRedEye
-
-
Artistic
-
-
ArtisticFilter
-
Class ArtisticFilter
value The filter to apply. Use the constants defined in the ArtisticFilter class.
-
AssistColorBlind
-
Class AsistColorBlind
strength The strength of the stripes. (Range: 1 to 100, Server default: 10)
-
Blackwhite
-
Class Blacwhite
threshold (Range: 0 to 100, Server default: 50)
-
Blur
-
Class Blur
strength The strength of the blur. (Range: 1 to 2000, Server default: 100)
-
Boomerang
-
-
Cartoonify
-
Class Cartoonify
lineStrength The thickness of the lines. (Range: 0 to 100, Server default: 50)
colorReduction The decrease in the number of colors and corresponding saturation boost of
the remaining colors. (Range: 0 to 100, Server default: automatically
adjusts according to the line_strength value). Higher reduction values
result in a less realistic look.
-
Colorize
-
Class Colorize
level The strength of the color. (Range: 0 to 100, Server default: 100)
color The color to use for colorization. Specify HTML name or RGB hex code.
(Server default: gray)
-
Deshake
-
-
Dither
-
Class Dither
-
DitherObject
-
-
FadeIn
-
Class FadeIn
duration The time in ms for the fade to occur. (Server default: 1000)
-
FadeOut
-
Class FadeOut
duration The time in ms for the fade to occur.
-
GradientFade
-
Class GradientFade
strength The strength of the fade effect. (Range: 0 to 100, Server default: 20)
type The type of gradient fade: GradientFade::SYMMETRIC or GradientFade::SYMMETRIC_PAD.
-
Grayscale
-
-
Loop
-
Class Loop
additionalIterations The additional number of times to play the animated GIF.
-
MakeTransparent
-
Class MakeTransparent
tolerance The tolerance used to accommodate variance in the background color.
(Range: 0 to 100, Server default: 10)
-
Negate
-
-
Noise
-
Class Noise
level The percent of noise to apply. (Range: 0 to 100 Server default: 0)
-
OilPaint
-
Class OilPaint
strength The strength of the effect. (Range: 0 to 100, Server default: 30)
-
Outline
-
Class Outline
mode The type of outline effect. Use the constants defined in the Outline class.
(Default: OutlineMode.inner() and OutlineMode.outer()).
width The thickness of the outline in pixels. (Range: 1 to 100, Server default: 5)
blurLevel The level of blur of the outline. (Range: 0 to 2000, Server default: 0)
-
OutlineMode
-
-
Pixelate
-
Class Pixelate
squareSize The width of each pixelation square in pixels. (Range: 1 to 200, Server default: 5)
-
RedEye
-
-
RemoveBackground
-
Class RemoveBackground
screen When true, provides better results for images with near perfect green/blue
background.
colorToRemove The background color as an RGB/A hex code. Overrides the algorithm's choice of
background color.
Default: The algorithm's choice - often the edge color of the image.
-
Reverse
-
-
Sepia
-
Class Sepia
level The level of sepia to apply. (Range: 1 to 100, Server default: 80)
-
Shadow
-
Class Shadow
The shadow is offset by the x and y values specified in the $position qualifier.
-
ShakeStrength
-
-
SimulateColorBlind
-
Class SimulateColorBlind
condition The color blind condition. Use the constants defined in the SimulateColorBlind class.
-
SimulateColorBlindObject
-
-
Theme
-
-
Vectorize
-
Class Vectorize
colors The number of colors. (Range: 2 to 30, Server default: 10)
detail The level of detail. Specify either a percentage of the original image (Range: 0.0 to
1.0) or an absolute number of pixels (Range: 0 to 1000). (Server default: 300)
The size of speckles to suppress. Specify either a percentage of the original image
(Range: 0.0 to 1.0) or an absolute number of pixels (Range: 0 to 100, Server default: 2)
The corner threshold. Specify 100 for no smoothing (polygon corners), 0 for completely
smooth corners. (Range: 0 to 100, Default: 25)
The optimization value. Specify 100 for least optimization and the largest file.
(Range: 0 to 100, Server default: 100).
-
Vignette
-