Breadbin::Image::Hires
Inherits Breadbin::Image < Reference < Object
A high resolution image using any two colors within each 8x8 pixel cell.
Constructors
Creates an image with the given width, height and palette
Class methods
Instance methods
Get the byte representation of the 8x1 pixel area at x and y, with color getting a "1" bit and any other color getting a "0" bit
Get a 9 bytes representation of the 8x8 pixel cell at the given col and row, where the first byte holds the color nybbles and the remaining 8 bytes hold the bitmap data
Get a 63 bytes sprite representation of the 24x21 pixel region at the given x and y position, with clist holding the triplet of colors that should be mapped to the "01", "10" and "11" bit pairs respectively
Get a bytes representation of an image whose dimensions are 320x200 pixels. If optional parameter pad if set to true, pads bitmap data so the following section is page aligned