Morepretty
This commit is contained in:
parent
c2350c9642
commit
81b82e2277
1 changed files with 3 additions and 4 deletions
|
@ -177,7 +177,6 @@ proc decodeBmp*(data: string): Image {.raises: [PixieError].} =
|
|||
result[x, result.height - y - 1] = rgba.rgbx()
|
||||
|
||||
if bits == 32:
|
||||
|
||||
for y in 0 ..< result.height:
|
||||
for x in 0 ..< result.width:
|
||||
if offset >= data.len - 2:
|
||||
|
|
Loading…
Reference in a new issue