News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Dynamic Watermarking with PHP
December 29, 2005 @ 06:38:53

From DevShed today, there's a new tutorial on using the built-in PHP image manipulation functionality (the GD libraries) to dynamically put watermarks on your images.

PHP features a wide array of functions for image handling and manipulation. In today's article, we are going to use those functions to create an image watermarking class. This class will operate on two images: a source image and a watermark. As an optional third parameter our class will also accept an alpha value '" allowing our watermark to contain alpha transparency.

They start off with a brief summary of what the functions are and how the script will work. From there, it's all source code and examples to get the script up and working. In the end, you'll have a script you can call from an img tag in HTML and it will generate the content for you automatically...

0 comments voice your opinion now!
dynamic watermark gd graphics dynamic watermark gd graphics


blog comments powered by Disqus

Similar Posts

Secunia.com: PHP "gdPngReadData()" Truncated PNG Data Denial of Service

DevShed: Generating Web Pages with the Flyweight Pattern in PHP 5

DevShed: Drawing Functions and the GD Library in PHP

PHPClasses.org: 3D graphics in pure PHP

DevGuide.net: Dynamic Bitmap Graphics with PHP and GD


Community Events

Don't see your event here?
Let us know!


install opinion podcast introduction voicesoftheelephpant interview library xdebug api unittest release language php7 example series framework laravel5 extension laravel community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework