Re: PHP 4.1.1 for win (fwd)
| From: | Derick Rethans | Date: | Thu, 03 Jan 2002 23:05:23 +0000 |
| Subject: | Re: PHP 4.1.1 for win (fwd) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75823@lists.php.net to get a copy of this message | ||
---------- Forwarded message ----------
Date: Thu, 3 Jan 2002 23:06:39 -0000
From: Andrew Pattison <andrew@2mx.co.uk>
To: derick@php.net
Subject: Re: [PHP-DEV] PHP 4.1.1 for win
I would like to point out a long-standing bug in the gdImageCopyResampled
function of GD 2.0.1. Basically it will ignore the srcX and srcY parameters,
which prevents the function from copying the correct portion of the source
image. To correct it takes 2 ticks. Simly chance the line that reads:
p = gdImageGetTrueColorPixel (src, (int) sx, (int) sy);
to read:
p = gdImageGetTrueColorPixel (src, (int) sx + srcX, (int) sy + srcY);
Any chance this could be included in the GD-2.0.1 binaries?
Cheers
Andrew.
Andrew J. Pattison
2mx.co.uk Web Design & Hosting
----- Original Message -----
From: <derick@php.net>
To: "Robin Ericsson" <lobbin@localhost.nu>
Cc: <php-dev@lists.php.net>
Sent: Thursday, January 03, 2002 10:53 PM
Subject: Re: [PHP-DEV] PHP 4.1.1 for win
> On Thu, 3 Jan 2002, Robin Ericsson wrote:
>
> > Are gd 1.x and 2.x included now? Or do we still have the problem that
only
> > one version is shipped?
>
> Both are in.
>
> Derick
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>