Image Manipulation ColdFusion Wrapper Component

<!---
	Read in the image and then decorate it with an
	ImageWrapper instance.
--->
<cfset objImage = CreateObject( "component", "ImageWrapper" )
	.Init(
		ImageNew( "./kissy_face.jpg" )
		)
	/>
 
<!--- Manipulate the image. --->
<cfset objImage
	.Crop( 31, 31, 576, 576 )
	.SetAntialiasing( "on" )
	.ScaleToFit( 535, 535 )
	.SetDrawingTransparency( 50 )
	.DrawRect( 0, 505, 535, 35, true )
	.SetDrawingTransparency( 0 )
	.SetDrawingColor( "##333333" )
	.DrawText( "Image Wrapper Examle - Kinky Solutions", 10, 525 )
	.DrawText( "Kiss Kiss Kiss!", 440, 525 )
	.AddBorder( 5, "##454545" )
	/>
 
<!--- Write resultant image to browser. --->
<cfimage
	action="writetobrowser"
	source="#objImage.Get()#"
	/>

For Cut-and-Paste