class

Imagecr::Handlers::BmpHandler

Inherits Imagecr::Handler < Reference < Object

Parses width and height properties out a Bitmap image.

Constants

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 methods

parse_image

Actual parsing implementation

Source
verify_remaining_header

Verifiy the rest of the header, that was not checked by Engine

Source