************************* Synopsis of Infty-CDB-3 ************************* * There are three files included as part of the Infty-CDB-3 database, besides this one: InftyCDB-3 |____InftyCDB-3-A.txt |____InftyCDB-3-B.txt |____OcrCodeList.txt * The following data is recorded in InftyCDB-3-A.txt and InftyCDB-3-B.txt. Fields 1-6 are separated by commas. -------------------------------------------------------------------------- 1. ID number of source article 2. 2-byte symbol code (written in hexadecimal, using 4 bytes) 3. Character height of bitmap 4. Character width of bitmap 5. Bitmap image, where each 8-bit unit is written as a decimal from 0 to 255 6. Line feed In the bitmap, black is represented by a 1 bit and white by a 0 bit. The most significant bit of a byte represents the leftmost pixel. The last byte in each scanline is padded with 1's, so that each scanline consumes an integer number of bytes. Each scanline, from top to bottom, is recorded from left to right: char rasterImg[height][byteWidth]//byteWidth=(width+7)/8; for(i=0;i