Browse Source

oups...

master
tth 3 years ago
parent
commit
2c758a4a61
  1. 6
      tools/png2fimg.c

6
tools/png2fimg.c

@ -19,7 +19,7 @@ int foo; @@ -19,7 +19,7 @@ int foo;
if (3 != argc) {
fimg_print_version(1);
fprintf(stderr, "usage:\n\t%s foo.fimg bar.png\n", argv[0]);
fprintf(stderr, "usage:\n\t%s foo.png bar.png\n", argv[0]);
exit(1);
}
@ -33,8 +33,8 @@ if (foo) { @@ -33,8 +33,8 @@ if (foo) {
fimg_describe(&fimg, "oups");
foo = fimg_save_as_pnm(&fimg, "t.pnm", 0);
fprintf(stderr, "save as pnm -> %d\n", foo);
foo = fimg_dump_to_file(&fimg, argv[2], 0);
fprintf(stderr, "save as fimg -> %d\n", foo);
return 0;
}

Loading…
Cancel
Save