cfimage watermask
May 29
I've developed one simple image manipulation with cfimage yesterday. It's about how to make watermask. PS : for output image format, use "PNG" instead of "JPEG" because "PNG" is high resolution ever.
It's original image
It's watermask image
Coding
2<cfimage source="PP.png" name="image">
3
4<!--- it's watermask image --->
5<cfimage source="CF.jpg" name="watermark">
6
7<!--- It's paste watermask image into original image --->
8<cfset ImagePaste(image, watermark, 165, 160) />
9
10<!--- finally, it will be output as follow --->
11<cfimage source="#image#" action="writeToBrowser" format="png">

Android


Top of Page