preparing BMP export

This commit is contained in:
tth
2021-02-20 03:31:09 +01:00
parent b1cca46a8a
commit a38f4a8c72
4 changed files with 32 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
* ugly code from tTh
*/
#define FIMG_VERSION 117
#define FIMG_VERSION 118
/*
* in memory descriptor
@@ -40,6 +40,7 @@ typedef struct {
#define FILE_TYPE_TGA 4
#define FILE_TYPE_TIFF 5
#define FILE_TYPE_FITS 6
#define FILE_TYPE_BMP 7
/* lib/contrast.c */
#define CONTRAST_NONE 0
@@ -182,6 +183,8 @@ int fimg_load_from_png(char *filename, FloatImg *fimg);
int fimg_create_from_png(char *filename, FloatImg *fimg);
int fimg_save_as_png(FloatImg *src, char *outname, int flags);
int fimg_save_as_bmp(FloatImg *src, char *outname, int flags);
int fimg_test_pattern(FloatImg *fimg, int type, double dval);
int fimg_draw_something(FloatImg *fimg);