A dot matrix is one bit (bit), and a 24*24 dot matrix is 24*24 bits (bit). And one byte is equal to 8 bits (bit), so the 24*24 dot matrix is 72 bytes, that is, 24*24/8=72. Then 1024 24*24 dot matrix requires 1024*72=73728 bytes.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
A dot matrix is one bit (bit), and a 24*24 dot matrix is 24*24 bits (bit). And one byte is equal to 8 bits (bit), so the 24*24 dot matrix is 72 bytes, that is, 24*24/8=72. Then 1024 24*24 dot matrix requires 1024*72=73728 bytes.
The picture above is a 16*16 lattice. It can be seen from the picture that the lattice is a plane. Therefore, 16*16 has 256 points, and similarly, the 24*24 dot matrix has 576 points. So when we calculate, it is 24*24/8 instead of 24/8.
Extended information
The bitmap font divides each character into N×N or M×M points, and then uses the virtual and real values of each point (virtual and real can Represented by 0 or 1) to represent the outline of the character. Bitmap fonts are also called bitmap fonts, in which each glyph is represented by a set of two-dimensional pixel information. In computer and telecommunications technology, a character is a unit of basic information about a glyph, glyph-like unit or symbol.
For more computer-related knowledge, please visit theFAQcolumn!
The above is the detailed content of How many bytes are needed to store 1024 24×24 dot matrix Chinese character glyph codes?. For more information, please follow other related articles on the PHP Chinese website!