ID:               23792
 User updated by:  phpman at priya dot 2y dot net
 Reported By:      phpman at priya dot 2y dot net
 Status:           Closed
 Bug Type:         GD related
 Operating System: Linux 2.4
 PHP Version:      4.3.2RC4
 Assigned To:      pajoye
 New Comment:

YES IT'S FIXED!

Thank you thank you thank you!


Previous Comments:
------------------------------------------------------------------------

[2003-07-30 12:34:33] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

[2003-07-09 21:49:41] [EMAIL PROTECTED]

Pierre..fix it properly. :)


------------------------------------------------------------------------

[2003-07-09 21:30:50] phpman at priya dot 2y dot net

Also, to further this, generated by the following code

$base = imagecreatefrompng('windspeed.png');
$pic24bit = imagecreatefrompng("pointer.png");
$pic24bit =
imagerotate($pic24bit,$rot[$_GET['r']],imagecolorat($pic24bit,1,1));
imagecopy($base,$pic24bit,(imagesx($base)-imagesx($pic24bit))/2,(imagesy($base)-imagesy($pic24bit))/2,1,1,imagesx($pic24bit),imagesy($pic24bit));
header('Content-type: image/jpeg');
imagejpeg($base);

I get lines in the image that arn't there in the original.
please see screenshot http://shancel.2y.net/wicons/phperrors.jpg where
I've highlighted these errors with a blue line parallel to them.

------------------------------------------------------------------------

[2003-07-09 21:21:23] phpman at priya dot 2y dot net

I still wouldn't call this completely solved.

I've managed to download and install the Jul 09, 2003 23:30 GMT
snapshot.

There is still the issue with the rotate function adding lines to the
rotated image...

AND below is a link to an 8 bit image rotate function that works to a
point... Again the code is simply:

    $pic = imagecreatefrompng("pointer8bit.png");
    $backcolor = imagecolorat($pic,1,1);
    $pic = imagerotate($pic,$_GET['r'],$backcolor);
    header('Content-type: image/png');
    imagepng($pic);

http://shancel.2y.net/wicons/wind2.php?r=45 - Works (1-45 works fine)
http://shancel.2y.net/wicons/wind2.php?r=46 - Completely Black
http://shancel.2y.net/wicons/wind2.php?r=90 - Completely Black
http://shancel.2y.net/wicons/wind2.php?r=180 - Completely Black

http://shancel.2y.net/wicons/wind2.php?r=316 - Works (316-360 works
fine)


Here is a link to my php info: http://shancel.2y.net/php.php

------------------------------------------------------------------------

[2003-07-09 19:30:27] phpman at priya dot 2y dot net

I've tried to build from the CVS, and I get after using the make
command...

/root/php-src/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam'
is dangerous, better use `mkstemp'
ext/standard/filestat.lo: In function `php_stat':
/root/php-src/ext/standard/filestat.c:575: undefined reference to
`php_check_open_basedir_ex'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


can you help me fix this?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/23792

-- 
Edit this bug report at http://bugs.php.net/?id=23792&edit=1

Reply via email to