|
|
Home / Groups / ColdFusion Talk (CF-Talk)
From Java to ColdFusion, a newbieOoohh. 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
|
Latest Fusion Authority Articles
|