Re: new PEAR Class
| From: | David Peter | Date: | Mon, 31 Dec 2001 13:36:44 +0000 |
| Subject: | Re: new PEAR Class | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3735@lists.php.net to get a copy of this message | ||
"Jan Lehnardt" <jan@lehnardt.de> wrote:
> Hi,
> On Mon, 31 Dec 2001 14:18:01 +0100
> "David Peter" <davidpeter@web.de> wrote:
>
> > hello,
> >
> > I've written a small PEAR-Class for creating PNG- and JPEG Thumbnails.
> I put
> > the code and a small presentation on my homepage (
> > http://phpwelt.com/Image_Thumbnail )
> > the Sourcecode is avaiable here:
> > http://phpwelt.com/Image_Thumbnail/Thumbnail.zip
> >
> > If you are interested in, and want to add it to PEAR, I would suggest
> to put
> > it in as:
> > pear/Image/Thumbnail.php
> >
> If you add a note that the GD library is requierd and add some kind of
> error handling using PEAR::Error I vote for including it.
I think PEAR_Error is included!, Or should I return a PEAR_Error directly
without using Image_Thumbnail::error($message)?
I'll add a notice, that the gd-librqary is required...