/trunk/jrest/lib/ImageRecreation.php |
---|
482,6 → 482,19 |
return $destruction_formats_fichier; |
} |
// recopie de Cel->logger() (pas d'extends pour ça) |
public function logger($index,$chaine) { |
if(!class_exists('Log')) { |
Log::getInstance(); |
} |
Log::setCheminLog($this->config['log']['cheminlog']); |
Log::setTimeZone($this->config['log']['timezone']); |
Log::setTailleMax($this->config['log']['taillemax']); |
Log::ajouterEntree($index,$chaine); |
} |
/* |
* edge-maximizing crop |
* determines center-of-edginess, then tries different-sized crops around it. |