Thanks Alan, works great and I am glad you figured it out.
Thanks to the rest of you as well, but I am asking for a way to create a PNG
with colored text and a transparent background, not a totally transparent
image. I just couldn't get a handle on CFX_IMAGEFLARE's rgba function calls
that work from their documentation. I am waiting for a reply from them, but
Alan came through with a work-around until they get back to me.

Terry

-----Original Message-----
From: Alan Rother [mailto:[email protected]] 
Sent: Monday, January 10, 2011 11:47 AM
To: cf-talk
Subject: Re: RGBA Alpha channel


I've had the same issue.

I use ImageFlare...The solution I've been using is a TOTAL HACK, but it
works.


Create a blank transparent PNG file in Photoshop, then use that as the basis
for your new image.


<cfx_imageflare source="\
  b = Bitmap( '#expandpath('Trans.png')#' )
  f = Font( 'Coliseum Normal', 24 )
  b.text( 'Some Text', 0, b.height, f, Color('red') )
  b.save( '#expandpath('Trans2.png')#' )
">

You can make the transparent image any size as you'll be able to dynamically
size it to fit as you need it.

HTH

=]




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

Reply via email to