diff options
Diffstat (limited to 'converter/other/rasttopnm.c')
-rw-r--r-- | converter/other/rasttopnm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/converter/other/rasttopnm.c b/converter/other/rasttopnm.c index ee8b8317..2d081489 100644 --- a/converter/other/rasttopnm.c +++ b/converter/other/rasttopnm.c @@ -97,6 +97,8 @@ analyzeImage(struct rasterfile const header, header.ras_maplength == 0 || colorMapIsGrayscale(colorMap, header.ras_maplength); + *grayscaleP = grayscale; + switch (header.ras_depth) { case 1: if (header.ras_maptype == RMT_NONE && header.ras_maplength == 0) { |