Re: Image_Resize patches (2/2)
| From: | Brent Cook | Date: | Thu, 05 Sep 2002 12:39:10 +0000 |
| Subject: | Re: Image_Resize patches (2/2) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8850@lists.php.net to get a copy of this message | ||
On Thu, 5 Sep 2002, Peter Bowyer wrote:
> At 22:28 04/09/02 -0500, Brent Cook wrote:
> >Also, the -y coordinate refers to the bottom line that the text lies on.
> >If Image_Transform operates on the 'coordinates indicate upper-left corner
> >of the object' paradigm, then it needs to account for this.
>
> I believe this is the case, as IIRC GD and ImageMagick calculate from the
> top left corner.
>
> >Is it alright if I add a gamma() function too?
>
> Yes, so long as you add it to all the drivers :)
>
> Peter
I added and tested it with NetPBM, IM and GD. The Imagick PECL extension
has no gamma function yet, but I'll look into it.
- Brent