20 lines
361 B
C
20 lines
361 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <stdint.h>
|
|
|
|
#include "../tthimage.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
Image_print_version(2);
|
|
Image_print_sizeof_structs("foo");
|
|
|
|
if (2==argc)
|
|
Image_t16x24_essai("16x24thin", argv[1], "16x24.tga");
|
|
else
|
|
Image_t16x24_essai("16x24thin", "0123456789abcdef", "16x24.tga");
|
|
|
|
return 0;
|
|
}
|