Tento commit je obsažen v:
tth 2022-07-07 00:05:53 +02:00
rodič 4427fe9093
revize 6455be4d5b
3 změnil soubory, kde provedl 27 přidání a 1 odebrání

4
.gitignore vendorováno
Zobrazit soubor

@ -2,6 +2,7 @@
*.o
libtthimage.a
cscope.out
Lib/foo
Lib/testtga
@ -9,8 +10,9 @@ Lib/t_png
Lib/t_t16x24
Lib/testbmp
Tools/genplot2
Tests/*.tga
Tools/genplot2
Tools/tga_alpha
Tools/tga_cadre
Tools/tga_combine

Zobrazit soubor

@ -2,3 +2,7 @@
Tester, c'est douter.
## Mais encore ?
Dans le répertoire `Lib/` il y a un `essais.c` assez prometeur.

20
Tests/a.sh Spustitelný soubor
Zobrazit soubor

@ -0,0 +1,20 @@
#!/bin/bash
SRC="/tmp/src.tga"
BW="/tmp/bw.tga"
DST="foo.tga"
../Tools/tga_tools version
../Tools/tga_tools mk_rgb $SRC 800 600 30 40 50
../Tools/tga_effects $SRC noise $SRC 255
../Tools/tga_effects $SRC noise $SRC 255
# display $SRC
../Tools/tga_effects $SRC gray $BW
# display $BW
../Tools/tga_combine $SRC $BW circle0 $DST 0
display $DST