ID: 20472
Updated by: sniper@php.net
Reported By: smseidl@worldnet.att.net
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: RedHat Linx 7.2
PHP Version: 4.3.0RC1
New Comment:
When you use --with-gd (without any path) then PHP use the bundled GD
2.0.x library. Please try adding the install prefix for your GD 1.8.4
installation.
But this might still be nice to fix in our bundled GD library. Can you
possibly try the latest GD library from
http://www.boutell.com/gd/ (gd 2.0.7) to see if it works
any better?
And if possible, provide a short example script which can be used to
reproduce this bug.
Previous Comments:
------------------------------------------------------------------------
[2002-11-17 22:38:53] smseidl@worldnet.att.net
The image created by the stable version has a white background and 2
counties in Green. The image created by the development version has a
red background and only one county in green.
Please go to http://www.wisnowmobileclubs.com/picture.htm
to see the
two images that I see.
Thanks
------------------------------------------------------------------------
[2002-11-17 22:28:07] sniper@php.net
I must be blind or something, but for me both the images look exactly
the same..can you please explain what the exact difference is??
------------------------------------------------------------------------
[2002-11-17 22:21:48] smseidl@worldnet.att.net
I have recently configured my system to run 2 versions of php &
Apache... one stable (php 4.2.3, and apache 1.3.27) and one development
(php 4.3.0RC1 and apache 2.0.43). When I run a script on the dev
version, the image results are extremely different than when I run the
same script on the stable configuration.
I am running version 1.8.4 of GD Graphics Library. The image is
created by openning a blank copy of the image, and then FloodFilling
sections of the image based upon a status in a database.
The different results can be seen by going to:
http://www.wisnowmobileclubs.com/refresh.php
and then
http://www.wisnowmobileclubs.com/Wisconsin.jpeg
for the correct image.
For the incorrect image, go to (different port is for dev
configuration):
http://www.wisnowmobileclubs.com:88/refresh.php
and
http://www.wisnowmobileclubs.com:88/Wisconsin.jpeg
(Note: Please ensure the pages are not being loaded from the Cache.)
My configure command is:
'./configure' '--with-mysql'
'--with-apxs2=/usr/dev/local/apache2/bin/apxs' '--with-gd'
'--with-zlib-dir=/addins/zlib-1.1.3/'
'--with-jpeg-dir=/usr/src/jpeg-6b/' '--prefix=/usr/dev/local/php4.3'
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20472&edit=1