Ryan, just curious, but why not just use a java call, such as 

<cfobject type="java" action="create" name="jtk" class="java.awt.Toolkit">
<cfobject type="java" action="create" name="jimg" class="java.awt.Image">
<cfset jimg = jtk.getDefaultToolkit().getImage("F:\testimages\photo2.jpg")>
<cfoutput>
#jimg#
#jimg.getWidth()#
#jimg.getHeight()#
</cfoutput>

Just curious.  Don't mean to step on toes.
Precia


---------- Original Message ----------------------------------
From: Ryan Everhart <[EMAIL PROTECTED]>
Reply-To: [email protected]
Date:  Wed, 17 Aug 2005 22:25:07 -0500

>Thanks, Dave that worked!
>
>On 8/17/05, Dave Shuck <[EMAIL PROTECTED]> wrote:
>> I haven't tested it, but to me, it appears you could:
>> 
>> <cfscript>
>> imgObj = CreateObject("component", "cfc.tmt_img");
>> yourStructVar = imgObj.getDimensions("photo2.jpg");
>> </cfscript>
>> 
>> then
>> #yourStructVar["width"]#   (or)  #yourStructVar.width#
>> AND
>> #yourStructVar["height"]#   (or)  #yourStructVar.height#
>> 
>> ~Dave
>> 
 




________________________________________________________________
Sent via the WebMail system at sheerfocus.com


 
                   
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to