I can't seem to affect the transparency of an image.  I followed the
example in the ColdFusion Livedocs (CFML Reference/ColdFusion
Functions/ImageSetDrawingTransparency) but my image is unaffected.

Here's my code:

<cfimage
source="http://rtfustst.rtp.epa.gov/userfiles/OnlineTraining/image/Smileyface.gif";
 action="CONVERT" destination="watermarkSmiley.jpg" overwrite="Yes">
<cfimage source="watermarkSmiley.jpg" name="myImage" action="READ">
<cfimage action="INFO" source="#myImage#" structname="stImage">
<cfdump var="#stImage#">
<cfset ImageSetDrawingTransparency(myImage,50)>
After ImageSetDrawingTransparency<br>
<cfimage action="INFO" source="#myImage#" structname="stImage">
<cfdump var="#stImage#">
<cfimage source="#myImage#" destination="watermarkSmiley.jpg"
action="WRITE" overwrite="Yes">
<img src="/gov/epa/rtp/onlineTraining/Course/watermarkSmiley.jpg" />



----------------------------------------------------------------------
Ed Szwedo

Web Development Team Lead
CSC
E-mail: [EMAIL PROTECTED]
919-541-3955  (Voice)
919-685-3395  (Fax)



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to