Re: Image_Transform - new effects
| From: | Stoyan Stefanov | Date: | Wed, 14 Sep 2005 08:54:17 +0000 |
| Subject: | Re: Image_Transform - new effects | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39813@lists.php.net to get a copy of this message | ||
> Have you tried those I added in PHP ext/gd? You have nearly all of
> them there. image_filter is the function to use them, one being
> particulary flexible is image_convolution(), it allows you to apply a
> custom 3x3 convolution matrix.
Hi Pierre,
Somehow I missed imagefilter(), but I saw the imageconvolution() and I
think it's a great addition! I have a question though, why 3x3 matrix
and not one with unlimited depth?
What do you think, is it a good idea to add all those blur, sharpen,
etc to Image_Transform? This functionality also exists in ImageMagick
for example and adding it to Image_Transfrom will give it a consistent
interface, so a developer won't need to worry about those libraries,
but simply call the needed method. That would be something like Image
Library Abstraction Layer, ILAL ;)
Thanks,
Stoyan