Thanx! perhaps an new feature for CF 6 or Neo?
cheers, Jappe

> -----Original Message-----
> From: Sicular, Alexander [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 17:02
> To: CF-Talk
> Subject: RE: binary stream (image) output to the browser
> 
> 
> not possible. i had many a long talk with many people at 
> devcon about this
> very issue. unfortunately cf's binary handling is not the 
> best.  i use php
> on linux to do all my image/binary stuff. to use cf, you need 
> to write to
> the hd. also uploading images to the db is done in base64, 
> you need to write
> some sp's to convert from b64 to bin on the db. i don't 
> recommend storing
> bin objects in the db as b64, less efficient (~30%).
> 
> good luck,
> 
> Alexander Sicular
> Chief Technology Architect
> Neurological Institute of New York
> Columbia University
> as867 {at} columbia [dot] edu 
> 
> -----Original Message-----
> From: Franke, Ir. G.J. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 10:53 AM
> To: CF-Talk
> Subject: binary stream (image) output to the browser
> 
> 
> Hello there... does anyone know if it is possible to write an 
> image stored
> in a variable, directly to the browser without writing it to 
> the HDD first?
> 
> <cfif server.os.name eq "Windows NT">
>       <cfobject type="COM" action="Create" class="top10.genmap"
> name="Bitmapper">
> 
>       <cfset picture = Bitmapper(coords)>
> 
>       <cffile action="WRITE" 
> file="C:\Inetpub\wwwroot\test\#coords#.jpg"
> output="#picture#"    addnewline="No">
> 
>       <cfoutput><img src="#coords#.jpg" border="0"></cfoutput>
> </cfif>
> 
> this works... but how can i get it to work without the cffile action?
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


Reply via email to