module StumpyBMP
Defined in:
stumpy_bmp.crstumpy_bmp/version.cr
Constant Summary
-
FILE_HEADER_RANGE =
(0..13)
-
FILE_IDENT_HEADER =
"BM"
-
FILE_IDENT_HEADER_RANGE =
(0..1)
-
FILE_OFFSET_RANGE =
(10..13)
-
FILE_RS1_RANGE =
(6..7)
-
FILE_RS2_RANGE =
(8..9)
-
FILE_SIZE_RANGE =
(2..5)
-
IMAGE_BITS_RANGE =
(28..29)
-
IMAGE_COLOR_NUMBERS_RANGE =
(46..49)
-
IMAGE_COLOR_PLANES_RANGE =
(26..27)
-
IMAGE_COMPRESSION =
0
-
IMAGE_COMPRESSION_RANGE =
(30..33)
-
IMAGE_HEADER_RANGE =
(14..53)
-
IMAGE_HEADER_SIZE =
40
-
IMAGE_HEADER_SIZE_RANGE =
(14..17)
-
IMAGE_HEIGHT_RANGE =
(22..25)
-
IMAGE_IMPORTANT_COLORS_RANGE =
(50..53)
-
IMAGE_RESOLUTION_X_RANGE =
(38..41)
-
IMAGE_RESOLUTION_Y_RANGE =
(42..45)
-
IMAGE_SIZE_RANGE =
(34..37)
-
IMAGE_WIDTH_RANGE =
(18..21)
-
VERSION =
"0.1.0"
Class Method Summary
- .bit16_to_int(bit16_chars)
- .bit24_to_int(bit24_chars)
- .long_to_int(long_chars) : UInt32
- .read(filename)
- .rgb8_to_int(rgb8_chars)