From c87f70c5f23db099a2d9de3d29cd891da6d01c9a Mon Sep 17 00:00:00 2001 From: tth Date: Tue, 28 Jun 2022 21:27:48 +0200 Subject: [PATCH] work on doc --- Lib/README.md | 1 + Tools/README.md | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/Lib/README.md b/Lib/README.md index fc9b0be..419c712 100644 --- a/Lib/README.md +++ b/Lib/README.md @@ -2,3 +2,4 @@ Ugly software born around 1995 on a MS-Dos 286 computer. +Look at the `Makefile` for no more explanations. diff --git a/Tools/README.md b/Tools/README.md index 0fdeea4..0fa028c 100644 --- a/Tools/README.md +++ b/Tools/README.md @@ -1,18 +1,48 @@ # Tools -Pour utiliser toutes ces fonction, il y a une collection d'utilitaires -spécialisés. +Pour utiliser toutes ces fonctions, il y a une collection d'utilitaires +spécialisés. Leur interface en `CLI` est assez rudimentaire, mais la +plupart savent donner quelques indices avec la commande `list`. Exemple: + +``` +tth@konrad:~/Devel/libtthimage$ tga_filtres list +*** tga_filtres v 0.0.17 [0.59] (dwtfywl) TontonTh 2018 + +Usage: + tga_filtres FILTR [p1] ... [pn] +-+- This is the `tthimage' library v0.4.50 (dwtfywl 2022) tTh + commande | type arg | explication +------------+----------+------------------------------------ + liss2x2 | | lissage 2x2 + hipass | | + lopass | | + prewitt | i | rotation [0..8] + random | ii | try it... +``` +La colonne du milieu undique le type des paramètres : + +- `i` pour un nombre entier +- `d` pour un flottant en double précision +- `s` pour une chaine, ex: un nom de fichier +- `f` pour un flag : 0, F, 1, T + -## genplot2 ## tga_applymap ## tga_cadre +Pas mal de façons de mettre un cadre sur l'image. +Niveau de kitchitude assez élevé. + ## tga_combine ## tga_dither +## tga_export + +Attendu avec impatience, il aura le support complet des PNG. + ## tga_effects ## tga_equalize @@ -33,4 +63,15 @@ spécialisés. ## tga_tools +Celui ci est très utile pour la recherche de problèmes ou l'automatisation +de certaines tâches. Exemple : + +``` +tth@konrad:~/Devel/libtthimage$ tga_tools getdimweb mire.tga +width=512 height=512 +tth@konrad:~/Devel/libtthimage$ +``` + +## genplot2 +