ID: 44637
Updated by: [EMAIL PROTECTED]
Reported By: dpenezic at srce dot hr
-Status: Assigned
+Status: Bogus
Bug Type: GD related
Operating System: Fedora Core 4
PHP Version: 5.2.5
Assigned To: pajoye
New Comment:
Not a but, not able toreproduce.
Previous Comments:
------------------------------------------------------------------------
[2008-04-04 12:20:16] dpenezic at srce dot hr
Sent to your email address
------------------------------------------------------------------------
[2008-04-04 12:07:57] [EMAIL PROTECTED]
Please provide the file 'some/some/some.png'
What does that mean:
# Nothing happend on image after thiss command
# From this point on everything work correct
...
I really need a script to *reproduce* your problem.
------------------------------------------------------------------------
[2008-04-04 12:01:35] dpenezic at srce dot hr
Basic code :
<?PHP
$image = @imagecreatefrompng('some/some/some.png');
if ($image === false) {
die ('Unable to open image');
}
$color = imagecolorallocate($image, 0, 0, 0);
imagefill($image, 200, 200, $color);
# Nothing happend on image after thiss command
# From this point on everything work correctly
imagefill($image, 500, 500, $color);
header("Content-type: image/png");
header("Content-Disposition: inline; filename=map.png");
imagepng($image);
?>
I have map of country and fill some section with color, then show image
in browser.
------------------------------------------------------------------------
[2008-04-04 11:39:18] [EMAIL PROTECTED]
I don't understand what you are trying to describe. Please provide a
small script to reproduce your problem and add links to images if you
need image to illustrate the problem or to show what you would like to
achieve.
------------------------------------------------------------------------
[2008-04-04 11:21:17] dpenezic at srce dot hr
Description:
------------
After loading image with imagecreatefrompng, seting colore with
imagecolorallocate , and invoking first imagefill result with no effect
(return code is TRUE). Next imagefill work correctly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44637&edit=1