News Feed
Sections




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

PHPMaster.com:
Adding Text Watermarks with Imagick
December 31, 2012 @ 09:15:48

On PHPMaster.com there's a recent tutorial from Martin Psinas about how you can add text to an image with the help of Imagick, the image editing software that's available to PHP via an extension.

In a previous article, Timothy Boronczyk wrote about how to create watermarks with Imagick using an overlay image. In this article, I'll show you how to achieve a similar effect using plain text.

He takes a sample image (a headshot) and offers two versions of the same functionality - both the shell command (using "convert") and the PHP code that sets up the font to use, adds placement and pushes the result back out as a PNG. He also includes two other types of overlay - a font mask for a more see-through look and a tiled version, overlaying the text all over the image.

0 comments voice your opinion now!
watermark imagick tutorial text overlay mask tile


blog comments powered by Disqus

Similar Posts

Ade Slade's Blog: Implementing Twitter sign-in with Silex and PHP

DevShed: Parsing Child Nodes with the DOM XML extension in PHP 5

DevShed: An Introduction to Simulating the Model-View-Controller Schema in PHP

PHP and Me Blog: Use Phing to Update your SVN-Version-Controlled Website Automatically, Through FTP

DevShed: Introducing Visitor Objects in PHP 5


Community Events

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


configure framework example community conference php7 performance podcast symfony2 series voicesoftheelephpant release opinion api interview laravel language introduction part2 application

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