Using CFIMAGE to Watermark an Image
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Using CFIMAGE to Watermark an Image
Using Coldfusion 8 and CFIMAGE to add Watermarks to Images on the fly.http://www.damonledet.com/tutorial/index.cfm/name/cfimagewatermark
Total Hits: 4374
Total Votes: 36 votes
Category: Cold Fusion/File Manipulation
Submitted on: 2008-03-07 04:58:28
Submitted By: Devesh Khanna
Description:
Using Coldfusion 8 and CFIMAGE to add Watermarks to Images on the fly.1. 2 lines in which I basically give both images a name. The reason the watermark is a png is I want to have the ability to use alpha channels.
2. Next paste the watermark onto the image at 0x and 0y. I cheated and created the images the same size, but you could easily read the image info get the size then calculate where you want the watermark to be.
3. The last line writes the image to the browser in the format of a jpeg.
4. The Final Code should look like this
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |





16.67%

16.67%

16.67%

16.67%

16.67%