#24594 [Asn->Csd]: IMG_COLOR_TILED and imagefill not working with all images
| From: | iliaa@php.net | Date: | Wed, 23 Jul 2003 16:10:57 +0000 |
| Subject: | #24594 [Asn->Csd]: IMG_COLOR_TILED and imagefill not working with all images | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-44584@lists.php.net to get a copy of this message | ||
ID: 24594
Updated by: iliaa@php.net
Reported By: jakmania at libertysurf dot fr
-Status: Assigned
+Status: Closed
Bug Type: GD related
Operating System: All
PHP Version: 4.3.3RC2-dev
Assigned To: pajoye
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-07-14 12:33:27] sniper@php.net
Assigning to Pierre who already has some fix for this too.
------------------------------------------------------------------------
[2003-07-14 12:27:50] jakmania at libertysurf dot fr
Hi Pierre,
Here are two images I've got the bug with:
http://www.bantu.ovh.org/images/basic.png
http://www.bantu.ovh.org/images/tile.png
sometimes my host is down :(, so try later in case
And the code is:
<?php
header ("Content-type: image/png");
$im = imagecreatefrompng("basic.png"); /* 150 x 150 */
$tily = imagecreatefrompng("tile.png"); /* 10 x 10 */
imagesettile($im, $tily);
imagefill($im,100,75,IMG_COLOR_TILED);
imagepng($im);
imagedestroy($im);
?>
I just get a dotted line (y=75)
Waiting for better news. Thanks
Jack
------------------------------------------------------------------------
[2003-07-13 15:22:19] pajoye@php.net
I cannot reproduce it here, using the RC or the head. Do you have a
link with the 2 used images?
thanks
pierre
------------------------------------------------------------------------
[2003-07-12 02:35:33] jakmania at libertysurf dot fr
It's a GD bug, not a PHP one, 'cause I've got the same wrong result in
perl :(((
------------------------------------------------------------------------
[2003-07-10 16:07:37] jakmania at libertysurf dot fr
Well, It should work with imagefill() just like it does with other
functions (imagefilledrectangle...) I mean, just filling with the
tile, not only drawing a 'kind' of line or just doing nothing.
Someone should check GD. If this problem doesn't occur with the C
version itself, or with a Perl interface, then it's a PHP bug,
otherwise it's a GD bug.
------------------------------------------------------------------------
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/24594
--
Edit this bug report at http://bugs.php.net/?id=24594&edit=1