JP2833268B2 - Bitmap font compression device - Google Patents

Bitmap font compression device

Info

Publication number
JP2833268B2
JP2833268B2 JP3165838A JP16583891A JP2833268B2 JP 2833268 B2 JP2833268 B2 JP 2833268B2 JP 3165838 A JP3165838 A JP 3165838A JP 16583891 A JP16583891 A JP 16583891A JP 2833268 B2 JP2833268 B2 JP 2833268B2
Authority
JP
Japan
Prior art keywords
bitmap
bitmap font
font
value
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP3165838A
Other languages
Japanese (ja)
Other versions
JPH0512426A (en
Inventor
正彦 村松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP3165838A priority Critical patent/JP2833268B2/en
Publication of JPH0512426A publication Critical patent/JPH0512426A/en
Application granted granted Critical
Publication of JP2833268B2 publication Critical patent/JP2833268B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は文字を示すビットマップ
フォントを効率的に圧縮データに変換するためのビット
マップフォントの圧縮装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bitmap font compression apparatus for efficiently converting a bitmap font representing a character into compressed data.

【0002】[0002]

【従来の技術】ビットマップフォントは文字、記号等の
パターンを表現するためのものであり、「白」および
「黒」のうちのいずれかをそれぞれ示す複数の画素を行
列方向に配列してなる画素行列に対応し、この画素行列
の各画素に対応して複数のビット(「1」および「0」
のうちのいずれかをそれぞれ示す)を行列方向に配列し
てなる。
2. Description of the Related Art A bitmap font is used to represent a pattern of characters, symbols, etc., and is formed by arranging a plurality of pixels each indicating one of "white" and "black" in a matrix direction. A plurality of bits ("1" and "0") corresponding to a pixel matrix and corresponding to each pixel of the pixel matrix.
Are shown in the matrix direction.

【0003】このようなビットマップフォントを記憶す
る場合、少数のビットマップフォントを記憶するのであ
れば、メモリの記憶容量は小さくて済むが、多数のビッ
トマップフォントを記憶するには大記憶容量のメモリを
必要とする。このため、多数のビットマップフォントを
記憶するときには、これらのビットマップフォントに対
して圧縮処理を施し、これにより得られる圧縮データを
記憶するようにし、もってメモリの記憶容量を節減する
ようにしている。
When such a bitmap font is stored, if a small number of bitmap fonts are stored, the storage capacity of the memory is small, but a large storage capacity is required to store a large number of bitmap fonts. Requires memory. For this reason, when storing a large number of bitmap fonts, compression processing is performed on these bitmap fonts, and the resulting compressed data is stored, thereby reducing the storage capacity of the memory. .

【0004】従来、ビットマップフォントの圧縮処理と
しては、1つのビットマップフォントの各行毎にビット
パターンを逐次圧縮するのが一般的であるが、圧縮効率
をより向上させるために行列の両方向で共に圧縮すると
いう方法も提案されている(特開昭60−176084
号公報を参照)。これらの方法のうちのいずれを利用す
るにしても、複数のビットマップフォント毎に圧縮処理
を施すことには変りがなく、各ビットマップフォントに
対応するそれぞれの圧縮データが生成される。
Conventionally, as a compression process of a bitmap font, it is general to sequentially compress a bit pattern for each row of one bitmap font. However, in order to further improve the compression efficiency, the bit pattern is compressed in both directions of a matrix. A method of compression has also been proposed (JP-A-60-176084).
Reference). Regardless of which of these methods is used, there is no difference in performing compression processing for each of a plurality of bitmap fonts, and each piece of compressed data corresponding to each bitmap font is generated.

【0005】したがって、第7図に示すように複数のビ
ットマップフォントを含むフォーマットのデータがあれ
ば、このデータに対する圧縮処理を施した結果として第
8図に示すようなフォーマットのデータが作成されるこ
ととなり、この第8図に示すデータがメモリに記憶され
る。ここで、第7図に示すフォーマットのデータはフォ
ント名、書体名、著作権、バージョンNo等を記述するた
めのヘッダー部71と、複数のメトリクス情報部72−
1〜72−nと、これらのメトリクス情報部72−1〜
72−n毎に配列された各ビットマップ部73−1〜7
3−nとからなる。各メトリクス情報部72−1〜72
−nには文字、記号等を識別するためのキャラクタコー
ドや、文字、記号等の幅と高さ、およびベースラインを
示すメトリクスデータなどがそれぞれ記述され、また各
ビットマップ部73−1〜73−nには1つ前のメトリ
クス情報部に記述されているキャラクタコードによって
示される文字、記号等のビットマップフォントがそれぞ
れ格納されている。一方、第8図に示すフォーマットの
データは第7図に示したヘッダー部71と同様にフォン
ト名、書体名、著作権、バージョンNo等を記述するため
のヘッダー部81と、第7図に示したメトリクス情報部
と同様にキャラクタコードや、文字、記号等の幅と高
さ、およびベースラインを示すメトリクスデータなどが
それぞれ記述された各メトリクス情報部82−1〜82
−nと、これらのメトリクス情報部82−1〜82−n
毎に配列された各圧縮データ部83−1〜83−nとか
らなり、各圧縮データ部83−1〜83−nには第7図
に示した各ビットマップ部73−1〜73−nに格納さ
れている各ビットマップフォントに対して圧縮処理を施
すことにより得られた各圧縮データがそれぞれ格納され
ている。
Accordingly, if there is data in a format including a plurality of bitmap fonts as shown in FIG. 7, data in a format as shown in FIG. 8 is created as a result of performing compression processing on this data. Thus, the data shown in FIG. 8 is stored in the memory. Here, the data in the format shown in FIG. 7 includes a header section 71 for describing a font name, a font name, a copyright, a version number, etc., and a plurality of metrics information sections 72-.
1 to 72-n, and these metrics information sections 72-1 to 72-n
Each bitmap section 73-1 to 73-7 arranged for each 72-n
3-n. Each metric information section 72-1 to 72
In -n, a character code for identifying a character, a symbol, and the like, a width and a height of the character, the symbol, and the like, and metric data indicating a baseline are described. In -n, bitmap fonts such as characters and symbols indicated by the character codes described in the immediately preceding metrics information section are stored. On the other hand, the data in the format shown in FIG. 8 includes a header section 81 for describing a font name, a font name, a copyright, a version number, etc., as in the header section 71 shown in FIG. Each of the metric information sections 82-1 to 82-2 in which a character code, width and height of characters, symbols, and the like, and metric data indicating a baseline are described in the same manner as the metric information section.
-N and these metrics information sections 82-1 to 82-n
Each of the compressed data sections 83-1 to 83-n includes a corresponding one of the bit map sections 73-1 to 73-n shown in FIG. Each compressed data obtained by performing a compression process on each bitmap font stored in.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の2つの方法のうちのいずれを利用するにしても、多
数のビットマップフォントを圧縮するに際し、各ビット
マップフォント毎に圧縮処理を施しており、よってビッ
トマップフォントの数に応じた記憶容量のメモリを必要
とするので、このため更に圧縮効率を向上させてメモリ
の記憶容量を節減することが望まれていた。
However, no matter which of the above two conventional methods is used, when a large number of bitmap fonts are compressed, compression processing is performed for each bitmap font. Therefore, since a memory having a storage capacity corresponding to the number of bitmap fonts is required, it has been desired to further improve the compression efficiency and reduce the storage capacity of the memory.

【0007】そこで、本発明は多数のビットマップフォ
ントに対する圧縮処理を施すに際し、更に良好な圧縮効
率を実現しうるビットマップフォントの圧縮装置を提供
することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a bitmap font compression apparatus which can realize better compression efficiency when performing compression processing on a large number of bitmap fonts.

【0008】[0008]

【課題を解決するための手段】本発明では複数のビット
マップフォントによって示されるそれぞれのパターンに
ついて対称であるか否かを判定手段にて判定し、ビット
マップフォント列形成手段は前記判定手段により対称で
あると判定されたパターンを示すビットマップフォント
から、前記パターンが対称であることに基づいて該パタ
ーンの再現をなしうる部分を抽出するとともに、前記判
定手段により対称でないと判定されたパターンを示すビ
ットマップフォント、および前記判定手段により対称で
あると判定されたパターンを示すビットマップフォント
から抽出した前記部分を配列してなるビットマップフォ
ント列を形成し、変換手段は前記ビットマップフォント
列を圧縮データに変換するようにしている。
According to the present invention, it is determined by a determining means whether or not each pattern represented by a plurality of bitmap fonts is symmetrical. The bitmap font string forming means is symmetrical by the determining means. And extracting a portion that can reproduce the pattern based on the symmetry of the pattern from the bitmap font indicating the pattern determined to be, and indicating the pattern determined to be non-symmetric by the determination unit. A bitmap font string is formed by arranging the bitmap font and the portion extracted from the bitmap font indicating the pattern determined to be symmetric by the determination means, and the conversion means compresses the bitmap font string. It is converted to data.

【0009】[0009]

【作用】本発明によれば、ビットマップフォント列形成
手段は対称でないパターンを示すビットマップフォン
ト、および対称であるパターンを示すビットマップフォ
ントから抽出した部分を配列してなるビットマップフォ
ント列を形成し、変換手段はこのビットマップフォント
列を圧縮データに変換するようにしている。ここで、対
称であるパターンを示すビットマップフォントに対して
圧縮処理を施すことにより得られる圧縮データと、この
対称であるパターンを示すビットマップフォントから抽
出された部分に対して圧縮処理を施すことにより得られ
る圧縮データとを比較すると、後者の圧縮データの方が
データ量が少ないといえる。また、複数のビットマップ
フォント毎に圧縮処理を施すよりも、これらのビットマ
ップフォントを配列して該各ビットマップフォントを一
度に圧縮した方がより良好な効率で圧縮を行うことがで
きる。したがって、本発明におけるビットマップフォン
ト列を圧縮して得られる圧縮データは、従来のように各
ビットマップフォント毎に圧縮処理を施して得られる圧
縮データと比較して、データ量が少なくなる。
According to the present invention, the bitmap font string forming means forms a bitmap font string indicating an asymmetric pattern and a bitmap font string formed by arranging portions extracted from the bitmap font indicating a symmetric pattern. The conversion means converts the bitmap font string into compressed data. Here, compressed data obtained by performing compression processing on a bitmap font indicating a symmetric pattern, and compression processing on a portion extracted from the bitmap font indicating the symmetric pattern are performed. In comparison with the compressed data obtained by the above, it can be said that the latter compressed data has a smaller data amount. Also, rather than performing compression processing for each of a plurality of bitmap fonts, it is possible to perform compression with higher efficiency by arranging these bitmap fonts and compressing the bitmap fonts at once. Therefore, the amount of compressed data obtained by compressing the bitmap font sequence in the present invention is smaller than that of the conventional compressed data obtained by performing a compression process for each bitmap font.

【0010】[0010]

【実施例】以下、本発明の実施例を添付図面を参照して
詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0011】第1図は本発明に係わる圧縮装置の一実施
例を示すブロック図である。同図において、入力装置1
には第7図に示したフォーマットのデータが入力され、
このデータは読込み部2で読取られ、演算部3に与えら
れる。
FIG. 1 is a block diagram showing an embodiment of a compression apparatus according to the present invention. In the figure, the input device 1
Is input with data in the format shown in FIG.
This data is read by the reading unit 2 and provided to the calculation unit 3.

【0012】演算部3は該データにおける各ビットマッ
プ部73−1〜73−nのビットマップフォントを得る
と、これらのビットマップフォントによって示されるそ
れぞれのパターンが左右対称であるか否かを逐次判定
し、各ビットマップフォント毎の判定結果を前記データ
と共に抽出部4に与える。
When the arithmetic section 3 obtains the bitmap fonts of the bitmap sections 73-1 to 73-n in the data, it sequentially determines whether or not each pattern indicated by these bitmap fonts is symmetrical. Judgment is made, and the judgment result for each bitmap font is provided to the extraction unit 4 together with the data.

【0013】抽出部4は各ビットマップフォントのうち
の左右対称であると判定されたビットマップフォントの
左部分を抽出して、この抽出されたビットマップフォン
トの左部分と左右対称でないと判定されたビットマップ
フォント全体とを順次配列してビットマップフォント列
を形成し、このビットマップフォント列を前記データに
含まれるヘッダー部71および各メトリクス情報部72
−1〜72−nと共に圧縮部5に与える。
The extraction unit 4 extracts the left part of the bitmap font determined to be symmetrical among the bitmap fonts, and determines that the left part of the extracted bitmap font is not symmetrical to the left part. The entire bitmap font is sequentially arranged to form a bitmap font row, and this bitmap font row is stored in the header section 71 and each metric information section 72 included in the data.
This is given to the compression unit 5 together with -1 to 72-n.

【0014】圧縮部5はビットマップフォント列に対す
る圧縮処理を施し、これにより得られた圧縮データをヘ
ッダー部71および各メトリクス情報部72−1〜72
−nと共にフォント格納メモリ6に格納する。
The compression section 5 performs a compression process on the bitmap font sequence, and compresses the obtained compressed data into a header section 71 and metrics information sections 72-1 to 72-1.
-N is stored in the font storage memory 6 together with -n.

【0015】演算部3によってなされるビットマップフ
ォントに対する処理、つまりビットマップフォントが左
右対称であるか否かの判定は第2図に示すフローチャー
トに従って行われる。
The processing performed on the bitmap font by the arithmetic unit 3, that is, whether or not the bitmap font is symmetrical, is performed according to the flowchart shown in FIG.

【0016】まず、演算部3は第7図に示したデータに
おけるビットマップ部73−1のビットマップフォント
を得ると、このビットマップフォントにおける行方向、
つまり水平方向のビット配列の数が2で割り切れるか否
かを判定する(ステップ101)。ここで、例えばビッ
トマップ部73−1のビットマップフォントが第3図に
示すようなものであり、このビットマップフォントに対
応する画素行列が第4図に示すように行方向16画素お
よび列方向16画素であるとすると、このビットマップ
フォントにおける行方向のビット配列の数“16”を2
で割り切れるので(ステップ101,YES )、次のステ
ップ103に進むこととなる。なお、ビットマップフォ
ントにおける行方向のビット配列の数が2で割り切れな
ければ(ステップ101,NO)、このビットマップフォ
ントによって示されるパターンは左右対称でないので、
ビットマップ部73−1のビットマップフォントについ
ての左右対称であるか否かを示すフラッグを値“0”に
して(ステップ102)、終了となる。
First, the arithmetic section 3 obtains the bitmap font of the bitmap section 73-1 in the data shown in FIG.
That is, it is determined whether or not the number of bit arrays in the horizontal direction is divisible by 2 (step 101). Here, for example, the bitmap font of the bitmap section 73-1 is as shown in FIG. 3, and the pixel matrix corresponding to this bitmap font is 16 pixels in the row direction and the column direction as shown in FIG. Assuming that there are 16 pixels, the number “16” of bit arrays in the row direction in this bitmap font is 2
(Step 101, YES), the process proceeds to the next step 103. If the number of bit arrays in the row direction in the bitmap font is not divisible by 2 (step 101, NO), the pattern indicated by this bitmap font is not symmetrical.
The flag indicating whether or not the bitmap font in the bitmap section 73-1 is symmetric is set to a value of "0" (step 102), and the process ends.

【0017】さて、ビットマップ部73−1のビットマ
ップフォントにおける行方向のビット配列の数“16”
が2で割り切れ、左部分と右部分に丁度分割できるので
(ステップ101,YES )、ビットマップフォントにお
ける行方向のビット位置を示す変数xを値“0”に初期
設定するとともに、ビットマップフォントにおける列方
向のビット位置を示す変数yを該ビットマップフォント
の高さ、つまり列方向のビット配列の数“16”に初期
設定する(ステップ103)。
The number of bit arrays in the row direction in the bitmap font of the bitmap section 73-1 is "16".
Is divisible by 2 and can be just divided into a left part and a right part (step 101, YES), so that a variable x indicating a bit position in the row direction in the bitmap font is initialized to a value “0”, and A variable y indicating a bit position in the column direction is initialized to the height of the bitmap font, that is, the number of bit arrays in the column direction "16" (step 103).

【0018】次に、ビットマップフォントの左部分にお
ける座標位置Iを座標位置(xの値,ビットマップフォ
ントの高さ“16”−yの値)、つまりビットマップフ
ォントの左上隅の座標位置(0,0)に設定する(ステ
ップ104)。また、ビットマップフォントの右部分に
おける座標位置rを座標位置((ビットマップフォント
の幅“16”−1)−xの値,ビットマップフォントの
高さ“16”−yの値)、つまりビットマップフォント
の右上隅の座標位置(15,0)に設定する(ステップ
105)。すなわち、座標位置Iおよび座標位置rはビ
ットマップフォントにおける第1行目のビット配列の最
も左側のビットおよび最も右側のビットをそれぞれ指示
している。
Next, the coordinate position I in the left part of the bitmap font is defined as the coordinate position (the value of x, the value of the height "16" -y of the bitmap font), that is, the coordinate position of the upper left corner of the bitmap font ( (0, 0) (step 104). Further, the coordinate position r in the right part of the bitmap font is represented by the coordinate position ((the value of (width of bitmap font "16" -1) -x, the value of height of bitmap font "16" -y)), The coordinate position (15, 0) at the upper right corner of the map font is set (step 105). That is, the coordinate position I and the coordinate position r indicate the leftmost bit and the rightmost bit of the bit array of the first row in the bitmap font, respectively.

【0019】こうして座標位置Iおよび座標位置rが求
められると、ビットマップフォントにおける座標位置I
のビットの値と座標位置rのビットの値とが一致するか
否かを判定する(ステップ106)。ここでは、第3図
に示すように座標位置I(0,0)のビットの値が
“0”で、座標位置r(15,0)のビットの値が
“0”であり、各座標位置の値が一致するので(ステッ
プ106,YES)、次のステップ107に進むこととな
る。なお、各座標位置の値が一致しなければ(ステッ
プ,106,NO)、このビットマップフォントによって
示されるパターンは左右対称でないので、フラッグを値
“0”にして(ステップ102)、終了となる。
When the coordinate position I and the coordinate position r are obtained in this manner, the coordinate position I in the bitmap font is obtained.
It is determined whether or not the value of the bit of the coordinate position r matches the value of the bit at the coordinate position r (step 106). Here, as shown in FIG. 3, the bit value of the coordinate position I (0,0) is “0”, the bit value of the coordinate position r (15,0) is “0”, and (Step 106, YES), the process proceeds to the next step 107. If the value of each coordinate position does not match (step, 106, NO), the pattern indicated by this bitmap font is not symmetrical, so the flag is set to a value of "0" (step 102), and the process is terminated. .

【0020】次に、(x+1)の値と、((ビットマッ
プフォントの幅“16”−1)−xの値)とが一致する
か否かを判定する(ステップ107)。ここでは、(x
+1)が値“1”で、((ビットマップフォントの幅
“16”−1)−xの値)が値“15”であって、各値
が一致しないので(ステップ107,NO)、xの値を
(x+1)=1に更新して(ステップ108)、ステッ
プ104からの処理に戻る。
Next, it is determined whether or not the value of (x + 1) is equal to ((the value of bitmap font width "16" -1) -x) (step 107). Here, (x
+1) is the value “1”, and ((the value of the bitmap font width “16” −1) −x) is the value “15”, and the values do not match (step 107, NO). Is updated to (x + 1) = 1 (step 108), and the process returns to step 104.

【0021】xの値を“1”に更新した場合、前記ステ
ップ104で求められる座標位置Iはビットマップフォ
ントにおける第1行目のビット配列の左側から2番目の
ビットを指示する座標位置(1,0)となり、前記ステ
ップ105で求められる座標位置rは第1行目のビット
配列の右側から2番目のビットを指示する座標位置(1
4,0)となる。そして、座標位置I(1,0)のビッ
トの値と、座標位置r(14,0)のビットの値とが一
致するか否かが判定され(ステップ106)、各座標位
置の値が一致すると、(x+1)と、((ビットマップ
フォントの幅“16”−1)−xの値)とが一致するか
否かが判定される(ステップ107)。これらの値が一
致しなければ、xの値を(x+1)=2に更新して(ス
テップ108)、ステップ104からの処理に戻ること
となる。
When the value of x is updated to "1", the coordinate position I obtained in step 104 is the coordinate position (1) indicating the second bit from the left of the bit array on the first line in the bitmap font. , 0), and the coordinate position r obtained in step 105 is the coordinate position (1) indicating the second bit from the right side of the bit array in the first row.
4,0). Then, it is determined whether or not the value of the bit at the coordinate position I (1, 0) matches the value of the bit at the coordinate position r (14, 0) (step 106). Then, it is determined whether or not (x + 1) matches ((the value of the width “16” -1) −x of the bitmap font) (step 107). If these values do not match, the value of x is updated to (x + 1) = 2 (step 108), and the process returns to step 104.

【0022】こうしてステップ104からステップ10
8までの処理を繰返す度に、ビットマップフォントにお
ける第1行目の左側からの各ビットの値と、同じ行の右
側からの各ビットの値とが1対ずつ選択され、1対の各
ビットの値が一致することを順次確認していく。そし
て、第1行目の左側最後(座標位置I(7,0))のビ
ットの値と右側最後(座標位置r(8,0))のビット
の値とが一致したときには(ステップ106,YES )、
(x+1)=8と、((ビットマップフォントの幅“1
6”−1)−xの値)=8とが一致するので(ステップ
107,YES )、次のステップ109に進むこととな
る。すなわち、第1行目の左側からの各ビットの値と、
同じ行の右側からの各ビットの値とのそれぞれの1対ず
つが全て一致することを確認できれば、次のステップ1
09に進む。
Thus, steps 104 to 10
Each time the processing up to 8 is repeated, a pair of the value of each bit from the left side of the first row and the value of each bit from the right side of the same row in the bitmap font are selected, and one pair of each bit Are checked sequentially. Then, when the value of the last bit on the left side (coordinate position I (7, 0)) of the first row matches the value of the last bit on the right side (coordinate position r (8, 0)) (step 106, YES) ),
(X + 1) = 8 and ((bitmap font width “1
6 "-1) -x) = 8 (step 107, YES), so that the process proceeds to the next step 109. That is, the value of each bit from the left side of the first row and
If it is possible to confirm that each pair of values of each bit from the right side of the same row all match, the next step 1
Go to 09.

【0023】なお、ビットマップフォントにおける第1
行目の左側からのビットの値と、同じ行の右側からのビ
ットの値とが1対でも一致しなければ(ステップ10
6,NO)、フラッグを値“0”に設定して(ステップ1
02)、終了となる。
It should be noted that the first in the bitmap font
If the value of the bit from the left side of the row and the value of the bit from the right side of the same row do not match even at least one pair (step 10)
6, NO), and set the flag to the value “0” (step 1).
02), the process ends.

【0024】前記ステップ109においては、xを初期
値と同様に値“0”に設定するとともに、yを初期値
“16”から値“1”を差引いた値“15”に設定す
る。そして、新たに設定されたyの値“15”が正の整
数であることを確認した後(ステップ110,YES )、
前記ステップ104に戻る。
In step 109, x is set to a value "0" similarly to the initial value, and y is set to a value "15" obtained by subtracting the value "1" from the initial value "16". Then, after confirming that the newly set value of y “15” is a positive integer (step 110, YES),
The process returns to step 104.

【0025】前記各ステップ109,110を介した後
は、座標位置I(xの値,ビットマップフォントの高さ
“16”−yの値)は、ビットマップフォントにおける
第2行目の最も左側の座標位置(0,1)に設定され
(ステップ104)、また座標位置r((ビットマップ
フォントの幅“16”−1)−xの値,ビットマップフ
ォントの高さ“16“−yの値)は、第2行目の最も右
側の座標位置(15,1)に設定される。
After the steps 109 and 110, the coordinate position I (the value of x, the value of the height “16” -y of the bitmap font) is changed to the leftmost position in the second line of the bitmap font. (Step 104), the value of the coordinate position r ((the width of the bitmap font "16" -1) -x, the height of the bitmap font "16" -y Value) is set to the rightmost coordinate position (15, 1) in the second row.

【0026】引続いて、座標位置I(0,1)のビット
の値と、座標位置r(15,1)のビットの値とが一致
することを確認し(ステップ106,YES )、さらに
(x+1)と、((ビットマップフォントの幅“16”
−1)−xの値)とが一致しないことを確認し(ステッ
プ107)、この後にxの値を(x+1)=1に更新し
て(ステップ108)、ステップ104からの処理に戻
る。
Subsequently, it is confirmed that the value of the bit at the coordinate position I (0, 1) matches the value of the bit at the coordinate position r (15, 1) (step 106, YES), and x + 1) and ((bitmap font width "16"
-1) -x) is not confirmed (step 107), after which the value of x is updated to (x + 1) = 1 (step 108), and the process returns to step 104.

【0027】こうしてステップ104からの処理を繰返
すことにより、ビットマップフォントにおける第2行目
の左側からの各ビットの値と、同じ行の右側からの各ビ
ットの値とを1対ずつ選択し、1対の各ビットの値が一
致することを順次確認していく。そして、第2行目の左
側最後のビットの値と右側最後のビットの値とが一致し
たときには(ステップ106,YES )、(x+1)=8
と、((ビットマップフォントの幅“16”−1)−x
の値)=8とが一致するので(ステップ107,YES
)、次の前記各ステップ109,110でyの値を更
新し、更新されたyの値が正の整数であることを確認し
てから前記ステップ104に戻る。
By repeating the processing from step 104 in this way, a pair of the value of each bit from the left side of the second row and the value of each bit from the right side of the same row in the bitmap font are selected, It is sequentially confirmed that the values of a pair of bits match. If the value of the last bit on the left side of the second row matches the value of the last bit on the right side (step 106, YES), (x + 1) = 8
And ((width of bitmap font "16" -1) -x
Is equal to 8 (step 107, YES).
), The value of y is updated in the following steps 109 and 110, and after confirming that the updated value of y is a positive integer, the process returns to step 104.

【0028】以降同様に、第3行目から第16行目まで
の各行毎に、左側からの各ビットの値と、同じ行の右側
からの各ビットの値とが1対ずつ選択され、1対の各ビ
ットの値が一致することを順次確認していく。ここで、
第16行目の左側最後(座標位置I(7,15))のビ
ットの値と右側最後(座標位置r(8,15))のビッ
トの値とが一致し(ステップ106,YES )、(x+
1)=8と、((ビットマップフォントの幅“16”−
1)−xの値)=8とが一致すると(ステップ107,
YES )、次のステップ109でyの値“0”が求められ
る。そして、このyの値“0”が正の整数でないと判定
されると(ステップ110,NO)、ビットマップフォン
トの全ての各行について前記ステップ104から前記ス
テップ108までの処理を終了したことになるので、フ
ラッグを値“1”にして(ステップ111)、終了とな
る。
Similarly, for each row from the third row to the sixteenth row, a pair of the value of each bit from the left side and the value of each bit from the right side of the same row are selected, and 1 It is sequentially confirmed that the values of each bit of the pair match. here,
The value of the last bit on the left side (coordinate position I (7, 15)) of the 16th row matches the value of the last bit on the right side (coordinate position r (8, 15)) (step 106, YES), ( x +
1) = 8, and (((width of bitmap font “16”) −
1) -x) = 8 (step 107,
YES), the value "0" of y is obtained in the next step 109. If it is determined that the value “0” of y is not a positive integer (step 110, NO), the processing from step 104 to step 108 has been completed for all the lines of the bitmap font. Therefore, the flag is set to the value "1" (step 111), and the processing is terminated.

【0029】このようにビットマップ部73−1のビッ
トマップフォントにおける各行毎に、左側からの各ビッ
トの値と、右側からの各ビットの値との1対ずつがそれ
ぞれ一致することを確認できれば、このビットマップフ
ォントによって示されるパターンは左右対称であり、こ
の場合にはフラッグが値“1”に設定される。
As described above, if it can be confirmed that a pair of the value of each bit from the left and the value of each bit from the right coincide with each other in each line in the bitmap font of the bitmap section 73-1. The pattern indicated by this bitmap font is bilaterally symmetric, in which case the flag is set to the value "1".

【0030】演算部3はビットマップ部73−1のビッ
トマップフォントによって示されるパターンが左右対称
であると判定して、このビットマップフォントについて
のフラッグを値“1”に設定すると、この値“1”のフ
ラッグをビットマップ部73−1に対応するメトリクス
情報部72−1に書込む。
When the arithmetic unit 3 determines that the pattern indicated by the bitmap font in the bitmap unit 73-1 is symmetric, and sets the flag for this bitmap font to a value "1", the value "1" The flag “1” is written in the metrics information section 72-1 corresponding to the bit map section 73-1.

【0031】以降同様に、演算部3は第7図に示したデ
ータにおける各ビットマップ部73−2〜73−nのビ
ットマップフォントに対して左右対称であるか否かの判
定を順次施し、ビットマップ部のビットマップフォント
によって示されるパターンが左右対称であれば該ビット
マップ部に対応するメトリクス情報部に値“1”のフラ
ッグを書込み、またビットマップ部のビットマップフォ
ントによって示されるパターンが左右対称でなければ該
ビットマップ部に対応するメトリクス情報部に値“0”
のフラッグを書込む。そして、演算部3は全ての各ビッ
トマップ部のビットマップフォントに対する判定を終了
すると、ヘッダー部71、値“1”または値“0”のフ
ラッグをそれぞれ書込んだ各メトリクス情報部72−1
〜72−n、および各メトリクス情報部72−1〜72
−n毎に配列された各ビットマップ部73−1〜73−
nを抽出部4に与える。
Similarly, the arithmetic unit 3 sequentially determines whether or not the bitmap fonts of the bitmap units 73-2 to 73-n in the data shown in FIG. 7 are bilaterally symmetric. If the pattern indicated by the bitmap font in the bitmap section is bilaterally symmetric, a flag having a value “1” is written in the metric information section corresponding to the bitmap section, and the pattern indicated by the bitmap font in the bitmap section is changed. If it is not symmetric, the value “0” is stored in the metrics information section corresponding to the bitmap section.
Write the flag. When the calculation unit 3 completes the determination on the bitmap fonts of all the bitmap units, the header unit 71 and each of the metrics information units 72-1 in which the flag of the value “1” or “0” is written, respectively.
To 72-n and each metric information section 72-1 to 72-72
−n bit map units 73-1 to 73-
n is given to the extraction unit 4.

【0032】抽出部4はヘッダー部71、各メトリクス
情報部72−1〜72−n、および各ビットマップ部7
3−1〜73−nを与えられると、これらのビットマッ
プ部のビットマップフォントを順次配列して、ビットマ
ップフォント列を形成する。このビットマップフォント
列を形成するに際し、抽出部4は各メトリクス情報部7
2−1〜72−nに書込まれている各フラッグの値を順
次確認して、メトリクス情報部内のフラッグが値“1”
であれば該メトリクス情報部に対応するビットマップ部
のビットマップフォントから左側半分のビットマップフ
ォント部分を抽出し、このビットマップフォント部分を
ビットマップフォント列に配列する。また、メトリクス
情報部内のフラッグが値“0”であれば該メトリクス情
報部に対応するビットマップ部のビットマップフォント
全体をビットマップフォント列に配列する。例えば、メ
トリクス情報部72−1内のフラッグが値“1”であれ
ば、このメトリクス情報部に対応するビットマップ部7
3−1のビットマップフォントから左側半分のビットマ
ップフォント部分を抽出し、このビットマップフォント
部分をビットマップフォント列に配列する。また、メト
リクス情報部72−2内のフラッグが値“0”であれ
ば、このメトリクス情報部に対応するビットマップ部7
3−2のビットマップフォント全体をビットマップフォ
ント列に配列する。つまり、ビットマップ部のビットマ
ップフォントによって示されるパターンが左右対称であ
れば、このビットマップフォントから左側半分のビット
マップフォント部分が抽出され、このビットマップフォ
ント部分がビットマップフォント列に配列される。ま
た、ビットマップ部のビットマップフォントによって示
されるパターンが左右対称でなければ、このビットマッ
プフォント全体がビットマップフォント列に配列され
る。
The extraction section 4 includes a header section 71, respective metric information sections 72-1 to 72-n, and a respective bit map section 7.
Given 3-1 to 73-n, the bitmap fonts of these bitmap sections are sequentially arranged to form a bitmap font sequence. When forming this bitmap font string, the extraction unit 4 uses each metric information unit 7
The value of each flag written in 2-1 to 72-n is sequentially checked, and the flag in the metrics information part is set to the value “1”.
If so, the left half bitmap font portion is extracted from the bitmap font of the bitmap portion corresponding to the metrics information portion, and this bitmap font portion is arranged in a bitmap font sequence. If the flag in the metric information section is a value “0”, the entire bitmap font of the bitmap section corresponding to the metric information section is arranged in a bitmap font sequence. For example, if the flag in the metric information section 72-1 is “1”, the bitmap section 7 corresponding to this metric information section
The left half bitmap font portion is extracted from the bitmap font 3-1 and the bitmap font portion is arranged in a bitmap font row. If the flag in the metrics information section 72-2 is “0”, the bitmap section 7 corresponding to this metrics information section
The entire bitmap font of 3-2 is arranged in a bitmap font row. That is, if the pattern indicated by the bitmap font in the bitmap portion is symmetrical, the left half bitmap font portion is extracted from this bitmap font, and this bitmap font portion is arranged in a bitmap font column. . If the pattern indicated by the bitmap font in the bitmap section is not symmetric, the entire bitmap font is arranged in a bitmap font row.

【0033】こうして形成されるビットマップフォント
列は例えば第5図に示すようなものとなる。このビット
マップフォント列においては、左右対称である文字
「A」を示すビットマップフォントから抽出された左側
半分のビットマップフォント部分が最初に配列され、引
続いて左右対称でない文字「E」を示すビットマップフ
ォント全体が配列され、更に引続いて左右対称である文
字「H」を示すビットマップフォントから抽出された左
側半分のビットマップフォント部分が配列されている。
以降同様に、左右対称であるパターンを示すビットマッ
プフォントについてはビットマップフォントから抽出さ
れた左側半分のビットマップフォント部分のみが配列さ
れ、左右対称でないパターンを示すビットマップフォン
トについてはビットマップフォント全体が配列される。
The bitmap font string thus formed is as shown in FIG. 5, for example. In this bitmap font sequence, the left half of the bitmap font portion extracted from the bitmap font indicating the symmetrical character "A" is arranged first, followed by the non-symmetrical character "E". The entire bitmap font is arranged, and subsequently, the left half bitmap font portion extracted from the bitmap font indicating the character “H” that is symmetrical left and right is arranged.
Similarly, for a bitmap font indicating a symmetric pattern, only the left half bitmap font portion extracted from the bitmap font is arranged, and for a bitmap font indicating a non-symmetric pattern, the entire bitmap font is displayed. Are arranged.

【0034】こうして形成されたビットマップフォント
列はヘッダー部71および各メトリクス情報部72−1
〜72−nと共に抽出部4から圧縮部5へと伝達され
る。圧縮部5はビットマップフォント列に対する圧縮処
理を施し、これにより圧縮データを形成する。そして、
圧縮部5は圧縮データ、ヘッダー部71および各メトリ
クス情報部72−1〜72−nからなる第6図に示すよ
うなフォーマットの格納用データを形成し、この格納用
データをフォント格納メモリ6に格納する。
The bitmap font string formed in this manner is stored in the header section 71 and each metric information section 72-1.
Are transmitted from the extraction unit 4 to the compression unit 5 together with .about.72-n. The compression unit 5 performs compression processing on the bitmap font sequence, thereby forming compressed data. And
The compression section 5 forms storage data in a format as shown in FIG. 6 comprising compressed data, a header section 71 and each of the metrics information sections 72-1 to 72-n, and stores the storage data in the font storage memory 6. Store.

【0035】なお、圧縮処理としてはビットマップフォ
ント列の各行毎にビットパターンを圧縮する1次元符号
化方式を適用してもよいし、またビットマップフォント
列の行列方向のビットパターンを圧縮する2次元符号化
方式を適用してもよく、どのような方式であっても構わ
ない。
As the compression processing, a one-dimensional encoding method for compressing a bit pattern for each row of a bitmap font sequence may be applied, or a bit pattern in the matrix direction of the bitmap font sequence may be compressed. A dimensional coding method may be applied, and any method may be used.

【0036】このように本実施例では複数のビットマッ
プフォント毎に、ビットマップフォントによって示され
るパターンが左右対称であるか否を判定して、左右対称
であると判定されたパターンを示すビットマップフォン
トから左側半分のビットマップフォント部分を抽出し、
抽出された左側半分のビットマップフォント部分、左右
対称でないと判定されたパターンを示すビットマップフ
ォント全体を順次配列してなるビットマップフォント列
を形成し、このビットマップフォント列に対して圧縮処
理を施して、これにより得られる圧縮データを記憶する
ようにしている。ここで、ビットマップフォント全体を
圧縮した圧縮データと、このビットマップフォントの左
側半分を圧縮した圧縮データを比較すると、後者の圧縮
データの方がデータ量が少ないのは明らかである。ま
た、複数のビットマップフォントを別々に圧縮すること
と、複数のビットマップフォントを配列してなるビット
マップフォント列を1度に圧縮することを比較すると、
後者の方が無駄のない圧縮を行えるので、ビットマップ
フォント列を1度に圧縮して得られる圧縮データの量が
少ないことは明らかである。したがって、本実施例にお
けるビットマップフォント列を圧縮することは良好な効
率でデータを圧縮することであって、これにより得られ
る圧縮データの量は従来例と比較して少なく、このため
圧縮データを記憶するメモリの容量を節減することがで
きる。
As described above, in this embodiment, for each of a plurality of bitmap fonts, it is determined whether the pattern indicated by the bitmap font is symmetrical, and the bitmap indicating the pattern determined to be symmetrical is determined. Extract the left half bitmap font part from the font,
A bitmap font sequence is formed by sequentially arranging the extracted bitmap font portion of the left half and the entire bitmap font indicating a pattern determined to be not symmetrical, and compression processing is performed on the bitmap font sequence. And stores the resulting compressed data. Here, when comparing the compressed data obtained by compressing the entire bitmap font with the compressed data obtained by compressing the left half of the bitmap font, it is clear that the latter compressed data has a smaller data amount. In addition, comparing the compression of a plurality of bitmap fonts separately with the compression of a bitmap font sequence formed by arranging a plurality of bitmap fonts at one time,
Since the latter can perform compression without waste, it is clear that the amount of compressed data obtained by compressing the bitmap font sequence at one time is small. Therefore, compressing the bitmap font sequence in the present embodiment is to compress the data with good efficiency, and the amount of compressed data obtained by this is smaller than that of the conventional example. The capacity of the memory for storage can be reduced.

【0037】なお、上記実施例では左右対称のパターン
を示すビットマップフォントの左側半分を抽出している
が、これに限定されるものでなく、上下対称のパターン
を示すビットマップフォントを判定し、このビットマッ
プフォントの上側および下側のうちのいずれか半分を抽
出し、そのビットマップフォント部分をビットマップフ
ォント列に配列するようにしてもよい。
In the above embodiment, the left half of the bitmap font indicating a symmetric pattern is extracted. However, the present invention is not limited to this, and a bitmap font indicating a vertically symmetric pattern is determined. Either half of the upper and lower sides of the bitmap font may be extracted, and the bitmap font portion may be arranged in a bitmap font row.

【0038】ところで、フォント格納メモリ6に格納さ
れている第6図に示したフォーマットのデータに基づい
て各ビットマップフォントを再生する場合は、まず圧縮
データを復号化してビットマップフォント列を形成し、
このビットマップフォント列の先頭からビットマップフ
ォントを1つずつ再生していく。つまり、各メトリクス
情報部72−1〜72−nのうちの先頭のメトリクス情
報72−1を選択して、このメトリクス情報部から左右
対称であるか否かを示すフラッグを読出し、フラッグが
値“1”であって、左右対称のパターンであることを示
していれば、ビットマップフォントの左側半分に該当す
るビットマップフォント部分をビットマップフォント列
の先頭から切出して、切出したビットマップフォント部
分によって示される左側半分のパターン部分から右側半
分のパターン部分を生成し、元のパターンを示すビット
マップフォント全体を再生する。引続いて、次のメトリ
クス情報72−2から左右対称であるか否かを示すフラ
ッグを読出し、フラッグが値“0”であって、左右対称
のパターンでないこと示していれば、ビットマップフォ
ント全体をビットマップフォント列から切出し、そのビ
ットマップフォント全体を再生する。以降同様に、値
“1”のフラッグがメトリクス情報部に記述されていれ
ば、ビットマップフォント部分をビットマップフォント
列から切出して、切出したビットマップフォント部分に
基づいてビットマップフォント全体を再生し、また値
“0”のフラッグがメトリクス情報部に記述されていれ
ば、ビットマップフォント全体をビットマップフォント
列から切出す。
When reproducing each bitmap font based on the data of the format shown in FIG. 6 stored in the font storage memory 6, first, the compressed data is decoded to form a bitmap font sequence. ,
The bitmap fonts are reproduced one by one from the beginning of the bitmap font sequence. That is, the metric information section 72-1 at the head of the metric information sections 72-1 to 72-n is selected, a flag indicating whether the metric information section is symmetrical is read from the metric information section, and the flag is set to the value " If it is 1 "and indicates a symmetrical pattern, a bitmap font portion corresponding to the left half of the bitmap font is cut out from the beginning of the bitmap font row, and The right half pattern portion is generated from the left half pattern portion shown, and the entire bitmap font showing the original pattern is reproduced. Subsequently, a flag indicating whether or not the pattern is symmetrical is read from the next metrics information 72-2. If the flag is “0” and indicates that the pattern is not a symmetrical pattern, the entire bitmap font is read. Is extracted from the bitmap font sequence, and the entire bitmap font is reproduced. Similarly, if the flag of value “1” is described in the metrics information section, the bitmap font portion is cut out from the bitmap font sequence, and the entire bitmap font is reproduced based on the cutout bitmap font portion. If the flag of value "0" is described in the metrics information section, the entire bitmap font is cut out from the bitmap font sequence.

【0039】[0039]

【発明の効果】以上説明したように本発明によれば、対
称でないパターンを示すビットマップフォント、および
対称であるパターンを示すビットマップフォントから抽
出された部分を配列してなるビットマップフォント列を
形成し、このビットマップフォント列を圧縮データに変
換するようにしているので、多数のビットマップフォン
トを良好な効率で圧縮して圧縮データに変換することが
できる。
As described above, according to the present invention, a bitmap font string indicating an unsymmetrical pattern and a bitmap font string formed by arranging portions extracted from the bitmap font indicating a symmetrical pattern are formed. Since the bitmap font string is formed and converted into compressed data, a large number of bitmap fonts can be compressed with good efficiency and converted into compressed data.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明に係わる圧縮装置の一実施例を示すブ
ロック図。
FIG. 1 is a block diagram showing an embodiment of a compression device according to the present invention.

【図2】 第1図に示した実施例装置における演算部に
よる処理を説明するために用いられたフローチャート。
FIG. 2 is a flowchart used to explain processing by a calculation unit in the embodiment apparatus shown in FIG. 1;

【図3】 ビットマップフォントの一例を示す図。FIG. 3 is a diagram illustrating an example of a bitmap font.

【図4】 第3図に示したビットマップフォントに対応
する画素行列を示す図。
FIG. 4 is a view showing a pixel matrix corresponding to the bitmap font shown in FIG. 3;

【図5】 第1図に示した実施例装置において形成され
たビットマップフォント列を例示する図。
FIG. 5 is a view exemplifying a bitmap font string formed in the embodiment apparatus shown in FIG. 1;

【図6】 第1図に示した実施例装置におけるフォント
格納メモリに格納されるデータのフォーマットを示す
図。
FIG. 6 is a view showing a format of data stored in a font storage memory in the apparatus of the embodiment shown in FIG. 1;

【図7】 複数のビットマップフォントを含むデータの
フォーマットを例示する図。
FIG. 7 is a view exemplifying a format of data including a plurality of bitmap fonts.

【図8】 第7図に示した複数のビットマップフォント
を従来の方法により圧縮した場合に得られるデータのフ
ォーマットを示す図。
8 is a view showing a format of data obtained when a plurality of bitmap fonts shown in FIG. 7 are compressed by a conventional method.

【符号の説明】[Explanation of symbols]

1…入力装置、2…読込み部、3…演算部、4…抽出
部、5…圧縮部、6…フォント格納メモリ。
DESCRIPTION OF SYMBOLS 1 ... Input device, 2 ... Read part, 3 ... Operation part, 4 ... Extraction part, 5 ... Compression part, 6 ... Font storage memory.

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06T 1/00 G06T 9/00 - 9/40 H04N 1/411 - 1/419 G09G 5/24 B41J 2/485Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06T 1/00 G06T 9/00-9/40 H04N 1/411-1/419 G09G 5/24 B41J 2/485

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】それぞれのパターンを示す複数のビットマ
ップフォントを圧縮データに変換するビットマップフォ
ントの圧縮装置において、 前記各ビットマップフォントによって示されるそれぞれ
のパターンについて対称であるか否かを判定する判定手
段と、 前記判定手段により対称であると判定されたパターンを
示すビットマップフォントから、前記パターンが対称で
あることに基づいて該パターンの再現をなしうる部分を
抽出するとともに、前記判定手段により対称でないと判
定されたパターンを示すビットマップフォント、および
前記判定手段により対称であると判定されたパターンを
示すビットマップフォントから抽出した前記部分を配列
してなるビットマップフォント列を形成するビットマッ
プフォント列形成手段と、 前記ビットマップフォント列を圧縮データに変換する変
換手段とを備えたことを特徴とするビットマップフォン
トの圧縮装置。
1. A bitmap font compression apparatus for converting a plurality of bitmap fonts indicating respective patterns into compressed data, wherein it is determined whether or not each pattern indicated by each of the bitmap fonts is symmetric. Judging means, and extracting, from the bitmap font indicating the pattern determined to be symmetric by the judging means, a portion capable of reproducing the pattern based on the symmetry of the pattern, A bitmap font indicating a pattern determined to be not symmetrical, and a bitmap forming a bitmap font sequence formed by arranging the portions extracted from the bitmap font indicating the pattern determined to be symmetrical by the determination means Font string forming means, and the bit Bitmap fonts compression apparatus characterized by comprising a conversion means for converting the Ppufonto column to compressed data.
JP3165838A 1991-07-05 1991-07-05 Bitmap font compression device Expired - Lifetime JP2833268B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3165838A JP2833268B2 (en) 1991-07-05 1991-07-05 Bitmap font compression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3165838A JP2833268B2 (en) 1991-07-05 1991-07-05 Bitmap font compression device

Publications (2)

Publication Number Publication Date
JPH0512426A JPH0512426A (en) 1993-01-22
JP2833268B2 true JP2833268B2 (en) 1998-12-09

Family

ID=15819964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3165838A Expired - Lifetime JP2833268B2 (en) 1991-07-05 1991-07-05 Bitmap font compression device

Country Status (1)

Country Link
JP (1) JP2833268B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5421739B2 (en) * 2009-11-19 2014-02-19 株式会社日立国際電気 Moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding method

Also Published As

Publication number Publication date
JPH0512426A (en) 1993-01-22

Similar Documents

Publication Publication Date Title
US6031938A (en) Image encoding apparatus with selective Markov and predictive coding
US4546385A (en) Data compression method for graphics images
JP2940496B2 (en) Pattern matching encoding apparatus and method
US4959868A (en) Image processing system
JP2968582B2 (en) Method and apparatus for processing digital data
JPH03119486A (en) Method of compressing information included in entered form for storage or transfer
US6519365B2 (en) Encoder, decoder, recording medium, encoding method, and decoding method
US5056154A (en) Text image data compression system
JPH03165181A (en) High quality compression method of binary text picture
JPH10143604A (en) Device for extracting pattern
WO2010064486A1 (en) Image processing apparatus, image processing method and program
JP3076201B2 (en) Image data expansion method
CN112118449A (en) Method and device for compressing and decompressing image
JP2833268B2 (en) Bitmap font compression device
JPH11308465A (en) Encoding method for color image, encoder therefor, decoding method for color image and decoder therefor
US4926266A (en) Method of decoding in run representation
JP2644477B2 (en) Image processing method
JPH0656618B2 (en) Image information character / graphic separation method
JP4260908B2 (en) Run-length encoding method and image processing apparatus
JP3213012B2 (en) Image data encoding and decoding method
TW457464B (en) 2D image compression method and the compression device
JP2601169B2 (en) Image data compression coding system
JP2505402B2 (en) Image processing device
JP2505401B2 (en) Image processing device
JP2679098B2 (en) Encoding processing device for contour detection image