#30247 [Opn]: ImageColorAt peculiarity
| From: | sinthetik at comcast dot net | Date: | Sun, 26 Sep 2004 22:58:08 +0000 |
| Subject: | #30247 [Opn]: ImageColorAt peculiarity | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66733@lists.php.net to get a copy of this message | ||
ID: 30247
User updated by: sinthetik at comcast dot net
Reported By: sinthetik at comcast dot net
Status: Open
Bug Type: GD related
Operating System: host: linux, client: windows
PHP Version: 4.3.8
New Comment:
Opera 7.23
IE 6
Firefox 0.93
Previous Comments:
------------------------------------------------------------------------
[2004-09-27 00:55:44] sinthetik at comcast dot net
Description:
------------
When using ImageColorAt to find the color of a pixel within an image it
returns the correct value in IE & Mozilla, but in Opera its null. It
appears to not be dependant on the format of the resource image.
Reproduce code:
---------------
$rgb = ImageColorAt($im, $x, $y);
Expected result:
----------------
$rgb should contain the values of the pixel at those coordinates.
Actual result:
--------------
$rgb is null.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30247&edit=1