Re: [PHP] imageconvolution

2005-07-06 Thread Burhan Khalid

xfedex wrote:

Hi,

Has anybody use this function?
http://www.php.net/manual/en/function.imageconvolution.php

I dont know what a matrix3x3 array is.


This means three columns and three rows:

x x x
x x x
x x x

^ Like that.

And so, if someone has experience on random image generation, it would be 
greate to read what you got to write.


Are you talking about CAPTCHA images? Or something else?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] imageconvolution

2005-07-05 Thread xfedex
Hi,

Has anybody use this function?
http://www.php.net/manual/en/function.imageconvolution.php

I dont know what a matrix3x3 array is.

And so, if someone has experience on random image generation, it would be 
greate to read what you got to write.

Thanks in advance,
pancarne


[PHP] imageconvolution()

2005-07-05 Thread xfedex
Hi,

Has anybody use this function?
http://www.php.net/manual/en/function.imageconvolution.php

I dont know what a matrix3x3 array is.

And so, if someone has experience on random image generation, it would be 
greate to read what you got to write.

Thanks in advance,
pancarne


Re: [PHP] imageconvolution

2005-07-05 Thread Richard Lynch
On Mon, July 4, 2005 11:38 pm, xfedex said:
 Has anybody use this function?
 http://www.php.net/manual/en/function.imageconvolution.php

Somebody must have... :-)

 I dont know what a matrix3x3 array is.

$matrix3x3 = array( array( 1, 3, 4), array(2, 5, 7,), array(3, 1, 2));

 And so, if someone has experience on random image generation, it would be
 greate to read what you got to write.

This Google result will explain what the function does, more or less:
http://www.codeproject.com/bitmap/ImageConvolution.asp

Presumably something like this:

$matrix3x3 = array( array( 1, 3, 4), array(2, 5, 7,), array(3, 1, 2));
imageconvolution($image, $matrix3x3, 0.9, 0.3);

would so something... interesting... to your image.

If you want random, just plug in random numbers for all the numbers
above... It won't be PRETTY, most likely, but it should work.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] imageconvolution

2005-07-05 Thread xfedex
Thanks for your answer!

On 7/5/05, Richard Lynch [EMAIL PROTECTED] wrote:
 
 On Mon, July 4, 2005 11:38 pm, xfedex said:
  Has anybody use this function?
  http://www.php.net/manual/en/function.imageconvolution.php
 
 Somebody must have... :-)
 
  I dont know what a matrix3x3 array is.
 
 $matrix3x3 = array( array( 1, 3, 4), array(2, 5, 7,), array(3, 1, 2));
 
  And so, if someone has experience on random image generation, it would 
 be
  greate to read what you got to write.
 
 This Google result will explain what the function does, more or less:
 http://www.codeproject.com/bitmap/ImageConvolution.asp
 
 Presumably something like this:
 
 $matrix3x3 = array( array( 1, 3, 4), array(2, 5, 7,), array(3, 1, 2));
 imageconvolution($image, $matrix3x3, 0.9, 0.3);
 
 would so something... interesting... to your image.
 
 If you want random, just plug in random numbers for all the numbers
 above... It won't be PRETTY, most likely, but it should work.
 
 --
 Like Music?
 http://l-i-e.com/artists.htm
 
 
it looks like this function is only PHP5 :(