See also
ImageSetAntialiasing, ImageShearDrawingAxis, IsImageFile
History
ColdFusion 8: Added this function.
Parameters
Parameter
|
Description
|
---|
name
|
Required. The ColdFusion image on which this operation is performed.
|
shear
|
Required. Shear value. Coordinates can be integers or real numbers.
|
direction
|
Optional. Shear direction:
- horizontal (default)
- vertical
|
interpolation
|
Optional. Type of interpolation:
- nearest: Applies the nearest neighbor method of interpolation. Image quality is lower than the other interpolation methods, but processing is fastest (default).
- bilinear: Applies the bilinear method of interpolation. The quality of the image is less pixelated than the default, but processing is slower.
- bicubic: Applies the bicubic method of interpolation. Generally, the quality of image is highest with this method and processing is slowest.
|
Usage
Use this function to distort an image.If the direction parameter is set to horizontal, x' = (x - y*shear) and y' = y.If the direction parameter is set to vertical, x' = x and y' = (y - x*shear).Use the ImageSetAntialiasing function to improve the quality of the rendered image.
Example