Raster Filter Reference

Metadata Filters

Orientation

Modifies the orientation attribute.

Filter name: Orientation

Orientation Filter Parameters
Property name Type Default Description
Orientation Longint kImgOrientationNormal The property value specifies the image frame’s orientation.

Resolution

Modifies the DPI size.

Filter name: Resolution

Resolution Filter Parameters
Property name Type Default Description
DPISize SizeObj Current DPI size The property value specifies the raster frame’s DPI size.

XMP

Modifies the XMP data.

Filter name: XMP

XMP Filter Parameters
Property name Type Default Description
XMPData XMP Data reference   The XMP data reference to assign to the raster frame.

Geometry Filters

Crop

Crops the pixel map.

Filter name: Crop

Crop Filter Parameters
Property name Type Default Description
Rectangle RectObj   The crop rectangle, expressed in pixels.

Flip

Flips the pixel map.

Filter name: Flip

Flip Filter Parameters
Property name Type Default Description
Horizontally Boolean False If True, flip the frame’s pixels horizontally.
Vertically Boolean False If True, flip the frame’s pixels vertically.

Scale

Scales the pixel map.

Filter name: Scale

Scale Filter Parameters
Property name Type Default Description
ScaleX Real 1.0 The horizontal scaling factor.
ScaleY Real 1.0 The vertical scaling factor.

Effect Filters

Brightness

Modifies the brightness of the image.

Filter name: Brightness

Brightness Filter Parameters
Property name Type Default Description
Brightness Real 0.0 The brightness value, in the range of -1.0 ... +1.0.

Contrast

Modifies the contrast of the image. Available on macOS and on Windows 10.

Filter name: Contrast

Contrast Filter Parameters
Property name Type Default Description
Contrast Real 0.0 The contrast value, in the range of -1.0 ... +1.0.

Gaussian Blur

Blurs the image.

Filter name: GaussianBlur

Gaussian Blur Parameters
Property name Type Default Description
Blur Real 0.0 The blur value, in the range of 0.0 ... +100.0.

Invert

Inverts the colors of the image.

Filter name: Invert

Takes no parameters.