---------- Forwarded message ----------
Date: Thu, 3 Jan 2002 23:06:39 -0000
From: Andrew Pattison <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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: <[EMAIL PROTECTED]>
To: "Robin Ericsson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to