Abigail try the set of code below, it deals with the last 2 line of the Java
code, you needed to create an object for imageIO, let us know if it works:
<cfset dimSz=CreateObject("java", "java.awt.Dimension").init(javacast("int",
960), javacast("int",720))>
<cfobject action=âCREATEâ type="JAVA" class="java.awt.image.BufferedImage"
name="image">
<cfset image=Slide.getThumbnail(dimSZ)>
<cfset outFile=CreateObject("java",
"java.io.File").init(("c:\theimageFile.jp.jpg"))>
<cfobject type="Java" class="javax.imageio.ImageIO" name="myImageIO">
<cfset myImageIO.write(image, "jpeg", outFile)>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296964
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4