<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Mon, 06 Oct 2008 11:12:52 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Choosing watermark color based on the background luminosity]]></title>
      <guid>http://www.phpdeveloper.org/news/8835</guid>
      <link>http://www.phpdeveloper.org/news/8835</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has <a href="http://valokuva.org/?p=59">another blog entry</a> posted dealing with image manipulation with PHP and Imagick, this time it's a cool little script that lets you pick your watermark's color based on the image's background luminosity.
</p>
<blockquote>
Usually images are watermarked using a predefined color (let's say for example "white"). How well does this actually work when you're doing the watermark on a light or even a white image? The answer is simple: not very well.
</blockquote>
<p>
His <a href="http://valokuva.org/?p=59">example</a> uses the ImagickPixelIterator to check the luminosity of the background and assigns the text a value between black and white according to the background. Complete code with usage and examples of the resulting images are included.
</p>]]></description>
      <pubDate>Sat, 13 Oct 2007 16:04:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPit.net: Image manipulation with PHP & the GD library (Part 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/6031</guid>
      <link>http://www.phpdeveloper.org/news/6031</link>
      <description><![CDATA[<p>
New on PHPit.net today is <a href="http://www.phpit.net/article/image-manipulation-php-gd-part2/">part two of their series</a> covering working with images in PHP through the GD graphics library.
</p>
<blockquote>
In this second part of the "Image manipulation with PHP & the GD library" article series you will learn how to resize images, create thumbnails, watermark images and more.
</blockquote>
<p>
They <a href="http://www.phpit.net/article/image-manipulation-php-gd-part2/">start with</a> resizing images, showing how to grab the current size and alter it to modify the output (both in a set and proportional way). With that code in place, they take the next logical step - an automatic thumbnail creator from a file upload. Finally, they show how to help protect your images using a watermark - their example is a "Image by YourWebsite.com" string of text placed on the image.
</p>]]></description>
      <pubDate>Mon, 14 Aug 2006 13:39:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Dynamic Watermarking with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4575</guid>
      <link>http://www.phpdeveloper.org/news/4575</link>
      <description><![CDATA[From DevShed today, there's <a href="http://www.devshed.com/c/a/PHP/Dynamic-Watermarking-with-PHP/">a new tutorial</a> on using the built-in PHP image manipulation functionality (the GD libraries) to dynamically put watermarks on your images.
<p>
<quote>
<i>
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.
</i>
</quote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Dynamic-Watermarking-with-PHP/">start off</a> 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...]]></description>
      <pubDate>Thu, 29 Dec 2005 06:38:53 -0600</pubDate>
    </item>
  </channel>
</rss>
