Saturday 04-02-2012
About Us | Contact Us | FAQ | Support | Links
Coldfusion Custom Tags, CFXs, CFCs, Full Applications and more!
< Built by ColdFusion Developers, for ColdFusion Developers >
 
Home | Tag Categories | Latest Tags | Top Rated Tags | Top Selling Tags | My Account | Search | Sell Your Tags | Tags A-Z
CFX_TextEffects

CFX_TextEffects - Display text with anti-aliasing, gradients, textures, blur, transparency and more.
Developer Name: Philip LaNasa
Company Name: Universal Web Services
Email Developer Email Developer:
Latest Version: 1.0
Price: $15
License: One copy for multiple servers in multiple locations.
Encrypted: Yes
Average Rating: Not Rated
Times Rated: Not Rated
Rate This Tag:


Tag Comments

Does not work in Coldfusion 8
I purchased this tag to implement it on coldfusion 8 and it does not work. Displays the image in a standard font

Posted on: Monday 09 Jun 2008
By Minto

 Related ColdFusion Applications
Developers who purchased CFX_TextEffects also purchased:
  1. CFX_EXEC
  2. CFX_POP3 Professional


What Is CFX_TextEffects?
CFX_TextEffects is a ColdFusion Custom Tag that enables your application to easily convert plain text into an image with anti-aliasing, gradients, textures, blur, transparency and more. A JPEG or PNG file will be output on the file system that you can reference with an HTML tag.

CFX_TextEffects is a ColdFusion Custom Tag that enables your application to easily convert plain text into an image with anti-aliasing, gradients, textures, blur, transparency and more. A JPEG or PNG file will be output on the file system that you can reference with an HTML <img> tag.

 

Example

<cfx_TextEffects OUTPUTFILE = "smooth-image.jpg"
                        TEXT = "ColdFusion Custom Tags"
                        FONTSIZE = "32"
                        FONTFACE = "Arial"
                        FONTCOLOR = "ffffff"
                        FONTSTYLE = "italic"
                        BGCOLOR = "ffffff"
                        GRADIENTTEXTCOLOR1 = "aa0000"
                        GRADIENTTEXTCOLOR2 = "ffffff"
                        GRADIENTBGCOLOR1 = "eeeeee"
                        GRADIENTBGCOLOR2 = "ffffff"
                        TEXTUREIMAGE = ""
                        ALPHA = "100"
                        BLUR = "false"
                        MAXWIDTH = "400">

<img src="test.jpg" />

 

Installing CFX_TextEffects

1.) Copy the TextEffects.class file into your ColdFusion -> CFX -> java folder. On Windows, this folder is usually located at:
     C:CFusionJavaclasses or C:CFusionMXcfxjava

2.) Go to ColdFusion Administrator in your web browser, then click on CFX Tags (under Extensions)

3.) Click Register Java CFX

4.) For Tag Name, type: CFX_TextEffects For Class Name, type: TextEffects

5.) Submit Changes

6.) You may need to restart your ColdFusion server for the changes to take effect

 

DOCUMENTATION

Return Variables

TEXTEFFECTS_MESSAGE

Contains any errors generated by the tag, or "OK" if everything completed successfully.

 

Syntax

 

<cfx_TextEffects OUTPUTFILE = "string"
                        TEXT = "string"
                        FONTFACE = "string"
                        FONTSIZE = "integer"
                        FONTCOLOR = "hexadecimal integer"
                        FONTSTYLE = "string"
                        BGCOLOR = "hexadecimal integer"
                        GRADIENTBGCOLOR1 = "hexadecimal integer"
                        GRADIENTBGCOLOR2 = "hexadecimal integer"
                        GRADIENTTEXTCOLOR1 = "hexadecimal integer"
                        GRADIENTTEXTCOLOR2 = "hexadecimal integer"
                        TEXTUREIMAGE = "string"
                        MAXWIDTH = "integer"
                        ALPHA = "integer"
                        BLUR = "boolean">

Note: Make sure that you place quotation marks around all attributes, including integer and boolean attributes.

Attributes

OUTPUTFILE
Required. The absolute path to the image that is output by cfx_TextEffects.
Valid File Types: jpeg and png
Example: OUTPUTFILE = "var/www/mysite/images/myimage.png"

TEXT
Required. The text used to generate the image.
Example: TEXT = "Type this"

FONTFACE
[Default = Arial]
Optional. The font face associated with the TEXT.
Note: The availability of font faces will vary depending on your server. Common fonts are Arial, Courier, Times New Roman and Verdana.
Example: FONTFACE = "TimesRoman"

FONTSIZE
[Default = 24]
Optional. The font size associated with the TEXT.
Example: FONTSIZE = "32"

FONTCOLOR
[Default = 000000 (black)]
Optional. The hexadecimal equivalent of the RGB color associated with the TEXT. If you are unfamiliar with hexadecimal colors, http://www.december.com/html/spec/color.html offers help choosing the right hex value.
Example: FONTCOLOR = "FF0000"

FONTSTYLE
[Default = Plain (no style)]
Optional. The font style associated with the TEXT.
Values: bold, italic, both
Example: FONTSTYLE = "bold"

BGCOLOR
[Default = FFFFFF (white)]
Optional. The hexadecimal equivalent of the RGB background color for the image. If you are unfamiliar with hexadecimal colors, http://www.december.com/html/spec/color.html offers help choosing the right hex value.
Example: BGCOLOR = "FF0000"

GRADIENTBGCOLOR1
[Default = none]
Optional. The hexadecimal equivalent of the RGB background gradient starting color. You must specify this parameter in conjunction with the GRADIENTBGCOLOR2 parameter.
Example: GRADIENTBGCOLOR1 = "550000"

GRADIENTBGCOLOR2
[Default = none]
Optional. The hexadecimal equivalent of the RGB background gradient ending color. You must specify this parameter in conjunction with the GRADIENTBGCOLOR1 parameter.
Example: GRADIENTBGCOLOR2 = "AA0000"

GRADIENTTEXTCOLOR1
[Default = none]
Optional. The hexadecimal equivalent of the RGB gradient starting color for the TEXT. You must specify this parameter in conjunction with the GRADIENTTEXTCOLOR2 parameter.
Example: GRADIENTTEXTCOLOR1 = "AA0000"

GRADIENTTEXTCOLOR2
[Default = none]
Optional. The hexadecimal equivalent of the RGB gradient ending color for the TEXT. You must specify this parameter in conjunction with the GRADIENTTEXTCOLOR1 parameter.
Example: GRADIENTTEXTCOLOR2 = "550000"

TEXTUREIMAGE
[Default = none]
Optional. The absolute path to the image to use as a texture for the TEXT.
Note: You can use either a TEXTUREIMAGE or a GRADIENTTEXTCOLOR, not both.
Valid File Types: jpeg, png and gif
Example: TEXTUREIMAGE = "/var/www/mysite/images/texture.png"

MAXWIDTH
[Default = none]
Optional. Specifies the maximum width (in pixels) of the image. If the width of the TEXT is wider than MAXWIDTH, the text will wrap to the next line.
Example: MAXWIDTH = "500"

ALPHA
[Default = 100]
Optional. Determines the transparency of the TEXT.  A value of 100 is fully opaque (no transparency).  A value of 0 is completely transparent.
Values: 0 to 100
Example: ALPHA = "50"

BLUR
[Default = false]
Optional. If true, adds a small amount of blur to the TEXT.
Example: BLUR = "true"



 


< Business Strength Coldfusion Custom Tags >
Sitemap | Privacy | Branding | Web Services | Support | Contact Us