libtthimage/Lib/readjpeg.c

27 lines
658 B
C
Raw Normal View History

2022-12-26 05:50:19 +01:00
/*
--------- libtthimage -----------
trying to code a JPEG file reader
new Mon 26 Dec 2022 05:43:47 AM CET
*/
#include <stdio.h>
2023-01-31 00:21:05 +01:00
#include <jpeglib.h> /* XXX to be checked ? */
2022-12-26 05:50:19 +01:00
#include "../tthimage.h"
/*::------------------------------------------------------------------::*/
int try_to_read_a_jpeg_file(char *fname, Image_Desc *img)
{
2023-01-31 00:21:05 +01:00
fprintf(stderr, ">>> %s ( '%s' %p )\n", __func__, fname, img);
fprintf(stderr, " %s compiled %s at %s\n", __FILE__, __DATE__, __TIME__);
fprintf(stderr, " JPEG_LIB_VERSION = %d\n", JPEG_LIB_VERSION);
2022-12-26 05:50:19 +01:00
return FULL_NUCKED;
}
/*::------------------------------------------------------------------::*/