class Imagecr::Handlers::BmpHandler
- Imagecr::Handlers::BmpHandler
- Imagecr::Handler
- Reference
- Object
Overview
Parses width and height properties out a Bitmap image.
Defined in:
imagecr/handlers/bmp_handler.crConstant Summary
-
BITMAP_HEADERS =
[UInt8.slice(66, 77), UInt8.slice(66, 65), UInt8.slice(67, 73), UInt8.slice(67, 80), UInt8.slice(73, 67), UInt8.slice(80, 84)]
Instance Method Summary
-
#parse_image
Actual parsing implementation
-
#verify_remaining_header
Verifiy the rest of the header, that was not checked by
Engine
Instance methods inherited from class Imagecr::Handler
header_bytes : Slice(UInt8)?
header_bytes,
io : IO
io,
parse
parse,
parse_image
parse_image,
verify_remaining_header
verify_remaining_header
Constructor methods inherited from class Imagecr::Handler
new(io : IO, header_bytes : Bytes | Nil = nil)
new
Instance Method Detail
def verify_remaining_header
#
Description copied from class Imagecr::Handler
Verifiy the rest of the header, that was not checked by Engine