This commit is contained in:
Ryan Oldenburg 2020-11-20 18:20:30 -06:00
parent 552b167953
commit e3e94cff85

View file

@ -47,7 +47,7 @@ proc decodeBmp*(data: string): Image =
result[x, result.height - y - 1] = rgba
proc encodeBmp*(image: Image): string =
## Encodes an image into bitmap data.
## Encodes an image into the BMP file format.
# BMP Header
result.add("BM") # The header field used to identify the BMP