ID:               22404
 Updated by:       [EMAIL PROTECTED]
 Reported By:      arebroff at rogers dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         GD related
 Operating System: Windows XP
 PHP Version:      4.3.1
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The code does not work as expected due to the fact that both source &
destination images are the same. This function will not work unless you
are working with 2 seperate images (different content). When that is
the case the function appears to work correctly.


Previous Comments:
------------------------------------------------------------------------

[2003-02-24 16:41:17] arebroff at rogers dot com

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 this bug report at http://bugs.php.net/?id=22404&edit=1

Reply via email to