gif2webp: print output file size

Change-Id: I6ce367baa209911f1c07d23ca6283fcb3fe1d7a4
This commit is contained in:
skal 2015-08-24 17:36:57 -07:00
parent 14efabbf1c
commit 03fb75221c

View File

@ -503,11 +503,13 @@ int main(int argc, const char *argv[]) {
goto End; goto End;
} }
if (!quiet) { if (!quiet) {
fprintf(stderr, "Saved output file: %s\n", out_file); fprintf(stderr, "Saved output file (%d bytes): %s\n",
(int)webp_data.size, out_file);
} }
} else { } else {
if (!quiet) { if (!quiet) {
fprintf(stderr, "Nothing written; use -o flag to save the result.\n"); fprintf(stderr, "Nothing written; use -o flag to save the result "
"(%d bytes).\n", (int)webp_data.size);
} }
} }