oups...
This commit is contained in:
parent
8990d1f9a9
commit
2c758a4a61
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user