>> The resulting image appears to be a valid JPG image. I say appears 
>> because the CFIMAGE tag falls over if I try to read it back into CF. 

Yes, as you guessed you have to convert the bitmap to jpeg format first.

>> I'd still like to find out why the other approach with .NET 
>> classes didn't work. It's so confusing... 
>> <cfset img = slide.GetThumbnail(1,1)> 
>> <cfset i = img.Save("#Expandpath('./')#ppt\myfile.jpg")> 
>> <cfset v = imageformat.Get_Jpeg()> 

Assuming "img" actually is a Bitmap, then Save(filePath, imageFormat) should 
just work fine. (It did for me.) So I am not sure what the problem was ..

-Leigh


      

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:338968
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to