House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 05, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home / Groups / ColdFusion Talk (CF-Talk)

From Java to ColdFusion, a newbie

Author:
Cutter (CFRelated)
01/18/2008 09:32 PM

Ooohh. Good catch Jake, I missed that one. Have to get those arg types straight;) Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com Jake Churchill wrote: > <cfset image =slide.getThumbNail(javacast("int" "290,230"))> > <cfset imageIO.write(image,"jpeg", ("c:\theimageFile.jpg"))> > > The problem might be in these 2 lines.  You are passing 290,230 to javacast and I'm not certain that will work.  Plus, the getThumbNail function was expecting a Dimension object which you should create.  Also, on the imageIO.write() function you were creating a File object as the 3rd parameter and you aren't here. > ---------- > > Jake Churchill >  Team Leader


Mailing Lists