Crowbar::Rules::BMPRule
Inherits Crowbar::Rule < Reference < Object
Structure-preserving rule for Windows Bitmap (BMP) files. Preserves the 14-byte BITMAPFILEHEADER ("BM") and DIB header framing, while mutating dimensions, bit depths, compression schemes, color palettes, and pixel raster data, and automatically synchronizing file size and raster offsets.
Instance methods
Applies a structure-preserving transformation to the buffer
description
SourceChecks whether the buffer matches the format handled by this rule
name
Source