PHP » Quellcode betrachten

Download

<?php
/* (C) 2008 by Julian von Mendel (prog@derjulian.net)
 * License: LGPL3
 * $LastChangedBy: jvm $
 * $LastChangedDate: 2008-03-31 17:46:20 +0000 (Mon, 31 Mar 2008) $
 * $Revision: 1 $
 *
 * Todo: generalize; does not work as good as expected?! something wrong?
 */

require_once("image.php");

class 
image_laplace extends imagealgorithmmask {
    function 
__construct() {
        
$this->setparameter(array(
            array(-
1, -1, -1, -1, -1),
            array(-
1, -1, -1, -1, -1),
            array(-
1, -124, -1, -1),
            array(-
1, -1, -1, -1, -1),
            array(-
1, -1, -1, -1, -1)), 4);
    }
}

© 2009 Julian von Mendel (http://derjulian.net) | Datum: 27.04.2024