work on the real PGM export

This commit is contained in:
tth
2022-02-09 23:21:58 +01:00
parent 0da81df892
commit 6ffc08188d
7 changed files with 83 additions and 9 deletions

View File

@@ -4,7 +4,7 @@
* http://la.buvette.org/photos/cumul
*/
#define FIMG_VERSION 167
#define FIMG_VERSION 169
/*
* in memory descriptor
@@ -54,6 +54,7 @@ typedef struct {
#define FILE_TYPE_BMP 7
#define FILE_TYPE_EXR 8
#define FILE_TYPE_DICOM 9
#define FILE_TYPE_PGM 10
/* lib/contrast.c */
#define CONTRAST_NONE 0
@@ -151,6 +152,7 @@ int fimg_export_picture(FloatImg *pic, char *fname, int flags);
/* PNM files module */
int fimg_save_as_pnm(FloatImg *head, char *fname, int flags);
int fimg_save_as_pgm(FloatImg *head, char *fname, int flags);
int fimg_load_from_pnm(char *fname, FloatImg *head, int notused);
double fimg_timer_set(int whot);