Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ Bit Image Format ] Header format (int array): [0] = image file version number [1] = header length in words (8) [2] = number of color bit planes [3] = pattern definition size in bytes (1-8) [4] = source pixel width in microns [5] = source pixel height in microns [6] = scan line width in pixels [7] = number of scan lines Scan line format: Byte 0 = 0 (sync code) Byte 1 = 0 Byte 2 = 0xFF Byte 3 = number of identical scan lines) Byte 4...n = first plane Byte n+1...m = second bit plane ... Solid run (1 byte): bit 15 = pixel on (1) or off (0) bits 0-14 = number of consecutive bits Pattern run: Byte 0 = 0 Byte 1 = length of run in patterns (see header for pattern size) Byte 2... = bit pattern Bit Stream: Byte 0 = 0x80 Byte 1 = length of run in bytes (8 pixels) Byte 2... = raster bits