diff --git a/floatimg.h b/floatimg.h index e44e2ecb..86758e8e 100644 --- a/floatimg.h +++ b/floatimg.h @@ -20,7 +20,7 @@ * https://git.tetalab.org/tTh/FloatImg */ -#define FIMG_VERSION (237) +#define FIMG_VERSION (242) #define RELEASE_NAME ("noname") #define PATCH_LEVEL ("aaaa") @@ -72,7 +72,7 @@ typedef struct { * fimg file header (short version) */ typedef struct { - char magic[8]; // this is not an asciiz ! + char magic[8]; /* this is not an asciiz ! */ int32_t w, h, t; /* * what about the packing ? @@ -192,7 +192,6 @@ int fimg_split_level(FloatImg *src, FloatImg *dst, int notused); int fimg_make_triptyq(FloatImg *src, FloatImg *dst, int notused); /* funcs/rotate.c module */ -/* #coronamaison */ int fimg_rotate_90(FloatImg *src, FloatImg *dst, int notused); int fimg_killrgb_v(FloatImg *src, FloatImg *dst, int k); @@ -261,7 +260,6 @@ int fimg_halfsize_1(FloatImg *src, FloatImg *dst, int notused); int fimg_extractor(FloatImg *in, FloatImg *out, FimgArea51 *rect); int fimg_mirror(FloatImg *src, FloatImg *dst, int notused); - int fimg_incrustator_0(FloatImg *psrc, FloatImg *pdst, int xpos, int ypos, int flags); @@ -285,6 +283,9 @@ int fimg_show_metadata(FimgMetaData *pmd, char *title, int notused); int fimg_default_metadata(FimgMetaData *pmd, int bla); int fimg_get_metadata_from_file(char *fname, FimgMetaData *pmd); +/* + * FITS, an image fileformat for astronomy + */ int fimg_save_R_as_fits(FloatImg *src, char *outname, int flags); int fimg_save_G_as_fits(FloatImg *src, char *outname, int flags); int fimg_save_B_as_fits(FloatImg *src, char *outname, int flags); @@ -293,7 +294,6 @@ int fimg_save_plane_as_fits(FloatImg *src, char *oname, char plane, int flags); int fimg_write_as_tiff(FloatImg *src, char *fname, int flags); int fimg_save_as_exr(FloatImg *src, char *outname, int flags); - /* mathematics operations */ float fimg_get_plane_maxvalue(FloatImg *psrc, char plane); float fimg_get_maxvalue(FloatImg *head);