diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-03-02 12:27:52 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-03-02 12:27:52 +0000 |
commit | b627abfbecaa7e18e2d6b6bb1f3b2ec2aae255ae (patch) | |
tree | 03077a14dcd1bec426bd26ee1bbbef11c573d439 /test/nsgif.c | |
parent | 9151ec61ef3a4af5f0643b95edce27e85ac1a7ec (diff) | |
download | libnsgif-b627abfbecaa7e18e2d6b6bb1f3b2ec2aae255ae.tar.gz libnsgif-b627abfbecaa7e18e2d6b6bb1f3b2ec2aae255ae.tar.bz2 |
Test: Add background to gif info dump.
Diffstat (limited to 'test/nsgif.c')
-rw-r--r-- | test/nsgif.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/nsgif.c b/test/nsgif.c index b1b2424..796d34a 100644 --- a/test/nsgif.c +++ b/test/nsgif.c @@ -140,6 +140,10 @@ static void print_gif_info(const nsgif_info_t *info) fprintf(stdout, " height: %"PRIu32"\n", info->height); fprintf(stdout, " max-loops: %"PRIu32"\n", info->loop_max); fprintf(stdout, " frame-count: %"PRIu32"\n", info->frame_count); + fprintf(stdout, " background:\n"); + fprintf(stdout, " red: 0x%"PRIx8"\n", info->background[0]); + fprintf(stdout, " green: 0x%"PRIx8"\n", info->background[1]); + fprintf(stdout, " blue: 0x%"PRIx8"\n", info->background[2]); fprintf(stdout, " frames:\n"); } |