#30247 [Opn->Bgs]: ImageColorAt peculiarity

From: Date: Sun, 26 Sep 2004 23:47:30 +0000
Subject: #30247 [Opn->Bgs]: ImageColorAt peculiarity
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66735@lists.php.net to get a copy of this message
ID: 30247 Updated by: rasmus@php.net Reported By: sinthetik at comcast dot net -Status: Open +Status: Bogus Bug Type: GD related Operating System: host: linux, client: windows PHP Version: 4.3.8 New Comment: Sorry, but that is simply not possible. PHP is server-side and is in no way affected by the type of browser sending the request in a function like ImageColorAt assuming the image in question is the same under all the browsers. Your error must be elsewhere. Previous Comments: ------------------------------------------------------------------------ [2004-09-27 00:58:07] sinthetik at comcast dot net Opera 7.23 IE 6 Firefox 0.93 ------------------------------------------------------------------------ [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

« previous php.bugs (#66735) next »