#20472 [Opn]: Flood Fill problem after changing to 4.3.0RC1
| From: | smseidl at worldnet dot att dot net | Date: | Wed, 18 Dec 2002 05:04:25 +0000 |
| Subject: | #20472 [Opn]: Flood Fill problem after changing to 4.3.0RC1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27948@lists.php.net to get a copy of this message | ||
ID: 20472
User updated by: smseidl@worldnet.att.net
Reported By: smseidl@worldnet.att.net
Status: Open
Bug Type: GD related
Operating System: RedHat Linx 7.2
PHP Version: 4.3.0RC1/3
New Comment:
I have changed my image in a couple places to ensure that there was a
solid line around the area I was issuing the flood fill. This has
fixed the problem with the flood fill filling areas that I did not
intend to be filled.
Although the problem no-longer appears to be with the flood fill, I am
curious at to why the two versions of php work differently. Was
something changed in php (or the bundled gd) to require a more 'solid'
line? Could this be a bug, or a un-intended side effect?
Thanks for all the help that has been provided.
Previous Comments:
------------------------------------------------------------------------
[2002-12-17 22:33:58] pajoye@php.net
Hello,
After a little test of imagefill, I can say it works as expected.
We can invoke the bad quality of the original images (lines and noises)
as a reason for this problem.
I m waiting feedbacks for a final test with a clean & well formed
images before closing (I hope :) this bug
pierre
------------------------------------------------------------------------
[2002-12-17 21:51:25] smseidl@worldnet.att.net
I have updated the script to output the orginial image below the php
edited image.
The differences in the 2 images is the back ground. The back ground
should be white, not red as seen in the image created with this link.
http://www.wisnowmobileclubs.com:88/refresh.php
I have been able to re-create this problem by running the two different
scripts on both IE 6 and Netscape 6.
If the images look the same, please do a full refresh of each page to
force pull the image from the server rather than cache.
Thanks
------------------------------------------------------------------------
[2002-12-16 19:59:22] pajoye@php.net
Hello,
Can you provide the original image (in the original format) ?
I saw little difference (well I expect differences while analyzing the
2 results).
pierre
------------------------------------------------------------------------
[2002-12-15 16:12:31] smseidl@worldnet.att.net
To see the results of the different installations, please execute these
pages. You may need to do a full refresh (Ctrl-Refresh)
http://www.wisnowmobileclubs.com:88/refresh.php
for Dev.
http://www.wisnowmobileclubs.com/refresh.php
for Prod.
------------------------------------------------------------------------
[2002-12-15 16:01:07] smseidl@worldnet.att.net
Well, I have gotten everything to compile & make with using the
--with-gd option.
But I am still having a problem with the flood fill. With PHP 4.2.3
the flood fill works fine... with the new versions of PHP the flood
fill does not work. I will try to create a script that can reproduce
this.
http://www.wisnowmobileclubs.com/picture.htm
show the differences in
the images.
------------------------------------------------------------------------
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/20472
--
Edit this bug report at http://bugs.php.net/?id=20472&edit=1