Method for coding and decoding word library based on image compression
An image compression and encoding method technology, applied in the field of font encoding and decoding based on image compression, can solve the problems of embedded system design limitations, inability to record font information, insufficient memory space, etc., and achieve the effect of improving storage efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] The embodiment of the present invention provides a font encoding method based on image compression. In the embodiment of the present invention, the dot matrix grayscale data of the font is organized in a bitmap manner, and a font index table is generated according to the bitmap. According to the generated bitmap and index table, the compressed file is generated and stored in the memory, and the compressed data is read into the memory when the system starts.
[0034] The embodiment of the present invention also provides a font decoding method based on image compression. In the embodiment of the present invention, the compressed file is read, and when decoding, the compressed file is decoded and restored to bitmap data and index data, and the bitmap data is further analyzed. , generate a Huffman table, recode the bitmap data and store it in the memory, find the memory font data according to the index table and display the output.
[0035] In order to make the purpose, tec...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 