From 44f183b72a5f96170dfb8f1d2ca77fa623ac8f84 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Thu, 11 Jul 2019 13:55:15 -0400 Subject: [PATCH] png2rle: handle 4-bit depth png files should make a warning I suppose --- gr-utils/loadpng.c | 37 ++++++++++++++++++++++------- gr-utils/png2rle.c | 2 +- ootw/ootw_graphics/l2jail/dome.png | Bin 0 -> 328 bytes 3 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 ootw/ootw_graphics/l2jail/dome.png diff --git a/gr-utils/loadpng.c b/gr-utils/loadpng.c index 12a20b7c..725664eb 100644 --- a/gr-utils/loadpng.c +++ b/gr-utils/loadpng.c @@ -166,20 +166,39 @@ int loadpng(char *filename, unsigned char **image_ptr, int *xsize, int *ysize) { for(y=0;y=rmw5WRvOi|$6ylSg&&m#zXOJv$jVN)>&&^HED`9XhN=+