From c2350c964265d113f02d5bcac2afac8e6eea04b6 Mon Sep 17 00:00:00 2001 From: treeform Date: Fri, 11 Feb 2022 20:08:59 -0800 Subject: [PATCH] Fixes. --- src/pixie/fileformats/bmp.nim | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pixie/fileformats/bmp.nim b/src/pixie/fileformats/bmp.nim index 97771c0..673220e 100644 --- a/src/pixie/fileformats/bmp.nim +++ b/src/pixie/fileformats/bmp.nim @@ -1,7 +1,5 @@ import bitops, chroma, flatty/binny, pixie/common, pixie/images -import print, strutils - # See: https://en.wikipedia.org/wiki/BMP_file_format # See: https://bmptestsuite.sourceforge.io/ @@ -178,7 +176,6 @@ proc decodeBmp*(data: string): Image {.raises: [PixieError].} = offset += 3 result[x, result.height - y - 1] = rgba.rgbx() - if bits == 32: for y in 0 ..< result.height: