X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/4e74df93acc6594cd8a212c30dc2b429520caef2..af13a143c8bfcd713216b1382448174e21b9f278:/src/imgoutput.h diff --git a/src/imgoutput.h b/src/imgoutput.h index 46d9c9a..bb0b2a5 100644 --- a/src/imgoutput.h +++ b/src/imgoutput.h @@ -1,9 +1,16 @@ #ifndef IMGOUTPUT_H_ #define IMGOUTPUT_H_ -int img_output_png(FILE *f, const char *filename, - unsigned width, unsigned height, - unsigned char **framedata, unsigned char **mask, - struct lbx_colour *palette); +#include "image.h" + +typedef int img_output_func(FILE *f, const char *filename, + unsigned width, unsigned height, + unsigned char **framedata, unsigned char **mask, + struct lbx_colour *palette); + +img_output_func img_output_pbm, img_output_ppm, img_output_pam; +img_output_func img_output_png; + +_Bool img_is_masked(unsigned char **mask, unsigned width, unsigned height); #endif