Precia,
Thank you for your reply, honestly I didn't know the code you
mentioned below existed. The reason I'm using the code I posted is
because it came built in with the tmt_img.cfc code I got.
Thanks,
Ryan
On 8/18/05, Precia Carraway <[EMAIL PROTECTED]> wrote:
> 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
>
>
>
--
Ryan Everhart
[EMAIL PROTECTED]
----------------------------------------------------------
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