Whatever message this page gives is out now! Go check it out!
ImageShear(name, shear [, direction, interpolation])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:
|
interpolation | Optional. Type of interpolation:
|
<!--- Create a ColdFusion image from an existing JPEG file. --->
<cfimage source="../cfdocs/images/artgallery/paul03.jpg" name="myImage">
<!--- Turn on antialiasing to improve image quality. --->
<cfset ImageSetAntialiasing(myImage,"on")>
<!--- Shear the image by a factor of 1 on a horizontal axis. --->
<cfset ImageShear(myImage,1,"horizontal")>
<!--- Display the image in a browser. --->
<cfimage source="#myImage#" action="writeToBrowser">