forked from tTh/FloatImg
add multiformat output to fimgfx
This commit is contained in:
parent
615321eca8
commit
11082c0d08
@ -5,7 +5,7 @@
|
||||
* https://git.tetalab.org/tTh/FloatImg
|
||||
*/
|
||||
|
||||
#define FIMG_VERSION (185)
|
||||
#define FIMG_VERSION (186)
|
||||
#define RELEASE_NAME ("noname")
|
||||
/*
|
||||
* in memory descriptor
|
||||
|
@ -33,7 +33,8 @@ fimgops: fimgops.c $(DEPS)
|
||||
gcc $(COPT) $< ../libfloatimg.a -o $@
|
||||
|
||||
fimgfx: fimgfx.c $(DEPS)
|
||||
gcc $(COPT) $< ../libfloatimg.a -lm -o $@
|
||||
gcc $(COPT) $< ../libfloatimg.a \
|
||||
-ltiff -lpnglite -lcfitsio -lm -o $@
|
||||
|
||||
fimghalfsize: fimghalfsize.c $(DEPS)
|
||||
gcc $(COPT) $< ../libfloatimg.a -lm -o $@
|
||||
|
@ -262,8 +262,8 @@ switch (action) {
|
||||
|
||||
}
|
||||
|
||||
// foo = fimg_export_picture(&dest, dstfname, 0);
|
||||
foo = fimg_dump_to_file(&dest, dstfname, 0);
|
||||
foo = fimg_export_picture(&dest, dstfname, 0);
|
||||
// foo = fimg_dump_to_file(&dest, dstfname, 0);
|
||||
if (foo) {
|
||||
fprintf(stderr, "dumping datas to file '%s' give us a %d\n",
|
||||
dstfname, foo);
|
||||
|
Loading…
Reference in New Issue
Block a user