#11976 [Com]: image_copy_resized does not work properly
| From: | ezine-3102 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:09:06 +0000 |
| Subject: | #11976 [Com]: image_copy_resized does not work properly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63025@lists.php.net to get a copy of this message | ||
ID: 11976
Comment by: ezine-3102 at hotmail dot com
Reported By: yannbarrault at yahoo dot fr
Status: Closed
Bug Type: GD related
Operating System: windows 98 SE
PHP Version: 4.0.6
New Comment:
<a href=http://3-real-swingerscums.da.ru>3
ezine</a>
Previous Comments:
------------------------------------------------------------------------
[2001-08-06 08:45:04] rasmus@php.net
Because GD2 is overall much much better than GD 1.x despite the fact
that they are still labelling it a beta. And yes, there may still be
the odd bug or two. In this particular case if you use
imagecreatetruecolor() instead of imagecreate() it works fine. And
since you are generating a PNG image you should be using
imagecreatetruecolor() anyway.
To the original person who reported this, try asking the GD folks about
this problem.
------------------------------------------------------------------------
[2001-08-06 08:33:26] sniper@php.net
With GD 2.0.1 -> No workie.
With GD 1.8.4 -> Works fine.
Not a bug in PHP but in the (beta) GD 2.0.1.
--Jani
(Why was the windows module compiled with beta-GD??)
------------------------------------------------------------------------
[2001-07-24 08:50:54] andy@php.net
exactly the result I got. Can anybody else reproduce this?
I still think this is bogus.
------------------------------------------------------------------------
[2001-07-24 03:08:00] yannbarrault at yahoo dot fr
The image result supposed to be a png image like this:
---------------------------|-
| | | | | | | | | | |
| | | | - | | | | |
| | - | | | | |
- - | | |
- |
|
|
So it is supposed to be a graph with blue rectangles and two black
lines, not a black square.
------------------------------------------------------------------------
[2001-07-23 11:43:58] yannbarrault at yahoo dot fr
My script should not draw a black image but a blue graph( blue
rectangles).
Actually, with php4.0.6, my script draw a black square and with
php4.0.5 my script draw a graphics with blue rectangles.
It works with php4.0.6 only if I don't use the function
image_copy_resized. So In conclusion, I think that there is a problem
with this function on php4.0.6 with W98 OS??
------------------------------------------------------------------------
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/11976
--
Edit this bug report at http://bugs.php.net/?id=11976&edit=1