Notice: With the launch of Adobe Cookbooks, this site will no longer be accepting new entries or posting new content. Thanks to everyone who submitted content!

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 at 11:16:50 AM EST.

CFML Referenced

ImagePaste()

Categories

Images

Comments

There are no comments for this entry.