From: arebroff at rogers dot com
Operating system: Windows XP
PHP version: 4.3.1
PHP Bug Type: GD related
Bug description: imageCopyMergeGray does not work
This code outputs picture but it is not in grey palette and it does not
depend on $transition.
Why?
How do I need transform it to get image in black-and-white?
-----------------
[EMAIL PROTECTED]("userspictures/2.jpg");
$transition=0;
imageCopyMergeGray($old, $old, 0, 0, 100, 200, 300, 400, $transition);
Header("Content-type: image/jpeg");
Imagejpeg($old, '', 80);
-----------------
Thanks for any help.
Alexei
--
Edit bug report at http://bugs.php.net/?id=22404&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22404&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22404&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22404&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22404&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22404&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22404&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22404&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22404&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22404&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22404&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22404&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22404&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22404&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22404&r=gnused