Hi all,
I'm fetching images from a remote URL via CFHTTP. You can see an example here:
http://latex.codecogs.com/gif.latex?\LARGE%20a%20+%20b

If you open this in a browser and drag te image to your desktop you will notice 
a transparent background.

However when I do the following

<cfset latexURL = "http://latex.codecogs.com/gif.latex?\LARGE";>
<cfhttp url="#latexURL# a + b" getasbinary="yes" method="get"></cfhttp>

<cfset tempimagename = "#CreateUUID()#.gif">

<cfimage
    action = "write"
    destination = "#Expandpath('./')#/#tempimagename#"
    source = "#cfhttp.FileContent#"
    overwrite="true">

and then open the resulting image, the background color of the gif is a very 
light grey. Ideally I'd like it to be white, however I do not understand why 
it's not transparent, but grey instead. 
My goal: write the gif with white or transparent background, but not grey.

Any ideas?

Regards,

Stefan





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

Reply via email to