module
Eagle::Codecs::BMP
Overview
Windows BMP decoding (24- and 32-bit, uncompressed or bitfields) and encoding.
Defined in:
eagle/assets/codecs/bmp.crClass Method Summary
-
.bmp?(data : Bytes) : Bool
True when data starts with the BMP signature.
-
.decode(data : Bytes) : Image
Decodes BMP bytes into an image.
-
.encode(img : Image) : Bytes
Encodes an image as a 32-bit BMP.