wip wip wip wip

This commit is contained in:
tTh 2023-11-18 19:58:21 +01:00
parent 2246a5d744
commit 86cb7eaa4a
6 changed files with 12 additions and 15 deletions

View File

@ -19,7 +19,7 @@ HTML_DIR=$(DESTDIR)/html
# use -Wmissing-prototypes ? # use -Wmissing-prototypes ?
LIBIMG_OPT=-DFORCE_ABORT=0 -DDEBUG_LEVEL=0 -DIMGCOMMENT=0 LIBIMG_OPT=-DFORCE_ABORT=0 -DDEBUG_LEVEL=0 -DIMGCOMMENT=0
CC_OPTS=-Wall -W -g -ansi -O3 -fPIC -no-pie CC_OPTS=-Wall -W -g -ansi -O0 -fPIC -no-pie
CC_HACKS=-DNEED_ALLOCA_H CC_HACKS=-DNEED_ALLOCA_H
CFLAGS= $(CC_OPTS) \ CFLAGS= $(CC_OPTS) \

View File

@ -15,7 +15,7 @@ Le second, [`install.sh`](./install.sh) va mettre les choses au bon endroit.
Il est vivement conseillé de bien les lire avant de les utiliser. Il est vivement conseillé de bien les lire avant de les utiliser.
Les options globales de compilation sont dans Les options globales de compilation sont dans
[Paramakes.mk](Paramakes.mk). Là aussi, soyez attentifs [Paramakes.mk](Paramakes.mk). Là aussi, soyez attentifs.
## Utilisation ## Utilisation

View File

@ -4,7 +4,7 @@
test_des_xpers () test_des_xpers ()
{ {
command=$1 command=$1
echo ; echo " Test du xper $command" echo ; echo "======= Test du xper $command"
# generation d'une image sur laquelle travailler # generation d'une image sur laquelle travailler
$COMDIR/tga_mires mircol0 $SRC "hard xper '$command'" $COMDIR/tga_mires mircol0 $SRC "hard xper '$command'"

View File

@ -51,7 +51,7 @@ if (foo) { Image_print_error("load thin font", foo); }
foo = Image_t16x24_chars_map("16x24gruik", "all16X24chars.tga", 2); foo = Image_t16x24_chars_map("16x24gruik", "all16X24chars.tga", 2);
if (foo) { Image_print_error("load gruik font", foo); } if (foo) { Image_print_error("load gruik font", foo); }
fprintf(stderr, "--------------------------\n"); fprintf(stderr, "--------------------------------------\n");
/* /*
foo = essai_f1("pov.tga", "/tmp/aaaa_plop.tga", "0123456789"); foo = essai_f1("pov.tga", "/tmp/aaaa_plop.tga", "0123456789");

View File

@ -10,6 +10,7 @@ install -m 0644 tthimage.h $DESTDIR/include/tthimage.h
cp -v Datas/8x8thin Datas/16x24thin $DESTDIR/share/libimage/ cp -v Datas/8x8thin Datas/16x24thin $DESTDIR/share/libimage/
cp -v Datas/8x8std Datas/16x24gruik $DESTDIR/share/libimage/ cp -v Datas/8x8std Datas/16x24gruik $DESTDIR/share/libimage/
cp -v Datas/*.map $DESTDIR/share/libimage/
liste="genplot2 tga_cadre tga_effects tga_filtres tga_remap tga_tools \ liste="genplot2 tga_cadre tga_effects tga_filtres tga_remap tga_tools \
tga_combine tga_television tga_dither tga_applymap tga_makehf15 \ tga_combine tga_television tga_dither tga_applymap tga_makehf15 \

View File

@ -4,7 +4,7 @@
http://la.buvette.org/devel/libimage/ http://la.buvette.org/devel/libimage/
*/ */
#ifndef IMAGE_VERSION_STRING #ifndef IMAGE_VERSION_STRING
#define IMAGE_VERSION_STRING "0.4.51 pl 62" #define IMAGE_VERSION_STRING "0.4.51 pl 80"
/*::------------------------------------------------------------------::*/ /*::------------------------------------------------------------------::*/
/* /*
@ -609,19 +609,15 @@ int Image_quelques_calculs(Image_Desc *image);
int Image_histo_RGB(Image_Desc *im, long *hr, long *hg, long *hb); int Image_histo_RGB(Image_Desc *im, long *hr, long *hg, long *hb);
/* XXX may be we need a struct for RGB luts ? */
typedef struct {
unsigned int magic;
uint8_t R[256];
uint8_t G[256];
uint8_t B[256];
int flags;
} Image_LUTs;
int Image_LUT_RGB(Image_Desc *, Image_Desc *, int *, int *, int *); int Image_LUT_RGB(Image_Desc *, Image_Desc *, int *, int *, int *);
int Image_LUT_mono(Image_Desc *src, Image_Desc *dst, int *lut); int Image_LUT_mono(Image_Desc *src, Image_Desc *dst, int *lut);
/* falsecolors.c */
int Image_gen_fc_lut(float maxval, int nbslots, RGB_map *plut);
/*::------------------------------------------------------------------::*/ /*::------------------------------------------------------------------::*/
/* module distances.c */ /* module distances.c */
@ -1310,7 +1306,7 @@ int Image_vectfont_text_0(Image_Desc *im, char *txt, int x, int y);
int Image_warp_essai_0(Image_Desc *src, Image_Desc *dst, double angle, int Image_warp_essai_0(Image_Desc *src, Image_Desc *dst, double angle,
int xc, int yc); int xc, int yc);
int Image_warp_essai_1(Image_Desc *src, Image_Desc *dst, double angle); int Image_warp_essai_1(Image_Desc *src, Image_Desc *dst, double ang, double off);
/*::------------------------------------------------------------------::*/ /*::------------------------------------------------------------------::*/
int Image_center_rotate(Image_Desc *src, Image_Desc *dst, double angle); int Image_center_rotate(Image_Desc *src, Image_Desc *dst, double angle);