Hi Alan,

I copied some test code from LiveDocs, and modified srcfile and
destfile parameters:

<!--- This example shows how to create a 10-pixel-wide red border
around an image with a 5-pixel-wide green border around the red
border.--->
<!--- Create a ColdFusion image from an existing JPEG file. --->
<cfimage srcfile="#image_file_name#" name="myImage"  destfile="c:
\test_myImage.jpeg">
<!--- Draw a red border around the outside edge of the image. --->
<cfset ImageAddBorder(myImage,10,"red")>
<!--- Draw a green border around the outside edge of the red border.
--->
<cfset ImageAddBorder(myImage,5,"green")>
<!--- Save the modified ColdFusion image to a file. --->
<cfimage srcfile="#myImage#" action="write" destfile="c:
\test_myImage.jpeg" overwrite="yes">
<!--- Display the source image and the new image. --->
<img src="#image_file_name#"/>
<img src="c:\test_myImage.jpeg"/>

Both OBD 1.1 and 1.3 give the same error - No such function exists -
imageaddborder

Am I missing a jar file? other library?

Thanks,

Rob

On Dec 20, 7:23 am, Alan Williamson <[email protected]> wrote:
> > Alan,  I am not familiar with the ImageXXx() functions you mention -
> > is there any documentation or sample you can point me to?
>
> http://www.openbluedragon.org/manual/?/function/category/image

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to