add multiformat output to fimgfx
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user