Re: Image_Transform - new effects
| From: | Pierre Joye | Date: | Wed, 14 Sep 2005 09:03:10 +0000 |
| Subject: | Re: Image_Transform - new effects | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39821@lists.php.net to get a copy of this message | ||
On 9/14/05, Stoyan Stefanov <ssttoo@gmail.com> wrote:
> > 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?
performance problems, in a web environment, applying a 32x32 to a
1200x1000 picture is maybe not a good idea.
But other function/ext come later.
> 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 ;)
netpbm and friends do not have them. I will take a look, and wait
other maintainers oppinions.
Regards,
--Pierre