[ANNOUNCEMENT] Image_Color-1.0.2 (stable) Released.
| From: | PEAR Announce | Date: | Mon, 12 Sep 2005 19:30:58 +0000 |
| Subject: | [ANNOUNCEMENT] Image_Color-1.0.2 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20927@lists.php.net to get a copy of this message | ||
The new PEAR package Image_Color-1.0.2 (stable) has been released at http://pear.php.net/.
Release notes
-------------
* FIXED: percentageColor2RGB() was dropping first character of each number
instead of the percent sign at the end.
* FIXED: mixColors() and percentageColor2RGB() weren't rounding the values
correctly. 50% of 255 is 127.5 and should round to 128 instead of 127.
* FIXED: setColors(). If the second parameter was omitted it would take on a
random-ish value. I changed the implementation of so that colors are only set
when they're provided.
* FIXED: _makeWebSafe() was rounding values incorrectly. Significantly
simplified the implementation in the process.
* Removed the private, unused Image_Color::$websafe member.
* Marked Image_Color::$color1 and $color2 as public. It made no sense that they
were private considering that if you called changeLightness() the only way to
find the result was using $color1 and $color2.
* Deprecated the _returnColor() function. All it was doing was converting RGB
arrays to hex strings. The more aptly named rgb2hex() was calling
_returnColor() which made no sense. _returnColor() now calls rgb2hex() and
will probably disappear after the next release.
* Made major improvements to the comments and documentation and corrected
several violations of the PEAR coding standards.
Package Info
-------------
Manage and handles color data and conversions.
Related Links
-------------
Package home: http://pear.php.net/package/Image_Color
Changelog: http://pear.php.net/package/Image_Color/download/1.0.2
Download: http://pear.php.net/get/Image_Color-1.0.2.tgz
Authors
-------------
Jason Lotito <jasonlotito@gmail.com> (lead)
Ulf Wendel <ulf.wendel@phpdoc.de> (developer)
Andrew Morton (lead)