From 5a94af619570ccbbfa76fad4b150356fa9f23814 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 23 Aug 2015 13:06:12 +1000 Subject: [PATCH] Added S to list of I;16 formats --- libImaging/Storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libImaging/Storage.c b/libImaging/Storage.c index fb27572d3..2ca1162eb 100644 --- a/libImaging/Storage.c +++ b/libImaging/Storage.c @@ -116,7 +116,7 @@ ImagingNewPrologueSubtype(const char *mode, int xsize, int ysize, im->linesize = xsize * 4; im->type = IMAGING_TYPE_INT32; - } else if (strcmp(mode, "I;16") == 0 || strcmp(mode, "I;16L") == 0 \ + } else if (strcmp(mode, "I;16") == 0 || strcmp(mode, "I;16L") == 0 || strcmp(mode, "I;16S") == 0 \ || strcmp(mode, "I;16B") == 0 || strcmp(mode, "I;16N") == 0) { /* EXPERIMENTAL */ /* 16-bit raw integer images */