ImageFlare is an advanced Coldfusion tag for complete scripted and/or data-driven graphics manipulation/generation.
Examples
Reading and understanding these examples is probably the best way
to learn what ImageFlare is capable of and how to use it.
ImageFlare API
The ImageFlare API is a collection of graphics related classes developers use with FlareScript.
Graphs, Dynamic buttons, Image notation and much more are all possible with the ImageFlare API.
Classes include Bitmap, Shape, Color, Font, Query, and Request.
FlareScript Language
Scripting with ImageFlare is done via a simple and efficient language called FlareScript. In addition to
standard programming concepts, FlareScript allows developers to write modular libraries/functions.
In the future, we hope to provide quite a few such modules as examples.
A quick look at ImageFlare »
This code is used to generate (and cache) the logo above :
<cfif not fileexists(expandpath('.\logo.gif'))>
<cfx_imageflare source="
b = Bitmap()
f = Font( 'Olivia Brush', 36 )
b.size( f.getdimensions('ImageFlare 1.0') )
b.fill( Color('white') )
b.text( 'ImageFlare', 0, 0, b.width, b.height, f, Color('black') )
b.text( '1.0', f.getwidth('ImageFlare '), 0, b.width, b.height, f, Color('red') )
b.save( '#expandpath('.\')#'..'logo.gif' )
">
</cfif>
This documentation is best viewed @ 1024x768 in Internet Explorer.