From 15124ad892afde0d0ba49c4ac799da5c4e6afa50 Mon Sep 17 00:00:00 2001 From: tTh Date: Mon, 26 Dec 2022 05:50:19 +0100 Subject: [PATCH] to be finished, please --- Lib/Makefile | 3 ++- Lib/readjpeg.c | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 Lib/readjpeg.c diff --git a/Lib/Makefile b/Lib/Makefile index 8abf024..0ef56c3 100644 --- a/Lib/Makefile +++ b/Lib/Makefile @@ -109,6 +109,7 @@ ptlist.o: ptlist.c $(DEPS) quadpics.o: quadpics.c $(DEPS) +readjpeg.o: readjpeg.c $(DEPS) recurse.o: recurse.c $(DEPS) rgbmask.o: rgbmask.c $(DEPS) @@ -169,7 +170,7 @@ OBJECTS = 7seg.o \ pov_hf15e.o pov_hf15e.o pov_hf15f.o pov_synth.o \ ptlist.o \ quadpics.o \ - recurse.o rgbmask.o \ + readjpeg.o recurse.o rgbmask.o \ scale.o sobel4.o stereo.o \ tamppool.o tele_2.o television.o \ text0.o text1.o text16x24.o \ diff --git a/Lib/readjpeg.c b/Lib/readjpeg.c new file mode 100644 index 0000000..061d89b --- /dev/null +++ b/Lib/readjpeg.c @@ -0,0 +1,21 @@ +/* + + --------- libtthimage ----------- + trying to code a JPEG file reader + + new Mon 26 Dec 2022 05:43:47 AM CET +*/ + +#include + +#include "../tthimage.h" + +/*::------------------------------------------------------------------::*/ +int try_to_read_a_jpeg_file(char *fname, Image_Desc *img) +{ + +fprintf(stderr, ">>> %s ( %s %p )\n", __func__, fname, img); + +return FULL_NUCKED; +} +/*::------------------------------------------------------------------::*/