Home>Article> How many bytes are needed to store 1024 24×24 dot matrix Chinese character glyph codes?

How many bytes are needed to store 1024 24×24 dot matrix Chinese character glyph codes?

醉折花枝作酒筹
醉折花枝作酒筹 Original
2021-06-21 09:45:02 49750browse

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.

How many bytes are needed to store 1024 24×24 dot matrix Chinese character glyph codes?

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.

How many bytes are needed to store 1024 24×24 dot matrix Chinese character glyph codes?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn