> I'm getting somewhere but have given up on GetThumbnail for now. The .NET > libs also contain a method to save SVG files so now I do this: > > <cfloop from="1" to="#lastSlide#" index="i"> > <cfset slide = presentation.GetSlideByPosition(#i#)> > <cfset img = slide.GetThumbnail()> > > <cfset svgFile = '#Expandpath('./')#ppt\test#i#.svg'> > <cfset svg = slide.SaveToSVG(svgFile)> > </cfloop> > > I'm then using Batik to convert to PNG. This produces some pretty good > results. The Batik install and invocation of Java objects was another > challenge in itself but I got there in the end by trial and error. > > I'm quite pleased with myself now :-)
Congratulations! For future reference, though, I often find it easier to write my own library that does these sorts of invocations for me, then I can just call that library from CF. For example, you could write your own C# class that does all of these individual steps, then invoke that directly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338817 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm