Image module

encode_bmp

procedure · 1 overloadsince 0.28.0Source

Encodes as an uncompressed bottom-up BMP: 24-bit, or 32-bit with an alpha mask (a V4 header) when the image has alpha. Gray is written as colour.

encode_bmp :: (image: Image) -> [] u8

Encodes as an uncompressed bottom-up BMP: 24-bit, or 32-bit with an alpha mask (a V4 header) when the image has alpha. Gray is written as colour.

Parameters

image: Image

Returns

[] u8

See also