Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2013-09-18
HANGZHOU SILAN MICROELECTRONICS
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, embedded systems provide more and more font display functions, and also provide support for multi-national font display, but in this type of system, often encounter such a situation: insufficient memory space, unable to record more font information , which brings great restrictions to embedded system design

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for coding and decoding word library based on image compression
  • Method for coding and decoding word library based on image compression

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for coding a word library based on image compression. The method comprises the following steps of: reading files of the word library, analyzing file information, acquiring the dot matrix gray data of the word library, and generating bitmap data according to file information; performing image-based compression on the generated bitmap data; after compression, generating compressed files of the word library and memorizing the files of the word library into a memory; generating the index file information of the word library and memorizing the index file informationof the word library into the memory; starting an embedded system; and reading the compressed files in the memory into an internal memory of the embedded system. The method for coding the word librarybased on the image compression provided by the invention is an inverse process of a coding method. By the method, the memory efficiency of the word library is greatly improved, so that the system canintegrate more font information of the word library.

Description

technical field [0001] The invention relates to the field of embedded systems, in particular to font codec technology based on image compression. Background technique [0002] At present, embedded systems provide more and more font display functions, and also provide support for multi-national font display, but in this type of system, often encounter such a situation: insufficient memory space, unable to record more font information , has brought great restrictions to the embedded system design. Contents of the invention [0003] The invention provides a font encoding method based on image compression, comprising: [0004] Step 101: read the font file, analyze the file information, obtain word lattice grayscale data and generate bitmap data according to the file information; [0005] The file information analyzed here includes font information, font pagination information, font index code information, etc., where the font index code information is the UNICODE code corres...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T9/00
Inventor 管红登
Owner HANGZHOU SILAN MICROELECTRONICS