How to rotate image programmatically in coldfusion

cfimage - rotate an image programmatically


<!DOCTYPE html>
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfimage action rotate: how to rotate image programmatically in coldfusion</title>

<h2 style="color:Crimson; font-style:italic">cfimage tag example: how to use rotate attribute</h2>
<hr width="500" align="left" color="OrangeRed" />
<br />

<cfimage source="Images/Butterfly.jpg" action="rotate" angle="60" name="ButterflyRotate">

<table border="1" cellpadding="5" cellspacing="0" bordercolor="DarkSeaGreen">
    <tr bgcolor="SeaGreen" style="color:Snow; font-size:large" align="center">
            Original Image
            Modified Image: after Rotate
    <tr height="100" valign="top">
        <td style="color:RosyBrown; font-weight:bold">
   <img src="Images/Butterfly.jpg" height="360" width="306"/>
            <cfimage source="#ButterflyRotate#" action="writetobrowser">


More ColdFusion examples