libtthimage/Tools
tth 10dc0d2204 some small twiks 2022-06-30 20:33:31 +02:00
..
Makefile + alpha tool 2022-06-28 22:28:05 +02:00
README.md some small twiks 2022-06-30 20:33:31 +02:00
fonctions.c cosmetic 2022-06-28 20:56:14 +02:00
genplot2.c six more tools added... 2022-06-27 23:39:52 +02:00
tga_alpha.c + alpha tool 2022-06-28 22:28:05 +02:00
tga_applymap.c six more tools added... 2022-06-27 23:39:52 +02:00
tga_cadre.c maintenant, les choses importantes... 2022-06-27 23:05:42 +02:00
tga_combine.c more and more tools 2022-06-28 15:14:08 +02:00
tga_dither.c six more tools added... 2022-06-27 23:39:52 +02:00
tga_effects.c useless msg deleted 2022-06-30 15:50:35 +02:00
tga_equalize.c some small twiks 2022-06-30 20:33:31 +02:00
tga_export.c importing the exporter :) 2022-06-28 21:28:22 +02:00
tga_filtres.c three more tools compiled 2022-06-27 08:53:59 +02:00
tga_incrust.c more and more tools 2022-06-28 15:14:08 +02:00
tga_info.c 2.5 tools added... 2022-06-28 10:46:14 +02:00
tga_makehf15.c six more tools added... 2022-06-27 23:39:52 +02:00
tga_mires.c six more tools added... 2022-06-27 23:39:52 +02:00
tga_outils.h some small twiks 2022-06-30 20:33:31 +02:00
tga_pattern.c 2.5 tools added... 2022-06-28 10:46:14 +02:00
tga_remap.c six more tools added... 2022-06-27 23:39:52 +02:00
tga_television.c cosmetic 2022-06-30 12:49:59 +02:00
tga_tools.c first serious bug founs and killed 2022-06-28 17:31:59 +02:00

README.md

Tools

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 <src.tga> FILTR <dst.tga> [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

tga_alpha

Manipulation du canal alpha (la transparence), lequel canal est globalement mal géré par l'ensemble de libtthimage.

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

tga_filtres

tga_incrust

tga_makehf15

tga_mires

La génération de diverses image de test ou de calibration.

tga_pattern

tga_remap

tga_television

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