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?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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