#28267 [NEW]: php_image_filter_contrast calls gdImageBrightness?

From: Date: Mon, 03 May 2004 23:22:07 +0000
Subject: #28267 [NEW]: php_image_filter_contrast calls gdImageBrightness?
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59180@lists.php.net to get a copy of this message
From: hannes at mediagonal dot ch Operating system: Linux 2.6.5 PHP version: 5CVS-2004-05-04 (dev) PHP Bug Type: GD related Bug description: php_image_filter_contrast calls gdImageBrightness? Description: ------------ In http://lxr.php.net/source/php-src/ext/gd/gd.c#4064, the function php_image_filter_contrast calls gdImageBrightness where it probably should call gdImageContrast. This seems to work and seems to make sense, since gdImageContrast does not seem to be called from anywhere else. Reproduce code: --------------- $img = imagecreatefromgif("http://images.slashdot.org/title.gif"); imagefilter($img, 3, 50); imagejpeg($img); -- Edit bug report at http://bugs.php.net/?id=28267&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28267&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28267&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28267&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28267&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28267&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28267&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28267&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28267&r=support Expected behavior: http://bugs.php.net/fix.php?id=28267&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28267&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28267&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28267&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28267&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28267&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28267&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28267&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28267&r=float

« previous php.bugs (#59180) next »