There is a bug in the ImageCopyResampled function in GD 2.0.1 where it
basically ignores the srcX and srcY parameters. Unless you have applied my
little fix:-

You need to change the lines in gd.c that read:

p = gdImageGetTrueColorPixel ( src,(int) sx,(int) sy);

to read:

p = gdImageGetTrueColorPixel (src, (int) sx + srcX, (int) sy + srcY);

If someone could please apply this to the win32 binaries I would be very
grateful! I don't have a C compiler on Windows 2000 right now.

Cheers

Andrew.

Andrew J. Pattison
2mx.co.uk Web Design & Hosting
---------
+44 (0)1383 732840 or +44 (0)797 4564328
Fax: +44 (0)1383 730624

----- Original Message -----
From: "alain samoun" <[EMAIL PROTECTED]>
To: "Markus Fischer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 03, 2002 9:16 PM
Subject: RE: [PHP-DEV] PHP 4.1.1 for win


> Actually, the php_gd.dll is for GD2.0, but if your not interested... ;)
> A+
> Alain
>
>
> -----Original Message-----
> From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 03, 2002 1:00 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] PHP 4.1.1 for win
>
>
>     I'm not interested in those :) I don't even use PHP on win32
>     with apache. I was talking about the official download for
>     the 'masses'. Anyway, 4.1.1 includes gd2 so this thread is
>     over.
>
> On Thu, Jan 03, 2002 at 12:02:46PM -0800, alain samoun wrote :
> > You can find the latest win binaries, I think a new one everyday! at:
> > http://kromann.info/php4.php
> > A+
> > Alain
> >
> >
> > -----Original Message-----
> > From: Markus Fischer [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 03, 2002 4:56 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP-DEV] PHP 4.1.1 for win
> >
> >
> > On Thu, Jan 03, 2002 at 12:10:26PM +0100, Gabor Hojtsy wrote :
> > > Hi!
> > >
> > > As the new year is over now, can someone be so kind
> > > to compile and release a PHP 4.1.1 for windows?
> > > Please also make the windows file names reflect
> > > the "standards".
> >
> >     A plea to whoever builds it, please also include gd2 support.
> >
> > --
> > Please always Cc to me when replying to me on the lists.
> >
> > --
> > 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]
>
> --
> Please always Cc to me when replying to me on the lists.
>
> --
> 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]
>
>



-- 
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