Get image dimensions
Thursday, June 16th, 2005
Here is a quick and dirty (and easy) way to get the width and height of an image. It should work for both JPG and GIF files:
<cfobject type=”JAVA” action=”Create” name=”tk” class=”java.awt.Toolkit”> </cfobject> <cfobject type=”JAVA” action=”Create” name=”img” class=”java.awt.Image”> </cfobject> <cfscript> img […]

















