This commit is contained in:
tth 2019-09-11 18:55:30 +02:00
parent 8990d1f9a9
commit 2c758a4a61
1 changed files with 3 additions and 3 deletions

View File

@ -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) {
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;
}