Bug #72242 [Fbk->NoF]: imagecreate() don't display the 1:1 ratio for width:height
| From: | php-bugs at lists dot php dot net | Date: | Sun, 29 May 2016 04:22:21 +0000 |
| Subject: | Bug #72242 [Fbk->NoF]: imagecreate() don't display the 1:1 ratio for width:height | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201312@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72242&edit=1
ID: 72242
Updated by: php-bugs@lists.php.net
Reported by: davat dot daniel at free dot fr
Summary: imagecreate() don't display the 1:1 ratio for
width:height
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: GD related
Operating System: Jessie
PHP Version: 7.0.6
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2016-05-19 19:29:15] requinix@php.net
Looks fine with PHP 7.0.6 and gd 2.1.0. http://i.imgur.com/2zDtu7b.png
Upload your image somewhere.
------------------------------------------------------------------------
[2016-05-19 10:21:06] davat dot daniel at free dot fr
Description:
------------
Following testing on a local server with debian Jessie,
Apache 2.4.10, PHP 5.6.20 version and GD Version] => 2.1.1-dev, and also with
PHP 7.0.5 and Nginx 1.9, I get a bug with imagecreate().
Test script:
---------------
Can you test the following script:
<?php
header("Content-Type: image/png");
$im = imagecreate(500,500);
$bl = Imagecolorallocate($im, 0, 0, 0);
$wh = Imagecolorallocate($im, 255, 255, 255);
Imagearc($im,250,250,400,400,0,360,$wh);
Imagepng($im);
Imagedestroy($im);
?>
Expected result:
----------------
The coordinates of a circle must display a circle and those of a square a square.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72242&edit=1