Image_Transform - new effects
| From: | Stoyan Stefanov | Date: | Wed, 14 Sep 2005 06:36:26 +0000 |
| Subject: | Image_Transform - new effects | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-39810@lists.php.net to get a copy of this message | ||
Hi guys,
I was playing with GD and came up with a few effects. I've posted them here:
http://www.phpied.com/image-fun/
Some of them may be added as enhancements to the Image_Transform package.
Let me know what you think. I can cooperate in cleaning up,
documenting and adding them to Image_Transform or to another class
that extends Image_Transform, for example
Image_Transform_PixelOperations. Because these are in essence pixel
operations, performed on a single pixel. Image_Transform_Filters might
be another extension that can have effects such as blur, edge detect,
sharpen, etc.
My current code is concentrates on the operations themselves, not so
much on reading, validating and writing images, something that
Image_Transform already does pretty well. Also my implementation is
designed to be extensible, one can easily add a new effect by
providing a callback function that does something and returns a Pixel
object.
Regards,
Stoyan