How can I use ColdFusion to watermark an image?

Use the imagePaste() function.

The imagePaste() function takes two images and an X Y coordinate, and draws the second image over the first image with the upper-left corner at X Y coordinate.

<cfset foo(myBigImage.jpg,myWatermark.jpg,50,50)>

This question was written by Jeremy Petersen
It was last updated on December 7, 2007.

Categories

Images

Comments

comments powered by Disqus