[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / filtres_images / images_fonctions.php
index 5ebbf9f..e5f2584 100644 (file)
@@ -10,7 +10,9 @@
  *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
 \***************************************************************************/
 
-if (!defined("_ECRIRE_INC_VERSION")) return;
+if (!defined('_ECRIRE_INC_VERSION')) {
+       return;
+}
 
 
 //
@@ -62,28 +64,13 @@ $GLOBALS['spip_matrice']['_image_decale_composante'] = 'filtres/images_lib.php';
 $GLOBALS['spip_matrice']['_image_decale_composante_127'] = 'filtres/images_lib.php';
 */
 
-/**
- * Nommages maintenus pour compatibilite.
- */
-
-
-
-/**
- * Extraire une couleur d'une image
- *
- * @param string $img
- * @param int $x
- * @param int $y
- * @return string
- */
-function extraire_image_couleur($img, $x=10, $y=6) {
-       include_spip('filtres/images_lib');
-       return _image_couleur_extraire($img, $x, $y);
-}
 
 /**
- * creer une image typo
+ * Créer une image typo
  *
+ * @note 
+ *    Cas particulier historique : son nom commence par "image_" 
+ *    mais s'applique sur un texte… 
  * @return string
  */
 function image_typo() {
@@ -91,5 +78,3 @@ function image_typo() {
        $tous = func_get_args();
        return call_user_func_array('produire_image_typo', $tous);
 }
-
-?>
\ No newline at end of file