diff --git a/src/pixie/fileformats/bmp.nim b/src/pixie/fileformats/bmp.nim index d859584..3a2c9d3 100644 --- a/src/pixie/fileformats/bmp.nim +++ b/src/pixie/fileformats/bmp.nim @@ -21,7 +21,7 @@ proc decodeBmp*(data: string): Image = raise newException(PixieError, "Unsupported BMP data format") if compression notin [0, 3]: - raise newException(PixieError, "Invalid BMP data format") + raise newException(PixieError, "Unsupported BMP data format") let channels = if bits == 32: 4 else: 3 if width * height * channels + offset > data.len: