Skip to content

Effects

khanhas edited this page Jan 9, 2019 · 19 revisions

Add special effects like blur, flip, implode,... to image.

AdaptiveBlur

Parameters:

AdaptiveBlur Radius, Sigma

Adaptive-blur image with specified blur factor.
Radius parameter specifies the radius of the Gaussian, in pixels, not counting the center pixel.
Sigma parameter specifies the standard deviation of the Laplacian, in pixels.

AdaptiveResize

Parameters:

AdaptiveResize Width, Height, Flag

This is shortcut function for a fast interpolative resize using mesh interpolation. It works well for small resizes of less than +/- 50% of the original image size. For larger resizing on images a full filtered and slower resize function should be used instead.

Flag is optional. Valid Flag values:

  • 1 - Ignore Aspect Ratio
  • 2 - Fill Area.
  • 3 - Only Shrink Larger Images.
  • 4 - Only Enlarge Smaller Images.

BlueShift

Parameters:

BlueShift Factor

Simulate a scene at nighttime in the moonlight.

Blur

Parameters:

Blur Radius, Sigma

Blur image with specified blur factor.
Radius parameter specifies the radius of the Gaussian, in pixels, not counting the center pixel.
Sigma parameter specifies the standard deviation of the Laplacian, in pixels.

Colorize

Parameters:

Colorize Alpha;ColorValue

Colorize image with pen color, using specified percent alpha.
Alpha goes from 0 (not visible) to 100 (entire image is filled)
Eg:
Image = File D:\albumCover.png | Colorize 50;FF0000

Crop

Parameters:

Crop X, Y, W, H, Origin

Crops out and uses a defined part of the image.
Origin is optional and can be set to one of the following:

  • 1 - Top left (default)
  • 2 - Top right
  • 3 - Bottom right
  • 4 - Bottom left
  • 5 - Center

Eg:
Crop -50,-30,100,60,5
Start at the Origin of 5 or "Center". Then move -50 pixels left (negative number is left, positive number is right) and -30 pixels up (negative number is up, positive number is down). Then capture 100 pixels of width, and 60 pixels of height, and that is the new image. This will crop and use 100 X 60 pixels of the center of the image.

Despeckle

No parameter
Reduce speckle noise.

Enhance

No parameter
Minimize noise.

Equalize

No parameter
Histogram equalization.

Flip

No parameter
Reflect each scanline in the vertical direction.

Flop

No parameter
Reflect each scanline in the horizontal direction.

GaussianBlur

Parameters:

GaussianBlur Radius, Sigma

Gaussian blur image.
The number of neighbor pixels to be included in the convolution mask is specified by Radius.
The standard deviation of the gaussian bell curve is specified by Sigma.

GrayScale

Parameter:

GrayScale PixelIntensityMethod

Converts the colors in the image to gray. Valid PixelIntensityMethod value:

  • 1 - Average
  • 2 - Brightness
  • 3 - Lightness
  • 4 - MS
  • 5 - Rec601 Luma
  • 6 - Rec601 Luminance
  • 7 - Rec709 Luma
  • 8 - Rec709 Luminance
  • 9 - RMS

Ignore

Parameter:

Ignore IsIgnore

Set IsIgnore to 1 to leave out image from final composition. Useful for images that are used as sample.
If you set Ignore 1 before and want to revert back, please set Ignore 0. Remove it completely will not take its Ignore attribute away.
Combined Images always be skipped in final composition, set Ignore 0 does not change that. Use Clone image type instead.

ImageRotate

Parameter:

ImageRotate Degree

Rotate image clockwise by specified number of degrees. Specify a negative number for degrees to rotate counter-clockwise.

Implode

Parameter:

Implode Factor

A special effect usually be used in deep fried memes.
Set Factor positive to burst inward, negative to burst outward.

InnerShadow

Parameters:

InnerShadow Alpha, Sigma, OffsetX, OffsetY, ShadowOnly ; ColorValue

Simulate an inner image shadow.
Alpha specified opaque of shadow. Valid values: 0 (totally transparent) to 100 (totally visible).
OffsetX, OffsetY specified distance of shadow from image.
ShadowOnly is optional parameter. You can set it to 1 to remove main object and leave only shadow.
Default ColorValue is 0,0,0. Check out Color formats.

Image = D:\Example.jpg | InnerShadow 75,10,5,5
Image2 = Rectangle 100,100,300,300,20 | InnerShadow 60,20,10,20 ; 00FF00

Magnify

No parameter
Magnify image by integral size.

MedianFilter

Parameter:

MedianFilter Radius

Filter image by replacing each pixel component with the median color in a circular neighborhood.

Minify

No parameter
Reduce image by integral size.

Modulate Default: 100,100,100

Parameters:

Modulate Brightness, Saturation, Hue

Modulate percent hue, saturation, and brightness of an image.
100 is normal value. If you want to skip one of three parameters, set it to 100.

Image = File Screenshot | Modulate 100,20,100

Monochrome

No parameter

Transform image to black and white

MotionBlur

Parameters:

MotionBlur Radius, Sigma, Angle

Motion blur image with specified blur factor Radius parameter specifies the radius of the Gaussian, in pixels, not counting the center pixel.
Sigma parameter specifies the standard deviation of the Laplacian, in pixels.
Angle (in degree) parameter specifies the angle the object appears to be comming from (zero degrees is from the right).

Move

Parameters:

Move OffsetX,OffsetY

Move canvas to new position. Useful for some effects that need some space in the top left corner. If you're working on shape or text with rotation or stroke, use their Offset modifiers instead.

Negate

Parameter:

Negate OnlyGrayscale

Negate colors in image.
Set OnlyGrayscale to 1 to only negate grayscale values in image.

Noise

Parameters:

Noise Type, Density

Add noise to image with specified noise type.
Default Density is 1.0.
Valid Type values:

  • 1 - Uniform Noise
  • 2 - Gaussian Noise
  • 3 - Multiplicative Gaussian Noise
  • 4 - Impulse Noise
  • 5 - Laplacian Noise
  • 6 - Poisson Noise
  • 7 - Random Noise

OilPaint

Parameters:

OilPaint Radius, Sigma

Oilpaint image (image looks like oil painting).

Opactiy

Parameter:

Opacity AlphaValue

Set or attenuate the alpha channel in the image. If the image pixels are opaque then they are set to the specified alpha value, otherwise they are blended with the supplied alpha value.
AlphaValue ranges from 0 (completely opaque) to 100.

Perspective

Parameters:

Perspective X1, Y1, X2, Y2, X3, Y3, X4, Y4

Perspective distortion requirew 4 final positions of control points.
Originally, 4 control points are 4 corners that are in order: Top Left - Top Right - Bottom Right - Bottom Left.
If you want to skip a parameter (the corner position will stay where it is), set it as *.

Image = Rectangle 100,100,300,300 | Perspective *,*,400,160,400,440,*,*

Resample

Parameter:

Resample Density

Resize image in terms of its pixel size.

Resize

Parameters:

Resize Width, Height, Flag

Resize image to specified size.

Flag is optional. Valid Flag values:

  • 1 - Ignore Aspect Ratio
  • 2 - Fill Area.
  • 3 - Only Shrink Larger Images.
  • 4 - Only Enlarge Smaller Images.

RotationalBlur

Parameter:

RotationalBlur Angle

Rotational blur image. Angle is in degree.

Sample

Parameters:

Sample Width, Height, Flag

Resize image by using pixel sampling algorithm.

Flag is optional. Valid Flag values:

  • 1 - Ignore Aspect Ratio
  • 2 - Fill Area.
  • 3 - Only Shrink Larger Images.
  • 4 - Only Enlarge Smaller Images.

Scale

Parameter:

Scale Width, Height, Flag

Scale Percent%

Resize image by using simple ratio algorithm.
You can either specify in 2 parameters Width and Height or 1 parameter Percent with percent sign.

Flag is optional. Valid Flag values:

  • 1 - Ignore Aspect Ratio
  • 2 - Fill Area.
  • 3 - Only Shrink Larger Images.
  • 4 - Only Enlarge Smaller Images.

Scale 1920,300
Scale 10% | Scale 1000%

SetFilter

Parameter:

SetFilter Type

Filter to use when resizing image.

Valid Type options:

  • Point
  • Box
  • Triangle
  • Hermite
  • Hann
  • Hamming
  • Blackman
  • Gaussian
  • Quadratic
  • Cubic
  • Catrom
  • Mitchell
  • Jinc
  • Sinc
  • SincFast
  • Kaiser
  • Welch
  • Parzen
  • Bohman
  • Bartlett
  • Lagrange
  • Lanczos
  • LanczosSharp
  • Lanczos2
  • Lanczos2Sharp
  • Robidoux
  • RobidouxSharp
  • Cosine
  • Spline
  • LanczosRadius
  • CubicSpline

Shade

Parameters:

Shade Azimuth, Elevation, ColorShading

Shade image using distant light source.

Shadow

Parameters:

Shadow Alpha, Sigma, OffsetX, OffsetY, ShadowOnly ; ColorValue

Simulate an image shadow.
Alpha specified opaque of shadow. Valid values: 0 (totally transparent) to 100 (totally visible).
OffsetX, OffsetY specified distance of shadow from image.
ShadowOnly is optional parameter. You can set it to 1 to remove main object and leave only shadow.
Default ColorValue is 0,0,0. Check out Color formats.

Image = D:\Example.jpg | Shadow 100,20,20,20
Image2 = Ellipse 200,200,100 | Shadow 82,10,0,20,1 ; 505050

Shear

Parameters:

Shear AngleX, AngleY

Create parallelogram by sliding image by X or Y axis.

Spread

Parameter:

Spread Amount

Spread pixels randomly within image by specified amount.

Swirl

Parameter:

Swirl Angle

Image pixels are rotated by degrees.

Transpose

No parameter
Creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them by 90 degrees.

Transverse

No parameter
Creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them by 270 degrees.

Vignette

Parameters:

Vignette Radius, Sigma, X, Y ; ColorValue

Softens the edges of the image in vignette style.
Default ColorValue is 0,0,0.