[go: up one dir, main page]

JP4010386B2 - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP4010386B2
JP4010386B2 JP29816399A JP29816399A JP4010386B2 JP 4010386 B2 JP4010386 B2 JP 4010386B2 JP 29816399 A JP29816399 A JP 29816399A JP 29816399 A JP29816399 A JP 29816399A JP 4010386 B2 JP4010386 B2 JP 4010386B2
Authority
JP
Japan
Prior art keywords
data
image
vector
memory
rotation
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 - Fee Related
Application number
JP29816399A
Other languages
Japanese (ja)
Other versions
JP2001119560A (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.)
Canon Finetech Nisca Inc
Original Assignee
Canon Finetech Nisca Inc
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 Canon Finetech Nisca Inc filed Critical Canon Finetech Nisca Inc
Priority to JP29816399A priority Critical patent/JP4010386B2/en
Publication of JP2001119560A publication Critical patent/JP2001119560A/en
Application granted granted Critical
Publication of JP4010386B2 publication Critical patent/JP4010386B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)
  • Storing Facsimile Image Data (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、プロッタ、プリンタ等の画像形成装置における画像処理に関するものである。
【0002】
【従来の技術】
いわゆるラスタプリンタにおいては、600dpiの解像度でA4サイズ1ページで、約4Mバイトのラスタイメージデータ用メモリが必要になる。これが、大判の印字用紙を扱えるプロッタにおいてA0サイズになれば、16倍の約64Mバイトのラスタイメージデータ用メモリが必要になる。カラー印字にいたっては、さらに4倍の約256Mバイトのラスタイメージデータ用メモリが必要になってしまう。この方法は、一般的にフルビットマップ方式と呼ばれている。
【0003】
別の従来技術として、インクジェット方式のプリンタ、プロッタにおいては、ヘッドが複数回走査することで画像部分(バンド)毎に順次印字していくバンディング方式がある。この方式では、ヘッドの1走査分の画像部分(バンド)に相当する容量のメモリに順次ラスタイメージデータを展開していく。この場合は、1ページ分のフレームメモリを必要とせず、ヘッドのノズル数とバンドの横幅の長さで決まる容量の部分的なフレームメモリで足りる。600dpiの解像度かつカラーでヘッドのノズル数が160ノズルの場合、およそ2Mバイトのフレームメモリがあればよい。本発明の実施では、この方式にて画像処理を行っている。
【0004】
バンディング方式では、フレームメモリの他に、ベクトルデータやラスタイメージデータ解析後の中間的な画像データを記憶するデータ記憶メモリが必要となる。この中間的な画像データをDL(ディスプレイリスト)と呼び、このデータを記録するメモリ(領域)をDLメモリと呼ぶ。ベクトルデータとラスタイメージデータがすべてDLメモリに入りきれば、画像欠損は生じない。
【0005】
【発明が解決しようとする課題】
ところで、プロッタ等で大判の印字用紙を用いる場合、用紙に無駄が生じないように縦長の画像を横長にして印字を行うことがある。このような場合には、画像を90゜回転させる回転処理を施す必要がある。その際、画像がベクトルデータの場合は、座標値を変更するだけなのでメモリを圧迫することはないが、ラスタイメージデータの場合は、ラスタイメージデータの幅×高さ分の作業用メモリ領域が必要となってくる。この作業用メモリ領域が不足したまま回転処理を行うと、ラスタイメージデータの回転処理時にメモリが足りなくなって画像欠損を生じるという問題があった。
【0006】
従来、取り扱う画像データがベクトルデータのみの場合にはこのような問題は生じなかったが、近年、ベクトルデータに対して、例えば写真画像のようなラスタイメージデータを混在させた画像データを扱うようになって、この問題が顕在化してきた。
【0007】
本発明は、このような問題を解消するために、入力データの解析の結果からメモリ容量上、ラスタイメージデータの回転処理が可能か否かの判断を行うことにより画像欠損を生じなくした、信頼性の高い画像形成装置を提供することを目的とするものである。
【0008】
【課題を解決するための手段】
本発明による画像形成装置は、外部から入力される画像データに基づいて画像を形成する画像形成装置において、入力画像データを解析するデータ解析手段と、該データ解析手段の解析結果データを記憶するデータ記憶領域を含むメモリと、前記解析結果データに回転処理を施す回転処理手段と、前記解析結果データに基づいて、画像の一部であるバンド単位に印字イメージを展開するフレームメモリ手段と、該フレームメモリ手段に展開された印字イメージに基づいてバンド単位に画像を形成する印字手段と、前記データ解析手段の解析結果に基づいて、当該画像の回転に必要な作業用メモリ容量を含む、当該画像印字に要するメモリ消費量を求めるメモリ消費量算出手段と、該求められたメモリ消費量を前記メモリの空き容量と比較して、前記画像の回転が実行可能か否かを判定する判定手段と、該判定手段により画像の回転が実行可能でないと判定された場合に前記画像の回転を抑止する回転抑止手段とを備えたものである。
【0009】
この発明によれば、ラスタイメージデータを回転させることが可能か否かを入力画像データの解析時に判別することができる。したがって無駄なデータ(後述するDL)生成をすることがなくなり回転ができなくなったときの処理時間のロスを防げる。また、データ欠損も防げる。
【0010】
前記画像データはベクトルデータおよびラスタイメージデータを含み、前記メモリ消費量算出手段は、ベクトルデータに基づくメモリ消費量と、ラスタイメージデータに基づくメモリ消費量とを別個に求める。
【0011】
例えば、ベクトルデータについて、前記メモリ消費量算出手段は、1ベクトル当たり予め定められた固定値のベクトル実体データ量をベクトル数分累積した値と、各ベクトルがまたがるバンド数に基づいて得られるポインタデータ量をベクトル数分累積した値との和により、前記ベクトルデータに基づくメモリ消費量を算出する。
【0012】
また、ラスタイメージデータについて、前記メモリ消費量算出手段は、各ラスタイメージデータの非圧縮データサイズを累積した値と、最大サイズのラスタイメージデータのライン数および横幅に基づく作業データ量との和により、前記ラスタイメージデータに基づくメモリ消費量を算出する。
【0013】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を参照して詳細に説明する。ここでは、複数のノズルを用紙搬送方向に配列したヘッドを用紙搬送方向とほぼ直角の方向に走査することにより、1回の走査で1バンドの画像を形成するインクジェット画像記録装置を例として説明する。
【0014】
図1は本実施の形態の画像形成装置の構成を示すブロック図である。図1中、11は装置全体の動作を制御するCPU、12はフレームメモリおよびDLメモリの他、CPU11の作業領域およびデータの一時記憶領域として利用されるRAMである。13は画像形成装置を駆動するためのプログラムやデータが書き込まれているROMであり、CPU11により使用される。14は外部のコンピュータ端末装置等(図示せず)と接続するためのインタフェース部であり、これを介してベクトルデータやベクトル修飾情報データなどのプロッタ記述言語データが転送されてくる。15はマンマシンインタフェースのための表示を行うLCD表示装置、16は画像形成装置の各種設定を選択するためのキー操作部である。17は画像形成装置の印字部、18はCPU11と他の各要素とを接続するシステムバスである。
【0015】
図2に、本実施の形態における、入力データ受信から印字までの概略処理フローを示す。
【0016】
まず、外部から入力データ(ベクトルデータ)を受信し(S21)、この受信したデータに対してプロッタ記述言語のフォーマットにしたがってデータ解析を行う(S22)。このデータ解析手段を一般にインタープリタ呼んでいる。解析後、ベクトルデータは、各ベクトルの始点、終点、線幅、色等の情報を中間ファイルとしてRAM12に記憶される。ラスタイメージデータは、圧縮されてRAM12に記憶される(S23)。これらの処理は印字開始データの解析終了まで行われる(S24)。
【0017】
印字開始コマンドを受信した後、画像の回転可否判定および回転処理が行われる(S25)。このステップの詳細については後述する。
【0018】
その後、今まで中間ファイルとして記憶されてきたRAM12からバンドごとにディスプレイリスト(DL)生成が行われる(S26)。DL生成とは、画像がどのバンドからどのバンドまであるのか、および、どのような画像なのかをバンドごとにRAM12に記憶していくことである。DL生成が終了すると、1バンド目からDL生成で記憶されているデータに基づいてベクトルデータをラスタイメージデータに変換したり、圧縮されたラスタイメージデータを解凍するVRC処理が行われる(S27)。このVRC処理では、記録に適した印字データを図1のRAM12(フレームメモリ)に展開する。このフレームメモリの印字データに基づいて、実際の印字動作が実行される(S28)。
【0019】
図3は、図2のフロー内の1ステップである中間ファイル作成(S23)の処理例を示すフローチャートである。
【0020】
先のデータ解析の結果、与えられた処理対象がベクトルデータかラスタイメージデータかを調べる(S231)。ベクトルデータの場合、そのベクトルの始点、終点座標値が算出される(S232)。このベクトルをDLへ登録するときに必要となるサイズ(DLでのメモリ消費量)を算出して記憶しておく(S233)。この登録は、あるベクトルが最初に出現するバンドにおいて、そのベクトルの実体データを記憶するものである。さらに、始点、終点間のベクトルが何個のバンドにまたがるか(バンド数)を算出する(S234)。実体データの他に実体を指し示すポインタサイズ分のメモリが必要になるため、このバンド数に基づいて、DLでのメモリ消費量を算出して記憶しておく(S235)。そして、中間ファイルに始点、終点情報を記憶する(S236)。
【0021】
S233でのメモリ消費量の算出方法は、本実施の形態では、DLにベクトルの実体データを登録するのに、1ベクトル当たり14バイト必要なので、
【0022】
ベクトル実体データのDLサイズ += 14 ・・・(1)
となる。ここに、記号”+=”は、式の左辺の変数の現在値に右辺の値を足し込む(累積する)演算を表す。
【0023】
S235でのメモリ消費量の算出方法は、本実施の形態では、1ポインタのサイズが4バイト必要なので、
【0024】
バンド間にまたがるDLサイズ += (4*(またがるバンド数−1))・・・ (2)
【0025】
先のステップS231において、処理対象がラスタイメージデータであった場合、データ解析の結果、ラスタイメージデータについては、非圧縮時のデータ量を次式のように加算していく(S237)。
【0026】
回転時必要な非圧縮時のデータサイズ += 非圧縮データサイズ・・(3)
【0027】
さらに、このときの入力されたラスタイメージデータのライン数と横幅のサイズを次式により算出し記憶しておく。これは、ラスタイメージデータの回転処理に必要な作業用のメモリ容量である。
【0028】
回転時に必要なコピーエリアサイズ = ライン数×横幅 ・・・(4)
【0029】
なお、1ページの印刷対象画像中に複数個のラスタイメージが複数存在する場合には、回転時に必要なコピーエリアサイズはその最大面積のものとする。
【0030】
その後、周知のパックビッツ等の方式による圧縮処理にて、ラスタイメージデータを圧縮して(S239)、中間ファイルに記憶する(S236)。
【0031】
図4は、図2のフロー内に示した1ステップである「回転可否判定&回転」処理の詳細を示すフローチャートである。
【0032】
回転可否判定に当たって、まず、先に登録した中間ファイルを読み込む(S251)。そこで、回転要求があるか否かを調べる(S252)。回転要求がなければ本処理を終了する。
【0033】
回転要求があれば、回転時に必要となるメモリ容量を算出する(S253)。ラスタイメージデータを回転させるときに必要なメモリ容量は、前記(1)式、(2)式、(3)式、(4)式の総和である。この総和と現在残っているメモリ容量を比較する(S254)。空きメモリ容量があれば、データの欠損なくしてラスタイメージデータの回転を行うことが可能であるので、回転処理を行う(S255)。
【0034】
空きメモリ容量がないときは、回転をしてもいずれデータの欠損があきらかに生じることがこの判定にて認識できる。この場合、回転処理を行わずに、そのままDL生成(S26)へ進む。但し、ユーザに対して、空きメモリ容量不足のために回転を行わない旨のメッセージを文字表示やインジケータランプ点灯等により出力してもよい(S256)。
【0035】
図5は、本実施の形態にあたっての実際のベクトルデータを解析してDL展開される様子を説明するための図である。この例では、ベクトル1とベクトル2が画像データであり、ベクトル1はバンド1からバンド3にかけてまたがり、ベクトル2はバンド3からバンド7へかけてまたがっている。したがって、ベクトル1のバンド数は3、ベクトル2のバンド数は5である。
【0036】
図5の画像データに対して作成されるDLの例を図6に示す。
【0037】
この例では、ベクトル1はバンド1で最初に出現するので、DLのバンド1においてベクトル1の実体データが登録される。そのバイト数は14である。ベクトル1はバンド2、3にまたがっているので、DLのバンド2、3にはベクトル1へのポインタが登録される。そのバイト数はそれぞれ4バイトである。同様に、ベクトル3はバンド3で最初に出現するので、DLのバンド3においてベクトル3の実体データが登録される。したがって、DLのバンド3における合計のメモリ消費量は18バイトとなる。ベクトル2は後続のバンド7にまでまたがるので、DLのバンド4〜7の各々にはついては、ベクトル2へのポインタの4バイトが消費される。ここでは、極めて簡単な例を示したが、実際の画像データではさらに複雑なDLの内容となる。しかし、基本的な構造は図7に示したとおりである。
【0038】
本実施の形態では、ラスタイメージの回転が必要な場合、DL生成を行う前にメモリ容量上、ラスタイメージの回転が可能か否かを判別することができる。したがって、無駄なDL生成をすることがなくなり回転できないことが判明したときの処理時間のロスを防げる。また、DLのデータ欠損も防げる。
【0039】
以上、本発明の好適な実施の形態について説明したが、発明の要旨を逸脱することなく、種々の変形、変更が可能である。
【0040】
【発明の効果】
本発明によれば、ラスタイメージデータの回転処理時にメモリ容量が足りなくなって印字がされないという問題を解消するために、入力画像データのデータ解析時にラスタイメージデータの回転処理が可能か否かの判断を行うことにより、画像欠損を生じなくさせた、信頼性の高い画像形成装置を提供することができる。
【図面の簡単な説明】
【図1】本発明による画像形成装置の構成例を示すブロック図である。
【図2】図1の画像形成装置の入力データ受信から印字までの処理フローを示すフローチャートである。
【図3】図2のフロー内の1ステップである中間ファイル作成(S23)の処理例を示すフローチャートである。
【図4】図2のフロー内に示した1ステップである「回転可否判定&回転」処理の詳細を示すフローチャートである。
【図5】本発明の実施の形態にあたっての実際のベクトルデータを解析してDL展開される様子を説明するための図である。
【図6】図5に示した画像例におけるDL生成時のメモリ使用状態を示す図である。
【符号の説明】
11 CPU
12…RAM
13…ROM
14…インターフェース
15…液晶表示装置
16…キー操作部
17…印字部
18…システムバス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to image processing in an image forming apparatus such as a plotter or a printer.
[0002]
[Prior art]
In a so-called raster printer, a memory for raster image data of about 4 Mbytes is required for one A4 size page at a resolution of 600 dpi. If this becomes A0 size in a plotter that can handle large-format printing paper, a raster image data memory of about 64 Mbytes, which is 16 times larger, is required. For color printing, a raster image data memory of about 256 Mbytes, which is four times as much, is required. This method is generally called a full bit map method.
[0003]
As another conventional technique, in an ink jet printer and plotter, there is a banding method in which a head sequentially scans each image portion (band) by scanning a plurality of times. In this method, raster image data is successively developed in a memory having a capacity corresponding to an image portion (band) for one scan of the head. In this case, a frame memory for one page is not required, and a partial frame memory having a capacity determined by the number of nozzles of the head and the width of the band is sufficient. When the resolution is 600 dpi and color and the number of nozzles of the head is 160 nozzles, a frame memory of about 2 Mbytes is sufficient. In the embodiment of the present invention, image processing is performed by this method.
[0004]
In the banding method, in addition to the frame memory, a data storage memory for storing intermediate image data after analysis of vector data and raster image data is required. This intermediate image data is called a DL (display list), and a memory (area) for recording this data is called a DL memory. If all the vector data and raster image data can be stored in the DL memory, no image loss occurs.
[0005]
[Problems to be solved by the invention]
By the way, when using large-sized printing paper with a plotter or the like, printing may be performed with a vertically long image being horizontally long so as not to waste the paper. In such a case, it is necessary to perform a rotation process for rotating the image by 90 °. At that time, if the image is vector data, the coordinate value is only changed, so there is no pressure on the memory. However, in the case of raster image data, a working memory area for the width x height of the raster image data is required. It becomes. If the rotation process is performed while the working memory area is insufficient, there is a problem that the memory becomes insufficient during the rotation process of the raster image data, resulting in an image loss.
[0006]
Conventionally, such a problem has not occurred when the image data to be handled is only vector data. However, in recent years, image data in which raster image data such as a photographic image is mixed with vector data has been handled. This problem has become apparent.
[0007]
In order to solve such a problem, the present invention eliminates the occurrence of image loss by determining whether or not raster image data can be rotated on the memory capacity from the result of analysis of input data. An object of the present invention is to provide an image forming apparatus having high performance.
[0008]
[Means for Solving the Problems]
An image forming apparatus according to the present invention includes a data analysis unit that analyzes input image data and data that stores analysis result data of the data analysis unit in an image forming apparatus that forms an image based on image data input from the outside. A memory including a storage area; a rotation processing unit that performs a rotation process on the analysis result data; a frame memory unit that develops a print image in a band unit that is a part of an image based on the analysis result data; The image printing including a printing unit for forming an image in band units based on the print image developed in the memory unit, and a working memory capacity necessary for rotation of the image based on the analysis result of the data analysis unit A memory consumption calculating means for obtaining a memory consumption required for the memory, and comparing the obtained memory consumption with a free capacity of the memory. A determination unit that determines whether or not rotation of the image is executable; and a rotation suppression unit that suppresses rotation of the image when the determination unit determines that rotation of the image is not executable. is there.
[0009]
According to the present invention, it is possible to determine whether or not raster image data can be rotated when analyzing input image data. Therefore, useless data (DL described later) is not generated, and loss of processing time when rotation cannot be performed can be prevented. Data loss can also be prevented.
[0010]
The image data includes vector data and raster image data, and the memory consumption calculation means separately obtains a memory consumption based on the vector data and a memory consumption based on the raster image data.
[0011]
For example, for vector data, the memory consumption calculating means obtains pointer data obtained based on a value obtained by accumulating a predetermined amount of vector entity data amount per vector for the number of vectors and the number of bands spanned by each vector. The memory consumption based on the vector data is calculated by the sum of the amount accumulated for the number of vectors.
[0012]
For raster image data, the memory consumption calculation means calculates the sum of the value obtained by accumulating the uncompressed data size of each raster image data and the amount of work data based on the number of lines and the width of the raster image data of the maximum size. The memory consumption based on the raster image data is calculated.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Here, an ink jet image recording apparatus that forms an image of one band by one scan by scanning a head in which a plurality of nozzles are arranged in the paper transport direction in a direction substantially perpendicular to the paper transport direction will be described as an example. .
[0014]
FIG. 1 is a block diagram showing the configuration of the image forming apparatus according to the present embodiment. In FIG. 1, 11 is a CPU for controlling the operation of the entire apparatus, 12 is a RAM used as a work area for the CPU 11 and a temporary data storage area in addition to a frame memory and a DL memory. A ROM 13 stores a program and data for driving the image forming apparatus, and is used by the CPU 11. Reference numeral 14 denotes an interface unit for connecting to an external computer terminal device or the like (not shown), through which plotter description language data such as vector data and vector modification information data is transferred. Reference numeral 15 denotes an LCD display device for performing display for a man-machine interface, and 16 denotes a key operation unit for selecting various settings of the image forming apparatus. Reference numeral 17 denotes a printing unit of the image forming apparatus, and 18 denotes a system bus that connects the CPU 11 and other elements.
[0015]
FIG. 2 shows a schematic processing flow from input data reception to printing in the present embodiment.
[0016]
First, input data (vector data) is received from the outside (S21), and data analysis is performed on the received data according to the format of the plotter description language (S22). Commonly referred to as the interpreter of this data analysis means. After the analysis, the vector data is stored in the RAM 12 as information on the start point, end point, line width, color, etc. of each vector as an intermediate file. The raster image data is compressed and stored in the RAM 12 (S23). These processes are performed until the analysis of the print start data is completed (S24).
[0017]
After receiving the print start command, image rotation permission determination and rotation processing are performed (S25). Details of this step will be described later.
[0018]
Thereafter, a display list (DL) is generated for each band from the RAM 12 stored as an intermediate file until now (S26). The DL generation is to store the band from which band to which band and what kind of image the RAM 12 stores for each band. When DL generation is completed, VRC processing for converting vector data into raster image data based on data stored in DL generation from the first band and decompressing compressed raster image data is performed (S27). In this VRC process, print data suitable for recording is developed in the RAM 12 (frame memory) in FIG. Based on the print data in the frame memory, an actual print operation is executed (S28).
[0019]
FIG. 3 is a flowchart showing a processing example of intermediate file creation (S23), which is one step in the flow of FIG.
[0020]
As a result of the previous data analysis, it is checked whether the given processing target is vector data or raster image data (S231). In the case of vector data, the start point and end point coordinate values of the vector are calculated (S232). The size (memory consumption in the DL) required for registering this vector in the DL is calculated and stored (S233). This registration is to store the substance data of a vector in a band in which a vector first appears. Further, how many bands (number of bands) the vector between the start point and end point spans is calculated (S234). Since the memory for the pointer size indicating the entity is required in addition to the entity data, the memory consumption amount in the DL is calculated and stored based on the number of bands (S235). Then, the start point and end point information is stored in the intermediate file (S236).
[0021]
In the present embodiment, the memory consumption calculation method in S233 requires 14 bytes per vector to register vector entity data in the DL.
[0022]
DL size of vector entity data + = 14 (1)
It becomes. Here, the symbol “+ =” represents an operation of adding (accumulating) the value on the right side to the current value of the variable on the left side of the expression.
[0023]
In the present embodiment, the memory consumption calculation method in S235 requires 4 bytes for the size of one pointer.
[0024]
DL size spanning between bands + = (4 * (number of bands spanning -1)) (2)
[0025]
If the processing target is raster image data in the previous step S231, the data amount at the time of non-compression is added to the raster image data as a result of the data analysis as shown in the following equation (S237).
[0026]
Uncompressed data size required for rotation + = Uncompressed data size (3)
[0027]
Further, the number of lines and the width size of the input raster image data at this time are calculated and stored according to the following equations. This is a working memory capacity necessary for the rotation processing of the raster image data.
[0028]
Copy area size required for rotation = Number of lines x Width (4)
[0029]
If there are a plurality of raster images in one page of the print target image, the copy area size required for rotation is the maximum area.
[0030]
Thereafter, the raster image data is compressed by a compression process using a well-known method such as pack bits (S239) and stored in an intermediate file (S236).
[0031]
FIG. 4 is a flowchart showing details of the “rotation availability determination & rotation” process which is one step shown in the flow of FIG.
[0032]
In determining whether rotation is possible, first, the previously registered intermediate file is read (S251). Therefore, it is checked whether there is a rotation request (S252). If there is no rotation request, this process is terminated.
[0033]
If there is a rotation request, the memory capacity required at the time of rotation is calculated (S253). The memory capacity required when rotating the raster image data is the sum of the expressions (1), (2), (3), and (4). This total is compared with the remaining memory capacity (S254). If there is free memory capacity, it is possible to rotate the raster image data without losing data, so the rotation process is performed (S255).
[0034]
If there is no free memory capacity, it can be recognized by this determination that data loss will occur anyway even after rotation. In this case, the process proceeds to DL generation (S26) without performing the rotation process. However, a message indicating that rotation is not performed due to insufficient free memory capacity may be output to the user by character display, indicator lamp lighting, or the like (S256).
[0035]
FIG. 5 is a diagram for explaining a state in which actual vector data in the present embodiment is analyzed and DL expansion is performed. In this example, vector 1 and vector 2 are image data, vector 1 extends from band 1 to band 3, and vector 2 extends from band 3 to band 7. Therefore, the number of bands of vector 1 is 3, and the number of bands of vector 2 is 5.
[0036]
An example of a DL created for the image data in FIG. 5 is shown in FIG.
[0037]
In this example, since vector 1 first appears in band 1, entity data of vector 1 is registered in band 1 of DL. The number of bytes is 14. Since vector 1 spans bands 2 and 3, a pointer to vector 1 is registered in bands 2 and 3 of DL. The number of bytes is 4 bytes each. Similarly, since vector 3 first appears in band 3, entity data of vector 3 is registered in band 3 of DL. Therefore, the total memory consumption in DL band 3 is 18 bytes. Since vector 2 extends to subsequent band 7, for each of bands 4-7 of DL, 4 bytes of pointer to vector 2 are consumed. Although an extremely simple example has been shown here, the actual image data has a more complicated DL content. However, the basic structure is as shown in FIG.
[0038]
In this embodiment, when the rotation of the raster image is necessary, it is possible to determine whether or not the raster image can be rotated in terms of memory capacity before performing DL generation. Therefore, it is possible to prevent a loss of processing time when it is determined that the rotation cannot be performed without generating unnecessary DL. DL data loss can also be prevented.
[0039]
The preferred embodiment of the present invention has been described above, but various modifications and changes can be made without departing from the spirit of the invention.
[0040]
【The invention's effect】
According to the present invention, in order to solve the problem that printing is not performed due to insufficient memory capacity at the time of raster image data rotation processing, it is determined whether or not raster image data rotation processing is possible at the time of data analysis of input image data. By performing the above, it is possible to provide a highly reliable image forming apparatus that does not cause image defects.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of an image forming apparatus according to the present invention.
2 is a flowchart showing a processing flow from input data reception to printing in the image forming apparatus of FIG. 1;
3 is a flowchart showing an example of processing of intermediate file creation (S23), which is one step in the flow of FIG.
4 is a flowchart showing details of a “rotation availability determination & rotation” process that is one step shown in the flow of FIG. 2;
FIG. 5 is a diagram for explaining a state in which actual vector data is analyzed and DL expansion is performed in the embodiment of the present invention.
6 is a diagram showing a memory usage state at the time of DL generation in the image example shown in FIG. 5. FIG.
[Explanation of symbols]
11 CPU
12 ... RAM
13 ... ROM
DESCRIPTION OF SYMBOLS 14 ... Interface 15 ... Liquid crystal display device 16 ... Key operation part 17 ... Printing part 18 ... System bus

Claims (1)

外部から入力されるベクトルデータおよびラスタイメージデータを含む画像データに基づいて画像を形成する画像形成装置において、
入力画像データを解析するデータ解析手段と、
該データ解析手段の解析結果データを記憶するデータ記憶領域を含むメモリと、
前記解析結果データに回転処理を施す回転処理手段と、
前記解析結果データに基づいて、画像の一部であるバンド単位に印字イメージを展開するフレームメモリ手段と、
該フレームメモリ手段に展開された印字イメージに基づいてバンド単位に画像を形成する印字手段と、
前記データ解析手段の解析結果に基づいて、当該画像の回転に必要な作業用メモリ容量を含む、当該画像印字に要するメモリ消費量を求めるメモリ消費量算出手段と、
該求められたメモリ消費量を前記メモリの空き容量と比較して、前記画像の回転が実行可能か否かを判定する判定手段と、
該判定手段により画像の回転が実行可能でないと判定された場合に前記画像の回転を抑止する回転抑止手段とを備え
前記メモリ消費量算出手段は、
ベクトルデータに基づくメモリ消費量と、ラスタイメージデータに基づくメモリ消費量とを別個に求め、
ベクトルデータについては、1ベクトル当たり予め定められた固定値のベクトル実体データ量をベクトル数分累積した値と、各ベクトルがまたがるバンド数に基づいて得られるポインタデータ量をベクトル数分累積した値との和により、前記ベクトルデータに基づくメモリ消費量を算出し、
ラスタイメージデータについては、各ラスタイメージデータの非圧縮データサイズを累積した値と、最大サイズのラスタイメージデータのライン数および横幅に基づく作業データ量との和により、前記ラスタイメージデータに基づくメモリ消費量を算出する
ことを特徴とする画像形成装置。
In an image forming apparatus for forming an image based on image data including vector data and raster image data input from the outside,
Data analysis means for analyzing input image data;
A memory including a data storage area for storing analysis result data of the data analysis means;
Rotation processing means for performing rotation processing on the analysis result data;
Based on the analysis result data, frame memory means for developing a print image in band units that are part of the image;
Printing means for forming an image in band units based on the print image developed in the frame memory means;
A memory consumption calculating means for determining a memory consumption required for the image printing, including a working memory capacity necessary for the rotation of the image, based on an analysis result of the data analyzing means;
Determining means for comparing the determined memory consumption with the free space of the memory to determine whether or not the rotation of the image can be executed;
And a rotation inhibiting means for inhibiting the rotation of the image when it is determined that the rotation of the image is not executable by said determining means,
The memory consumption calculation means
Separately calculate memory consumption based on vector data and memory consumption based on raster image data,
For vector data, a value obtained by accumulating a predetermined fixed amount of vector entity data per vector for the number of vectors, and a value obtained by accumulating pointer data amounts obtained based on the number of bands spanned by each vector for the number of vectors, To calculate the memory consumption based on the vector data,
For raster image data, the memory consumption based on the raster image data is calculated by adding the accumulated uncompressed data size of each raster image data and the amount of work data based on the number of lines and the width of the raster image data of the maximum size. Calculate quantity
An image forming apparatus.
JP29816399A 1999-10-20 1999-10-20 Image forming apparatus Expired - Fee Related JP4010386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29816399A JP4010386B2 (en) 1999-10-20 1999-10-20 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29816399A JP4010386B2 (en) 1999-10-20 1999-10-20 Image forming apparatus

Publications (2)

Publication Number Publication Date
JP2001119560A JP2001119560A (en) 2001-04-27
JP4010386B2 true JP4010386B2 (en) 2007-11-21

Family

ID=17856024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29816399A Expired - Fee Related JP4010386B2 (en) 1999-10-20 1999-10-20 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP4010386B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5040505B2 (en) 2007-07-31 2012-10-03 ブラザー工業株式会社 Print data creation apparatus, method and program
JP4998257B2 (en) * 2007-12-28 2012-08-15 ブラザー工業株式会社 Image reading device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182505A (en) * 1993-12-24 1995-07-21 Toppan Printing Co Ltd Image rotating device for printing
JP3772407B2 (en) * 1996-09-10 2006-05-10 富士ゼロックス株式会社 Image processing device

Also Published As

Publication number Publication date
JP2001119560A (en) 2001-04-27

Similar Documents

Publication Publication Date Title
EP2093708B1 (en) Rendering apparatus, rendering method, and storage medium
US6734989B2 (en) Image output apparatus and method
JP2010140459A (en) Program, print data conversion device, and computer-readable recording medium
JPH10301736A (en) Printing system, error information management method in printing system, and computer-readable recording medium recording error information management control program in printing system
JP6447564B2 (en) Image forming apparatus, program, and information processing system
JP2610993B2 (en) Information processing apparatus and method
US20030228184A1 (en) Image processor, image processing method, and computer product
US6621588B1 (en) Output control method and apparatus, and output system
JP4010386B2 (en) Image forming apparatus
JPH08186724A (en) Color picture printing system
US5291308A (en) Image processing apparatus using tonal degree conversion
JP2000168170A (en) Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same
JP2737883B2 (en) Output control device
JPH09188011A (en) Storage unit management device and storage unit management method
JP2006159458A (en) Image output device
JPH10171612A (en) Picture processor and compression processing method
JP2000011161A (en) Image processor
JP2002127512A (en) Imaging apparatus and imaging method
JP2004030262A (en) Image processor
JPH11203064A (en) Device and method for processing image and program storage medium
JP2001146048A (en) Printer control device, printer control method and recording medium having printer control program recorded thereon
JPH0980733A (en) Plate making system
JP2001331287A (en) Picture processor and picture processing method
JP2000118056A (en) Printing system
JP2000255131A (en) Image printing apparatus and method, and memory medium storing program readable by computer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070614

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070806

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070829

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070829

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110914

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120914

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees