cumulfimgs can now export in all know formats
This commit is contained in:
parent
5845ab7962
commit
86df4ef602
@ -19,7 +19,8 @@ fimgstats: fimgstats.c $(DEPS)
|
||||
gcc $(COPT) $< ../libfloatimg.a -lm -o $@
|
||||
|
||||
cumulfimgs: cumulfimgs.c $(DEPS)
|
||||
gcc $(COPT) $< ../libfloatimg.a -lm -o $@
|
||||
gcc $(COPT) $< ../libfloatimg.a -lcfitsio \
|
||||
-ltiff -lpnglite -lz -lm -o $@
|
||||
|
||||
mkfimg: mkfimg.c $(DEPS)
|
||||
gcc $(COPT) $< ../libfloatimg.a -lm -o $@
|
||||
|
@ -108,7 +108,8 @@ if (to_gray) {
|
||||
}
|
||||
}
|
||||
|
||||
foo = fimg_dump_to_file(&accu, output_file, 0);
|
||||
// XXX foo = fimg_dump_to_file(&accu, output_file, 0);
|
||||
foo = fimg_export_picture(&accu, output_file, 0);
|
||||
if (foo) {
|
||||
fprintf(stderr, "error %d while saving '%s'\n", foo, output_file);
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user