From 7a0fa42088f2dd6cce945234774a9776400baf72 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 9 Sep 2013 13:09:21 +0000 Subject: [PATCH] --- coders/tim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/tim.c b/coders/tim.c index 206f604ff..ba35cea07 100644 --- a/coders/tim.c +++ b/coders/tim.c @@ -178,6 +178,7 @@ static Image *ReadTIMImage(const ImageInfo *image_info,ExceptionInfo *exception) case 3: bits_per_pixel=24; break; default: bits_per_pixel=4; break; } + image->depth=8; if (has_clut) { unsigned char -- 2.40.0