[go: up one dir, main page]

JP2001119560A - Image forming device - Google Patents

Image forming device

Info

Publication number
JP2001119560A
JP2001119560A JP29816399A JP29816399A JP2001119560A JP 2001119560 A JP2001119560 A JP 2001119560A JP 29816399 A JP29816399 A JP 29816399A JP 29816399 A JP29816399 A JP 29816399A JP 2001119560 A JP2001119560 A JP 2001119560A
Authority
JP
Japan
Prior art keywords
data
image
memory
image data
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.)
Granted
Application number
JP29816399A
Other languages
Japanese (ja)
Other versions
JP4010386B2 (en
Inventor
Hitoshi Sato
仁 佐藤
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
Copyer 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 Copyer Co Ltd filed Critical Copyer Co Ltd
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

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image forming device that prevents occurrence of image defects by discriminating whether or not rotation processing of raster image data is possible from the standpoint of a memory capacity depending on the result of analysis of input data. SOLUTION: In the case that received image data include raster image data and the rotation of the raster image data is required, a memory consumption capacity required for printing out the image data including a work memory capacity required for rotating the image data is obtained at the analysis of the received image data. Comparing the obtained memory consumed capacity with an idle capacity of the memory discriminates whether or not the rotation of the image data is executable. When the discrimination indicates that the rotation of the image data cannot be executed, the rotation of the image data is stopped.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、プロッタ、プリ
ンタ等の画像形成装置における画像処理に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to image processing in an image forming apparatus such as a plotter and a printer.

【0002】[0002]

【従来の技術】いわゆるラスタプリンタにおいては、6
00dpiの解像度でA4サイズ1ページで、約4Mバ
イトのラスタイメージデータ用メモリが必要になる。こ
れが、大判の印字用紙を扱えるプロッタにおいてA0サ
イズになれば、16倍の約64Mバイトのラスタイメー
ジデータ用メモリが必要になる。カラー印字にいたって
は、さらに4倍の約256Mバイトのラスタイメージデ
ータ用メモリが必要になってしまう。この方法は、一般
的にフルビットマップ方式と呼ばれている。
2. Description of the Related Art In a so-called raster printer, 6
About 4 Mbytes of raster image data memory is required for one page of A4 size at a resolution of 00 dpi. If this becomes A0 size in a plotter that can handle large-sized 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 larger, is required. This method is generally called a full bitmap method.

【0003】別の従来技術として、インクジェット方式
のプリンタ、プロッタにおいては、ヘッドが複数回走査
することで画像部分(バンド)毎に順次印字していくバ
ンディング方式がある。この方式では、ヘッドの1走査
分の画像部分(バンド)に相当する容量のメモリに順次
ラスタイメージデータを展開していく。この場合は、1
ページ分のフレームメモリを必要とせず、ヘッドのノズ
ル数とバンドの横幅の長さで決まる容量の部分的なフレ
ームメモリで足りる。600dpiの解像度かつカラー
でヘッドのノズル数が160ノズルの場合、およそ2M
バイトのフレームメモリがあればよい。本発明の実施で
は、この方式にて画像処理を行っている。
As another prior art, there is a banding system in which an ink jet printer or plotter sequentially prints for each image portion (band) by scanning a plurality of times by a head. In this method, raster image data is sequentially developed in a memory having a capacity corresponding to an image portion (band) for one scan of the head. In this case, 1
A partial frame memory having a capacity determined by the number of nozzles of the head and the width of the band is sufficient without requiring a frame memory for a page. When the resolution is 600 dpi, the color is 160 colors, and the number of head nozzles is 160, approximately 2M
All that is needed is a byte frame memory. In the embodiment of the present invention, image processing is performed by this method.

【0004】バンディング方式では、フレームメモリの
他に、ベクトルデータやラスタイメージデータ解析後の
中間的な画像データを記憶するデータ記憶メモリが必要
となる。この中間的な画像データをDL(ディスプレイ
リスト)と呼び、このデータを記録するメモリ(領域)
をDLメモリと呼ぶ。ベクトルデータとラスタイメージ
データがすべてDLメモリに入りきれば、画像欠損は生
じない。
The banding method requires a data storage memory for storing vector data and intermediate image data after raster image data analysis, in addition to the frame memory. This intermediate image data is called 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】[0005]

【発明が解決しようとする課題】ところで、プロッタ等
で大判の印字用紙を用いる場合、用紙に無駄が生じない
ように縦長の画像を横長にして印字を行うことがある。
このような場合には、画像を90゜回転させる回転処理
を施す必要がある。その際、画像がベクトルデータの場
合は、座標値を変更するだけなのでメモリを圧迫するこ
とはないが、ラスタイメージデータの場合は、ラスタイ
メージデータの幅×高さ分の作業用メモリ領域が必要と
なってくる。この作業用メモリ領域が不足したまま回転
処理を行うと、ラスタイメージデータの回転処理時にメ
モリが足りなくなって画像欠損を生じるという問題があ
った。
When a large-size printing paper is used with a plotter or the like, printing may be performed by making a vertically long image 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 this time, if the image is vector data, it only changes the coordinate value, so there is no pressure on the memory, but if it is raster image data, a working memory area of the width × 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 at the time of the rotation process of the raster image data, resulting in image loss.

【0006】従来、取り扱う画像データがベクトルデー
タのみの場合にはこのような問題は生じなかったが、近
年、ベクトルデータに対して、例えば写真画像のような
ラスタイメージデータを混在させた画像データを扱うよ
うになって、この問題が顕在化してきた。
Conventionally, such a problem did not occur when only image data to be handled was 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 used. This problem has become apparent as we deal with it.

【0007】本発明は、このような問題を解消するため
に、入力データの解析の結果からメモリ容量上、ラスタ
イメージデータの回転処理が可能か否かの判断を行うこ
とにより画像欠損を生じなくした、信頼性の高い画像形
成装置を提供することを目的とするものである。
In order to solve such a problem, the present invention determines whether or not the rotation processing of raster image data is possible due to the memory capacity based on the result of analysis of input data, thereby preventing image loss. It is another object of the present invention to provide a highly reliable image forming apparatus.

【0008】[0008]

【課題を解決するための手段】本発明による画像形成装
置は、外部から入力される画像データに基づいて画像を
形成する画像形成装置において、入力画像データを解析
するデータ解析手段と、該データ解析手段の解析結果デ
ータを記憶するデータ記憶領域を含むメモリと、前記解
析結果データに回転処理を施す回転処理手段と、前記解
析結果データに基づいて、画像の一部であるバンド単位
に印字イメージを展開するフレームメモリ手段と、該フ
レームメモリ手段に展開された印字イメージに基づいて
バンド単位に画像を形成する印字手段と、前記データ解
析手段の解析結果に基づいて、当該画像の回転に必要な
作業用メモリ容量を含む、当該画像印字に要するメモリ
消費量を求めるメモリ消費量算出手段と、該求められた
メモリ消費量を前記メモリの空き容量と比較して、前記
画像の回転が実行可能か否かを判定する判定手段と、該
判定手段により画像の回転が実行可能でないと判定され
た場合に前記画像の回転を抑止する回転抑止手段とを備
えたものである。
According to the present invention, there is provided an image forming apparatus for forming an image based on image data input from the outside, comprising: a data analyzing means for analyzing input image data; A memory including a data storage area for storing analysis result data of the means, rotation processing means for performing a rotation process on the analysis result data, and a print image for each band which is a part of an image based on the analysis result data Frame memory means for developing, printing means for forming an image in band units based on the print image developed in the frame memory means, and work necessary for rotating the image based on the analysis result of the data analyzing means Memory consumption calculating means for calculating the memory consumption required for the image printing including the memory capacity for Determining means for determining whether or not the rotation of the image can be executed by comparing with the free space of the memory; and suppressing rotation of the image when the determination means determines that the rotation of the image is not executable. And rotation suppression means.

【0009】この発明によれば、ラスタイメージデータ
を回転させることが可能か否かを入力画像データの解析
時に判別することができる。したがって無駄なデータ
(後述するDL)生成をすることがなくなり回転ができ
なくなったときの処理時間のロスを防げる。また、デー
タ欠損も防げる。
According to the present invention, it is possible to determine whether or not the raster image data can be rotated when analyzing the input image data. Therefore, unnecessary data (DL described later) is not generated, and loss of processing time when rotation cannot be performed can be prevented. Also, data loss can be prevented.

【0010】前記画像データはベクトルデータおよびラ
スタイメージデータを含み、前記メモリ消費量算出手段
は、ベクトルデータに基づくメモリ消費量と、ラスタイ
メージデータに基づくメモリ消費量とを別個に求める。
The image data includes vector data and raster image data, and the memory consumption calculating means separately calculates a memory consumption based on the vector data and a memory consumption based on the raster image data.

【0011】例えば、ベクトルデータについて、前記メ
モリ消費量算出手段は、1ベクトル当たり予め定められ
た固定値のベクトル実体データ量をベクトル数分累積し
た値と、各ベクトルがまたがるバンド数に基づいて得ら
れるポインタデータ量をベクトル数分累積した値との和
により、前記ベクトルデータに基づくメモリ消費量を算
出する。
For example, with respect to vector data, the memory consumption calculating means obtains a vector value based on a value obtained by accumulating a predetermined fixed-value vector entity data amount for each vector by the number of vectors and the number of bands over each vector. The amount of memory consumption based on the vector data is calculated by the sum of the pointer data amount obtained and the value accumulated for the number of vectors.

【0012】また、ラスタイメージデータについて、前
記メモリ消費量算出手段は、各ラスタイメージデータの
非圧縮データサイズを累積した値と、最大サイズのラス
タイメージデータのライン数および横幅に基づく作業デ
ータ量との和により、前記ラスタイメージデータに基づ
くメモリ消費量を算出する。
[0012] For the raster image data, the memory consumption calculating means calculates a value obtained by accumulating the uncompressed data size of each raster image data, a work data amount based on the number of lines and the width of the maximum size raster image data. , The memory consumption based on the raster image data is calculated.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照して詳細に説明する。ここでは、複数の
ノズルを用紙搬送方向に配列したヘッドを用紙搬送方向
とほぼ直角の方向に走査することにより、1回の走査で
1バンドの画像を形成するインクジェット画像記録装置
を例として説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings. Here, an ink jet image recording apparatus that forms a one-band image by one scan by scanning a head having a plurality of nozzles arranged in the paper transport direction in a direction substantially perpendicular to the paper transport direction will be described as an example. .

【0014】図1は本実施の形態の画像形成装置の構成
を示すブロック図である。図1中、11は装置全体の動
作を制御するCPU、12はフレームメモリおよびDL
メモリの他、CPU11の作業領域およびデータの一時
記憶領域として利用されるRAMである。13は画像形
成装置を駆動するためのプログラムやデータが書き込ま
れているROMであり、CPU11により使用される。
14は外部のコンピュータ端末装置等(図示せず)と接
続するためのインタフェース部であり、これを介してベ
クトルデータやベクトル修飾情報データなどのプロッタ
記述言語データが転送されてくる。15はマンマシンイ
ンタフェースのための表示を行うLCD表示装置、16
は画像形成装置の各種設定を選択するためのキー操作部
である。17は画像形成装置の印字部、18はCPU1
1と他の各要素とを接続するシステムバスである。
FIG. 1 is a block diagram showing the configuration of the image forming apparatus according to the present embodiment. In FIG. 1, reference numeral 11 denotes a CPU for controlling the operation of the entire apparatus, and 12 denotes a frame memory and a DL.
In addition to the memory, the RAM is used as a work area for the CPU 11 and a temporary storage area for data. A ROM 13 stores programs 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.
A key operation unit for selecting various settings of the image forming apparatus. 17 is a printing unit of the image forming apparatus, 18 is a CPU 1
This is a system bus that connects 1 to other elements.

【0015】図2に、本実施の形態における、入力デー
タ受信から印字までの概略処理フローを示す。
FIG. 2 shows a schematic processing flow from input data reception to printing in the present embodiment.

【0016】まず、外部から入力データ(ベクトルデー
タ)を受信し(S21)、この受信したデータに対して
プロッタ記述言語のフォーマットにしたがってデータ解
析を行う(S22)。このデータ解析手段を一般にイン
タープリタを呼んでいる。解析後、ベクトルデータは、
各ベクトルの始点、終点、線幅、色等の情報を中間ファ
イルとしてRAM12に記憶される。ラスタイメージデ
ータは、圧縮されてRAM12に記憶される(S2
3)。これらの処理は印字開始データの解析終了まで行
われる(S24)。
First, input data (vector data) is received from outside (S21), and data analysis is performed on the received data in accordance with a format of a plotter description language (S22). This data analysis means is generally called an interpreter. After analysis, the vector data is
Information such as the start point, end point, line width, and color of each vector is stored in the RAM 12 as an intermediate file. The raster image data is compressed and stored in the RAM 12 (S2
3). These processes are performed until the analysis of the print start data is completed (S24).

【0017】印字開始コマンドを受信した後、画像の回
転可否判定および回転処理が行われる(S25)。この
ステップの詳細については後述する。
After receiving the print start command, the image rotation is determined and the rotation process is performed (S25). Details of this step will be described later.

【0018】その後、今まで中間ファイルとして記憶さ
れてきたRAM12からバンドごとにディスプレイリス
ト(DL)生成が行われる(S26)。DL生成とは、
画像がどのバンドからどのバンドまであるのか、およ
び、どのような画像なのかをバンドごとにRAM12に
記憶していくことである。DL生成が終了すると、1バ
ンド目からDL生成で記憶されているデータに基づいて
ベクトルデータをラスタイメージデータに変換したり、
圧縮されたラスタイメージデータを解凍するVRC処理
が行われる(S27)。このVRC処理では、記録に適
した印字データを図1のRAM12(フレームメモリ)
に展開する。このフレームメモリの印字データに基づい
て、実際の印字動作が実行される(S28)。
Thereafter, a display list (DL) is generated for each band from the RAM 12 stored as an intermediate file (S26). What is DL generation?
This is to store in the RAM 12 the band from which band the image is, and what kind of image the band is. When the DL generation is completed, the vector data is converted into raster image data based on the data stored in the DL generation from the first band,
VRC processing for decompressing the compressed raster image data is performed (S27). In this VRC processing, print data suitable for recording is stored in the RAM 12 (frame memory) of FIG.
Expand to An actual printing operation is executed based on the print data in the frame memory (S28).

【0019】図3は、図2のフロー内の1ステップであ
る中間ファイル作成(S23)の処理例を示すフローチ
ャートである。
FIG. 3 is a flowchart showing an example of the process of creating an intermediate file (S23), which is one step in the flow of FIG.

【0020】先のデータ解析の結果、与えられた処理対
象がベクトルデータかラスタイメージデータかを調べる
(S231)。ベクトルデータの場合、そのベクトルの
始点、終点座標値が算出される(S232)。このベク
トルをDLへ登録するときに必要となるサイズ(DLで
のメモリ消費量)を算出して記憶しておく(S23
3)。この登録は、あるベクトルが最初に出現するバン
ドにおいて、そのベクトルの実体データを記憶するもの
である。さらに、始点、終点間のベクトルが何個のバン
ドにまたがるか(バンド数)を算出する(S234)。
実体データの他に実体を指し示すポインタサイズ分のメ
モリが必要になるため、このバンド数に基づいて、DL
でのメモリ消費量を算出して記憶しておく(S23
5)。そして、中間ファイルに始点、終点情報を記憶す
る(S236)。
As a result of the 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 when registering this vector in the DL is calculated and stored (S23).
3). This registration stores the entity data of a vector in a band where the vector first appears. Further, how many bands (the number of bands) the vector between the start point and the end point spans is calculated (S234).
In addition to the entity data, a memory for a pointer size indicating the entity is required.
Is calculated and stored (S23).
5). Then, the start point and end point information is stored in the intermediate file (S236).

【0021】S233でのメモリ消費量の算出方法は、
本実施の形態では、DLにベクトルの実体データを登録
するのに、1ベクトル当たり14バイト必要なので、
The method of calculating the memory consumption in S233 is as follows.
In the present embodiment, since registering vector entity data in DL requires 14 bytes per vector,

【0022】 ベクトル実体データのDLサイズ += 14 ・・・(1) となる。ここに、記号”+=”は、式の左辺の変数の現
在値に右辺の値を足し込む(累積する)演算を表す。
The DL size of the vector entity data + = 14 (1) 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 equation.

【0023】S235でのメモリ消費量の算出方法は、
本実施の形態では、1ポインタのサイズが4バイト必要
なので、
The method of calculating the memory consumption in S235 is as follows.
In the present embodiment, since the size of one pointer requires 4 bytes,

【0024】 バンド間にまたがるDLサイズ += (4*(またがるバンド数−1)) ・・・ (2)DL size straddling between bands + = (4 * (number of straddling bands−1)) (2)

【0025】先のステップS231において、処理対象
がラスタイメージデータであった場合、データ解析の結
果、ラスタイメージデータについては、非圧縮時のデー
タ量を次式のように加算していく(S237)。
In step S231, if the processing target is raster image data, as a result of the data analysis, the uncompressed data amount of the raster image data is added as in the following equation (S237). .

【0026】 回転時必要な非圧縮時のデータサイズ += 非圧縮データサイズ・・(3)Uncompressed data size required for rotation + = uncompressed data size (3)

【0027】さらに、このときの入力されたラスタイメ
ージデータのライン数と横幅のサイズを次式により算出
し記憶しておく。これは、ラスタイメージデータの回転
処理に必要な作業用のメモリ容量である。
Further, the number of lines and the width of the input raster image data at this time are calculated and stored by the following equation. This is the working memory capacity required for the raster image data rotation processing.

【0028】 回転時に必要なコピーエリアサイズ = ライン数×横幅 ・・・(4)Copy area size required for rotation = number of lines × width (4)

【0029】なお、1ページの印刷対象画像中に複数個
のラスタイメージが複数存在する場合には、回転時に必
要なコピーエリアサイズはその最大面積のものとする。
When a plurality of raster images exist in one page of the print target image, the copy area size required at the time of rotation is the maximum copy area size.

【0030】その後、周知のパックビッツ等の方式によ
る圧縮処理にて、ラスタイメージデータを圧縮して(S
239)、中間ファイルに記憶する(S236)。
Thereafter, the raster image data is compressed by a compression process using the well-known pack bit method or the like (S
239) and store it in the intermediate file (S236).

【0031】図4は、図2のフロー内に示した1ステッ
プである「回転可否判定&回転」処理の詳細を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing the details of the "rotation availability determination &rotation" process, which is one step shown in the flow of FIG.

【0032】回転可否判定に当たって、まず、先に登録
した中間ファイルを読み込む(S251)。そこで、回
転要求があるか否かを調べる(S252)。回転要求が
なければ本処理を終了する。
In determining whether or not rotation is possible, first, the previously registered intermediate file is read (S251). Then, it is checked whether there is a rotation request (S252). If there is no rotation request, this processing ends.

【0033】回転要求があれば、回転時に必要となるメ
モリ容量を算出する(S253)。ラスタイメージデー
タを回転させるときに必要なメモリ容量は、前記(1)
式、(2)式、(3)式、(4)式の総和である。この
総和と現在残っているメモリ容量を比較する(S25
4)。空きメモリ容量があれば、データの欠損なくして
ラスタイメージデータの回転を行うことが可能であるの
で、回転処理を行う(S255)。
If there is a rotation request, the memory capacity required for rotation is calculated (S253). The memory capacity required for rotating the raster image data is as described in (1) above.
Expression (2), Expression (3), and Expression (4). The sum is compared with the remaining memory capacity (S25).
4). If there is a free memory capacity, the rotation of the raster image data can be performed without data loss, so that the rotation processing is performed (S255).

【0034】空きメモリ容量がないときは、回転をして
もいずれデータの欠損があきらかに生じることがこの判
定にて認識できる。この場合、回転処理を行わずに、そ
のままDL生成(S26)へ進む。但し、ユーザに対し
て、空きメモリ容量不足のために回転を行わない旨のメ
ッセージを文字表示やインジケータランプ点灯等により
出力してもよい(S256)。
When there is no free memory capacity, it can be recognized from this determination that data loss will obviously occur anytime even when the image is rotated. In this case, the flow directly proceeds to DL generation (S26) without performing the rotation processing. However, a message to the effect that rotation is not performed due to lack of free memory capacity may be output to the user by character display, indicator lamp lighting, or the like (S256).

【0035】図5は、本実施の形態にあたっての実際の
ベクトルデータを解析してDL展開される様子を説明す
るための図である。この例では、ベクトル1とベクトル
2が画像データであり、ベクトル1はバンド1からバン
ド3にかけてまたがり、ベクトル2はバンド3からバン
ド7へかけてまたがっている。したがって、ベクトル1
のバンド数は3、ベクトル2のバンド数は5である。
FIG. 5 is a diagram for explaining how the actual vector data in the present embodiment is analyzed and DL-expanded. 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 vector 1
Has three bands, and vector 2 has five bands.

【0036】図5の画像データに対して作成されるDL
の例を図6に示す。
DL created for the image data of FIG.
6 is shown in FIG.

【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に示したとおりである。
In this example, since the vector 1 appears first in the band 1, the entity data of the vector 1 is registered in the DL band 1. The number of bytes is 14.
Since vector 1 straddles bands 2 and 3, DL
In the bands 2 and 3, a pointer to the vector 1 is registered. The number of bytes is 4 bytes each. Similarly,
Since the vector 3 appears first in the band 3, the entity data of the vector 3 is registered in the band 3 of the DL.
Therefore, the total memory consumption in band 3 of the DL is 18 bytes. Since vector 2 extends to the following band 7, for each of bands 4 to 7 of the DL, 4 bytes of the pointer to vector 2 are consumed. Although an extremely simple example is shown here, the actual image data has a more complicated DL content. However, the basic structure is as shown in FIG.

【0038】本実施の形態では、ラスタイメージの回転
が必要な場合、DL生成を行う前にメモリ容量上、ラス
タイメージの回転が可能か否かを判別することができ
る。したがって、無駄なDL生成をすることがなくなり
回転できないことが判明したときの処理時間のロスを防
げる。また、DLのデータ欠損も防げる。
In this embodiment, when the rotation of the raster image is necessary, it is possible to determine whether or not the rotation of the raster image is possible due to the memory capacity before generating the DL. Therefore, it is possible to prevent a loss of processing time when it is determined that rotation cannot be performed because unnecessary DL generation is not performed. In addition, data loss of DL can be prevented.

【0039】以上、本発明の好適な実施の形態について
説明したが、発明の要旨を逸脱することなく、種々の変
形、変更が可能である。
Although the preferred embodiment of the present invention has been described above, various modifications and changes can be made without departing from the gist of the invention.

【0040】[0040]

【発明の効果】本発明によれば、ラスタイメージデータ
の回転処理時にメモリ容量が足りなくなって印字がされ
ないという問題を解消するために、入力画像データのデ
ータ解析時にラスタイメージデータの回転処理が可能か
否かの判断を行うことにより、画像欠損を生じなくさせ
た、信頼性の高い画像形成装置を提供することができ
る。
According to the present invention, in order to solve the problem that the memory capacity is insufficient during the rotation processing of the raster image data and the printing is not performed, the rotation processing of the raster image data can be performed during the data analysis of the input image data. By making the determination as to whether or not the above-described determination is made, it is possible to provide a highly reliable image forming apparatus that does not cause image loss.

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

【図1】本発明による画像形成装置の構成例を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating a configuration example of an image forming apparatus according to the present invention.

【図2】図1の画像形成装置の入力データ受信から印字
までの処理フローを示すフローチャートである。
FIG. 2 is a flowchart illustrating a processing flow from reception of input data to printing of the image forming apparatus of FIG. 1;

【図3】図2のフロー内の1ステップである中間ファイ
ル作成(S23)の処理例を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a processing example of an intermediate file creation (S23) which is one step in the flow of FIG.

【図4】図2のフロー内に示した1ステップである「回
転可否判定&回転」処理の詳細を示すフローチャートで
ある。
FIG. 4 is a flowchart illustrating details of “rotation availability determination & rotation” processing, which is one step shown in the flow of FIG. 2;

【図5】本発明の実施の形態にあたっての実際のベクト
ルデータを解析してDL展開される様子を説明するため
の図である。
FIG. 5 is a diagram for explaining a state in which actual vector data is analyzed and subjected to DL expansion according to the embodiment of the present invention.

【図6】図5に示した画像例におけるDL生成時のメモ
リ使用状態を示す図である。
FIG. 6 is a diagram illustrating a memory use state at the time of generating a DL in the image example illustrated in FIG. 5;

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

11 CPU 12…RAM 13…ROM 14…インターフェース 15…液晶表示装置 16…キー操作部 17…印字部 18…システムバス 11 CPU 12 RAM 13 ROM 14 Interface 15 Liquid crystal display device 16 Key operation unit 17 Printing unit 18 System bus

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】外部から入力される画像データに基づいて
画像を形成する画像形成装置において、 入力画像データを解析するデータ解析手段と、 該データ解析手段の解析結果データを記憶するデータ記
憶領域を含むメモリと、 前記解析結果データに回転処理を施す回転処理手段と、 前記解析結果データに基づいて、画像の一部であるバン
ド単位に印字イメージを展開するフレームメモリ手段
と、 該フレームメモリ手段に展開された印字イメージに基づ
いてバンド単位に画像を形成する印字手段と、 前記データ解析手段の解析結果に基づいて、当該画像の
回転に必要な作業用メモリ容量を含む、当該画像印字に
要するメモリ消費量を求めるメモリ消費量算出手段と、 該求められたメモリ消費量を前記メモリの空き容量と比
較して、前記画像の回転が実行可能か否かを判定する判
定手段と、 該判定手段により画像の回転が実行可能でないと判定さ
れた場合に前記画像の回転を抑止する回転抑止手段と、 を備えた画像形成装置。
1. An image forming apparatus for forming an image based on image data input from the outside, comprising: a data analyzing means for analyzing input image data; and a data storage area for storing analysis result data of the data analyzing means. A memory that includes: a rotation processing unit that performs a rotation process on the analysis result data; a frame memory unit that expands a print image in band units that are a part of an image based on the analysis result data; A printing unit for forming an image in band units based on the developed print image, and a memory required for printing the image, including a working memory capacity necessary for rotating the image based on an analysis result of the data analysis unit A memory consumption calculating means for calculating a consumption amount; comparing the obtained memory consumption amount with a free space amount of the memory; An image forming apparatus comprising: a determination unit that determines whether rotation 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.
【請求項2】前記画像データはベクトルデータおよびラ
スタイメージデータを含み、前記メモリ消費量算出手段
は、ベクトルデータに基づくメモリ消費量と、ラスタイ
メージデータに基づくメモリ消費量とを別個に求める請
求項1記載の画像形成装置。
2. The image data includes vector data and raster image data, and said memory consumption calculating means separately calculates memory consumption based on vector data and memory consumption based on raster image data. 2. The image forming apparatus according to 1.
【請求項3】前記メモリ消費量算出手段は、1ベクトル
当たり予め定められた固定値のベクトル実体データ量を
ベクトル数分累積した値と、各ベクトルがまたがるバン
ド数に基づいて得られるポインタデータ量をベクトル数
分累積した値との和により、前記ベクトルデータに基づ
くメモリ消費量を算出することを特徴とする請求項2記
載の画像形成装置。
3. The method according to claim 1, wherein the memory consumption calculation means calculates a value obtained by accumulating a predetermined fixed-value vector entity data amount per vector by the number of vectors, and a pointer data amount obtained based on the number of bands over each vector. 3. The image forming apparatus according to claim 2, wherein a memory consumption based on the vector data is calculated based on a sum of values accumulated for the number of vectors.
【請求項4】前記メモリ消費量算出手段は、各ラスタイ
メージデータの非圧縮データサイズを累積した値と、最
大サイズのラスタイメージデータのライン数および横幅
に基づく作業データ量との和により、前記ラスタイメー
ジデータに基づくメモリ消費量を算出することを特徴と
する請求項2記載の画像形成装置。
4. The memory consumption calculating means calculates a sum of a value obtained by accumulating an uncompressed data size of each raster image data and a work data amount based on the number of lines and the width of the maximum size raster image data. 3. The image forming apparatus according to claim 2, wherein a memory consumption based on the raster image data is calculated.
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 true JP2001119560A (en) 2001-04-27
JP4010386B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2026251A1 (en) 2007-07-31 2009-02-18 Brother Kogyo Kabushiki Kaisha Technique for creating print data
JP2009164810A (en) * 2007-12-28 2009-07-23 Brother Ind Ltd Image reading device

Citations (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 rotation device for printing
JPH1086451A (en) * 1996-09-10 1998-04-07 Fuji Xerox Co Ltd Image-processing apparatus

Patent Citations (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 rotation device for printing
JPH1086451A (en) * 1996-09-10 1998-04-07 Fuji Xerox Co Ltd Image-processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2026251A1 (en) 2007-07-31 2009-02-18 Brother Kogyo Kabushiki Kaisha Technique for creating print data
US8368947B2 (en) 2007-07-31 2013-02-05 Brother Kogyo Kabushiki Kaisha Technique for creating print data
JP2009164810A (en) * 2007-12-28 2009-07-23 Brother Ind Ltd Image reading device

Also Published As

Publication number Publication date
JP4010386B2 (en) 2007-11-21

Similar Documents

Publication Publication Date Title
EP2093708B1 (en) Rendering apparatus, rendering method, and storage medium
US6734989B2 (en) Image output apparatus and method
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
JP2017188813A (en) Image forming apparatus, program, and information processing system
US6621588B1 (en) Output control method and apparatus, and output system
JPH02301464A (en) Image output device
JP4010386B2 (en) Image forming apparatus
JPH08186724A (en) Color picture printing system
JP3308663B2 (en) Image forming device
JP3204136B2 (en) Image processing apparatus and compression processing method
JP2003051929A (en) Image processing method and apparatus
JP2000168170A (en) Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same
JP2002063582A (en) Device and method for forming image
JPH11235849A (en) Image processing device, data processing method thereof, and storage medium storing program readable by computer
JPH05338280A (en) Method and apparatus for printing
JPH1051636A (en) Printing controller, information processor, printer and printing information processing method
JPH09188011A (en) Storage unit management device and storage unit management method
JP2006159458A (en) Image output device
JP2715475B2 (en) Graphic output device
JP2001331287A (en) Picture processor and picture processing method
JPH10207447A (en) Image processor
JP2000011161A (en) Image processor
JPH11203064A (en) Device and method for processing image and program storage medium
JP2000118056A (en) Printing system
JPH08307645A (en) Facsimile equipment

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