Performs several basic image transforms: rotating by 90-degree increments, mirroring, color inverting, producing X-ray effects, producing grayscale effects, and modifying the opacity. These effects apply additively and in the specified order.
Note To use this transform, you need to have Microsoft® DirectX® Media 6, Microsoft Internet Explorer 5, the Microsoft Windows® 98 OEM Service Release (OSR), or Windows 2000 installed.
Transform Specifications
The following table contains the information you need to use this transform in script.
Globally unique identifier (GUID) | 16B280C8-EE70-11D1-9066-00C04FD9189D |
---|---|
Programmatic identifier (ProgId) | DXImageTransform.Microsoft.BasicImage |
Inputs | One input image is required. |
Transform type | Filter |
Transform Properties
The following table lists the transform properties that control the appearance of the output.
Property | Default | Description |
---|---|---|
Rotation | 0 | Multiple of 90 degrees. The surface is rotated clockwise by the value of this property multiplied by 90 degrees. The valid range for this property is 0 to 3. |
Mirror | FALSE | If TRUE, the transform mirrors the image along the y-axis. |
Invert | FALSE | If TRUE, the transform maps to the RGB inverse of the color. |
XRay | FALSE | If TRUE, the complement of the red and green average is used as the grayscale. |
Grayscale | FALSE | If TRUE, the transform maps the saturation of the color as a grayscale. |
Opacity | 1.0 | Sets the opacity of the image. The valid range for this property is 0.0 (transparent) to 1.0 (opaque). |