lbm2bin

changeset 6:89fd62196739

verbose output also prints the image size
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 20 Jul 2017 07:42:52 +0300
parents 03b2aa7ed478
children f5422c7609c1
files src/main.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/src/main.c	Thu Jul 20 07:35:41 2017 +0300
     1.2 +++ b/src/main.c	Thu Jul 20 07:42:52 2017 +0300
     1.3 @@ -100,6 +100,7 @@
     1.4  	}
     1.5  
     1.6  	if(verbose) {
     1.7 +		printf("  size: %dx%d\n", img.width, img.height);
     1.8  		printf("  bits per pixel: %d (%d colors)\n", img.bpp, 1 << img.bpp);
     1.9  		if(img.num_ranges) {
    1.10  			printf("  color ranges:\n");