JP2002133429A - Plotting information processing device, plotting information processing method, and storage medium - Google Patents

Plotting information processing device, plotting information processing method, and storage medium

Info

Publication number
JP2002133429A
JP2002133429A JP2000320969A JP2000320969A JP2002133429A JP 2002133429 A JP2002133429 A JP 2002133429A JP 2000320969 A JP2000320969 A JP 2000320969A JP 2000320969 A JP2000320969 A JP 2000320969A JP 2002133429 A JP2002133429 A JP 2002133429A
Authority
JP
Japan
Prior art keywords
intermediate data
rop
command
data
processing
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.)
Pending
Application number
JP2000320969A
Other languages
Japanese (ja)
Inventor
Takeshi Kunimasa
武史 國政
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 JP2000320969A priority Critical patent/JP2002133429A/en
Publication of JP2002133429A publication Critical patent/JP2002133429A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a plotting information processing device capable of reducing the amount of data in the conversion of a plotting command containing ROP processing into intermediate data and outputting at high speed. SOLUTION: A command is produced and stored in a print command storage part 15. When a plotting command analyzing part 13 judges that an inputted plotting command is a command requiring the ROP processing, a print command extracting part 17 extracts a print command in a destination region from the print command storage part 15, and converts it into raster data in a resterizing part 18. An ROP processing part 19 conducts ROP processing according to the processing command requiring the ROP processing. A color information judging part judges whether a result is monochromatic or not, and if monochromatic expression is possible, the raster data of an ROP processing result is annulled, and the color information of the plotting command requiring the ROP processing is altered. Thereby, increase of the amount of data caused by the ROP processing is suppressed and the high speed processing is made possible.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力された描画命
令を中間データに変換して出力する描画情報処理装置及
び描画情報処理方法と、そのような描画情報処理をコン
ピュータに実行させるプログラムを格納したコンピュー
タにより読取可能な記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing information processing apparatus and a drawing information processing method for converting an input drawing command into intermediate data and outputting the intermediate data, and a program for causing a computer to execute such drawing information processing. Computer-readable storage medium.

【0002】[0002]

【従来の技術】ホストコンピュータ上で動作するアプリ
ケーションプログラムを使用して作成した文書をプリン
タで印刷する場合、アプリケーションプログラムの印刷
指示によってプリンタドライバが起動される。プリンタ
ドライバは、アプリケーションプログラムからの印刷指
示に従って、アプリケーションプログラムが生成する描
画命令を、プリンタで解釈可能なプリントコマンドに変
換し、プリンタに転送する。それを受信したプリンタで
は、受信したプリントコマンドを逐次、解釈してラスタ
ライズすることによって印刷を実行している。あるい
は、プリンタドライバからプリンタへ描画命令が転送さ
れ、プリンタにおいて描画命令をプリントコマンドに変
換した後、ラスタライズすることによって印刷を実行す
る場合もある。
2. Description of the Related Art When a document created using an application program running on a host computer is printed by a printer, a printer driver is started by a print instruction of the application program. The printer driver converts a drawing command generated by the application program into a print command that can be interpreted by the printer according to a print instruction from the application program, and transfers the print command to the printer. The printer receiving the print command executes printing by sequentially interpreting and rasterizing the received print command. Alternatively, in some cases, a drawing command is transferred from a printer driver to a printer, the printer converts the drawing command into a print command, and then performs rasterization to execute printing.

【0003】このとき、アプリケーションプログラムが
生成する描画命令は、OSの描画モジュールの持つ描画
関数の集合である。この描画モジュールの代表例として
は、GDI(Graphics Device Int
erface, Microsoft社商標)やQui
ckDraw(Apple社商標)などがある。
At this time, a drawing command generated by an application program is a set of drawing functions of a drawing module of the OS. A representative example of this drawing module is GDI (Graphics Device Int).
interface, a trademark of Microsoft Corporation) or Qui
ckDraw (a trademark of Apple).

【0004】これらの描画命令は、文字、図形、ビット
マップなどの描画オブジェクト毎に異なった描画命令が
用意されている。また、複数の描画オブジェクトが重な
る位置に描かれる場合に、先に描画された画像と、新た
に書き込む画像との重ね合わせの方法を指示する論理演
算コードが各描画オブジェクトに用意されている。プリ
ンタやディスプレイなどのグラフィックスデバイスをコ
ントロールするプリンタドライバを始めとしたデバイス
ドライバでは、これらの論理演算コードを解釈し、その
コードに示されている方法に従って重ね合わせの処理を
する必要がある。このような論理演算は、一般にROP
(Raster OPeration)として知られて
いる。
As these drawing commands, different drawing commands are prepared for each drawing object such as a character, a figure, and a bitmap. Further, when a plurality of drawing objects are drawn at overlapping positions, a logical operation code for instructing a method of superimposing an image drawn first and an image to be newly written is prepared for each drawing object. A device driver such as a printer driver that controls a graphics device such as a printer or a display needs to interpret these logical operation codes and perform overlay processing according to the method indicated by the codes. Such a logical operation is generally called ROP
(Raster Operation).

【0005】ROP処理は、描画先のメモリ内に格納さ
れた任意のカラー画像(D:ディスティネーション画
像)と、そこに新たに描画する描画オブジェクトである
ビットマップ画像(S:ソース画像)、そして描画オブ
ジェクトの塗り潰しパターンを定義するパターン画像
(P:パターン画像)を使ったビット間の論理演算であ
る。ユーザは、アプリケーションプログラムのグラフィ
カルユーザインターフェイス(以下、GUIと呼ぶ)を
使って、これらの画像間のビットマップデータに対し
て、論理積(AND:a)、論理和(OR:o)、排他
的論理和(XOR:x)、反転(NOT:n)等の論理
演算を指定することが可能である。また、これらの論理
演算を組み合わせて目的とする描画結果を得ることもで
きる。所望の描画結果を得るために論理演算を組み合わ
せる処理は、ユーザの直接的なオペレーションの代わり
にアプリケーションプログラムによって自動的に行うこ
ともできる。論理演算の種類は、逆ポーランド形式で表
す場合、例えば、「DPa」は、ディスティネーション
画像とパターン画像との論理積を取ることを表してい
る。必然的に、その結果はメモリ内の新たなディスティ
ネーション画像となる。
[0005] The ROP process is performed by selecting an arbitrary color image (D: destination image) stored in a drawing destination memory, a bitmap image (S: source image) as a drawing object to be newly drawn there, and This is a logical operation between bits using a pattern image (P: pattern image) that defines a fill pattern of a drawing object. A user uses a graphical user interface (hereinafter, referred to as a GUI) of an application program to perform logical product (AND: a), logical sum (OR: o), exclusive (OR) on bitmap data between these images. A logical operation such as a logical sum (XOR: x) and an inversion (NOT: n) can be designated. Further, a desired drawing result can be obtained by combining these logical operations. The process of combining logical operations to obtain a desired drawing result can be automatically performed by an application program instead of a direct operation by the user. When the type of the logical operation is expressed in a reverse Polish format, for example, “DPa” indicates that a logical product of the destination image and the pattern image is to be taken. Inevitably, the result is a new destination image in memory.

【0006】ここまでの説明で明らかなように、本来、
これらのROP処理は、ディスプレイデバイスのような
ラスタデバイスを想定して設計されているため、先に描
画された描画オブジェクトは既にメモリ中でラスタ化さ
れていることが前提になっている。そのために、プリン
タにおいても、論理演算はラスタ化されたデータ同士で
行う必要がある。
As is apparent from the above description,
Since these ROP processes are designed on the assumption of a raster device such as a display device, it is assumed that the drawing object drawn first has already been rasterized in the memory. Therefore, it is necessary for the printer to perform the logical operation on the rasterized data.

【0007】しかしながら、プリンタの場合、プリンタ
ドライバがアプリケーションで生成された描画命令を受
け取り、それをプリンタが解釈可能なプリントコマンド
に変換するため、必ずしも先に描画指示された描画オブ
ジェクトがラスタ化されているとは限らない。まして
や、それらがメモリ中に保持されている保証はない。
However, in the case of a printer, a printer driver receives a drawing command generated by an application and converts the drawing command into a print command that can be interpreted by the printer. Not necessarily. Moreover, there is no guarantee that they will be kept in memory.

【0008】プリントコマンドは、すべての描画オブジ
ェクトがラスタ化されたビットマップデータの場合と、
ラスタ、図形、文字の各描画オブジェクトを自由に制御
できるページ記述言語や、各描画オブジェクトの輪郭を
構成するエッジ情報から各走査線毎にエッジの始点と終
点情報を持ったエッジリストなどの中間データである場
合とがある。プリンタコマンドがビットマップデータの
場合は、そのままROP処理を行うことになる。
[0008] The print command is used when all the drawing objects are bitmap data obtained by rasterizing,
Intermediate data such as a page description language that can freely control each drawing object of raster, graphics, and characters, and an edge list that has information on the start and end points of each scan line from the edge information that constitutes the outline of each drawing object It may be. If the printer command is bitmap data, ROP processing is performed as it is.

【0009】プリンタコマンドが中間データである場合
には、ROP処理は、プリンタドライバで行われる場合
と、プリンタにおいて行われる場合がある。プリンタド
ライバでROP処理を行う場合には、例えば特開平11
−309917号公報などに記載されているように、ペ
ージ全体または、ページをいくつかのブロックに分割し
たバンド全体をラスタ化してしまう方法が用いられてい
る。また、プリンタ側でROP処理を行う場合には、プ
リンタ内部でラスタ化とともにROP処理を行ってい
る。この場合、プリンタ内部でプリントコマンドを一
旦、エッジリストのような中間データで保持するプリン
タであっても、ROP処理を行うために、そのページま
たはバンドはすべてラスタ化している。
When the printer command is intermediate data, the ROP process may be performed by a printer driver or may be performed by a printer. When ROP processing is performed by a printer driver, for example, Japanese Patent Application Laid-Open
As described in JP-A-309917, a method of rasterizing an entire page or an entire band obtained by dividing a page into several blocks is used. When ROP processing is performed on the printer side, ROP processing is performed together with rasterization inside the printer. In this case, all pages or bands are rasterized in order to perform ROP processing even in a printer that temporarily holds print commands in the printer as intermediate data such as an edge list.

【0010】図2は、ROP処理を伴うプリントコマン
ドの一例の説明図、図3は、従来のROP処理の一例の
説明図である。図2に示した例では、同一のバンド中に
矩形の描画オブジェクトAと円の描画オブジェクトBと
が重なり合って描画される場合を示している。ここで、
描画オブジェクトAは、指定色がColorAで、上書
き(ROPコード:R2_COPYPEN)が指定され
ている。また、描画オブジェクトBは、指定色がCol
orBであり、ROP処理(ROPコード:R2_XO
RPEN)を要求するものである。
FIG. 2 is an explanatory diagram of an example of a print command involving a ROP process, and FIG. 3 is an explanatory diagram of an example of a conventional ROP process. The example shown in FIG. 2 shows a case where a rectangular drawing object A and a circular drawing object B are drawn in the same band so as to overlap each other. here,
The designated color of the drawing object A is ColorA, and overwriting (ROP code: R2_COPYPEN) is designated. In the drawing object B, the designated color is Col.
orB and ROP processing (ROP code: R2_XO
RPEN).

【0011】この場合において、従来は、図3(A)に
示すように、描画オブジェクトB以前に生成された描画
オブジェクト(この例の場合には描画オブジェクトA)
をディスティネーション画像としてビットマップ展開す
る。また、描画オブジェクトBについても、ビットマッ
プ展開してソース画像とする。そして、ディスティネー
ション画像とソース画像とのROP処理を行って、新た
なビットマップ画像を生成する。この新たなビットマッ
プ画像あるいは新たなビットマップ画像が含まれるバン
ド全体のイメージが新たな描画オブジェクトとなる。図
3(B)にはバンド全体を新たなビットマップ描画オブ
ジェクトとした例を示している。
In this case, conventionally, as shown in FIG. 3A, a drawing object generated before the drawing object B (drawing object A in this example)
Is developed as a destination image in a bitmap. The drawing object B is also developed into a source image by bitmap development. Then, ROP processing is performed on the destination image and the source image to generate a new bitmap image. The new bitmap image or the image of the entire band including the new bitmap image becomes a new drawing object. FIG. 3B shows an example in which the entire band is used as a new bitmap drawing object.

【0012】このように、従来は、ROP処理を行った
結果は、全てビットマップ描画オブジェクトとなってい
た。アプリケーションプログラムからの描画命令を受け
取ったプリンタドライバあるいはプリンタがプリントコ
マンドとして中間データを生成する利点として、プリン
トコマンドがビットマップデータと比較してデータ量が
少ないことが挙げられる。これは、カラープリンタの場
合には、より顕著である。しかしながら、ROP処理を
行うためにページまたはバンド内の描画命令をラスタデ
ータに変換してしまうと、中間データの利点が全く失わ
れてしまう。さらに、ROP処理のためにラスタ化され
たビットマップデータはプリンタ解像度のデータであ
り、最近のプリンタの高解像度化に伴い、ラスタ化した
場合のデータ量は膨大なものとなる。このようなデータ
量の増大は、パフォーマンス低下の要因の一つとなる。
As described above, conventionally, the result of performing the ROP process is all bitmap drawing objects. An advantage that the printer driver or the printer that receives the drawing command from the application program generates the intermediate data as the print command is that the print command has a smaller data amount than the bitmap data. This is more pronounced for color printers. However, if the rendering command in a page or a band is converted into raster data in order to perform the ROP process, the advantage of the intermediate data is completely lost. Further, the bitmap data rasterized for the ROP processing is data of a printer resolution, and with the recent increase in resolution of a printer, the amount of data when rasterized becomes enormous. Such an increase in the amount of data is one of the causes of performance degradation.

【0013】上述のようにROP処理はビットマップデ
ータの状態で実行されるため、非常に時間がかかる処理
である。そのため、なるべくROP処理を行わないよう
にして処理時間を短縮することも考えられている。例え
ば特開平11−7364号公報には、重なりのないRO
P処理については省略可能なROP処理を行わないよう
に描画命令を変更する技術が記載されている。しかし、
重なる描画オブジェクトが存在する場合には、やはりR
OP処理を行っており、ビットマップデータへの展開は
避けられないものであった。
As described above, since the ROP process is executed in the state of bitmap data, it takes a very long time. Therefore, it has been considered to reduce the processing time by not performing the ROP processing as much as possible. For example, Japanese Unexamined Patent Application Publication No. 11-7364 discloses an RO
A technique is described in which a rendering command is changed so as not to perform an optional ROP process for the P process. But,
If there are overlapping drawing objects, R
OP processing is performed, and development into bitmap data is inevitable.

【0014】[0014]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、ROP処理を含む描画命令
を中間データに変換したときのデータ量を低減し、高速
に出力可能な描画情報処理装置及び描画情報処理方法
と、そのような描画情報処理をコンピュータに実行させ
るプログラムを格納したコンピュータにより読取可能な
記憶媒体を提供することを目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and reduces a data amount when a rendering command including a ROP process is converted into intermediate data, thereby enabling rendering at high speed. It is an object of the present invention to provide an information processing apparatus, a drawing information processing method, and a computer-readable storage medium storing a program for causing a computer to execute such drawing information processing.

【0015】[0015]

【課題を解決するための手段】本発明は、入力描画命令
から中間データを中間データ生成手段で生成し、生成さ
れた中間データを描画命令記憶手段に記憶させておく。
一方、入力描画命令に画像を形成する画素間の論理演算
処理を要求するROP描画命令が含まれている場合に
は、描画命令記憶手段に記憶されている中間データから
当該論理演算処理においてディスティネーション画像と
なる中間データをディスティネーション命令抽出手段で
抽出し、ディスティネーション命令抽出手段で抽出され
た中間データをラスタライズ手段でラスタデータに変換
した後、当該ROP描画命令に従ってROP処理手段で
論理演算処理を行う。ここで、ROP処理手段による論
理演算処理の結果として得られるラスタデータが単一色
で表現できるデータであるか否かを色情報判別手段で判
断し、単一色で表現できると判断された場合には、中間
データ生成手段でROP描画命令の色情報のみを変更し
た通常の中間データとする。また、色情報判別手段によ
って単一色で表現できないと判断された場合には、RO
P処理手段で論理演算処理されたラスタデータを描画す
る中間データを中間データ生成手段で生成する。
According to the present invention, intermediate data is generated from an input drawing command by intermediate data generating means, and the generated intermediate data is stored in a drawing command storage means.
On the other hand, when the input drawing command includes a ROP drawing command requesting a logical operation process between pixels forming an image, the destination in the logical operation process is determined from the intermediate data stored in the drawing command storage means. The intermediate data to be an image is extracted by the destination instruction extracting unit, the intermediate data extracted by the destination instruction extracting unit is converted into raster data by the rasterizing unit, and the logical operation processing is performed by the ROP processing unit in accordance with the ROP drawing instruction. Do. Here, the color information discriminating means determines whether or not the raster data obtained as a result of the logical operation processing by the ROP processing means can be represented by a single color. If it is determined that the raster data can be represented by a single color, It is assumed that the intermediate data is normal intermediate data in which only the color information of the ROP drawing command is changed by the intermediate data generating means. If the color information discriminating means determines that the image cannot be represented by a single color, the RO
Intermediate data for rendering the raster data logically processed by the P processing means is generated by the intermediate data generation means.

【0016】このように、論理演算処理(ROP処理)
の結果が単一色であれば、ROP描画命令の色情報のみ
を変更するだけであるので、中間データの形式が保存さ
れ、ラスタデータは保存されない。従って、この場合の
ROP処理後のデータ量は増加せず、以後の処理やデー
タ転送においても高速に実行することができる。
As described above, the logical operation processing (ROP processing)
If the result is a single color, only the color information of the ROP drawing command is changed, so that the format of the intermediate data is saved and the raster data is not saved. Therefore, the amount of data after the ROP processing in this case does not increase, and the subsequent processing and data transfer can be executed at high speed.

【0017】また本発明は、入力描画命令から中間デー
タを中間データ生成手段で生成し、生成された中間デー
タを描画命令記憶手段に記憶させておく。一方、入力描
画命令に画像を形成する画素間の論理演算処理を要求す
るROP描画命令が含まれている場合には、描画命令記
憶手段に記憶されている中間データから論理演算処理に
おいてディスティネーション画像となる中間データをデ
ィスティネーション命令抽出手段で抽出し、抽出された
中間データとROP描画命令との重なりを比較して、R
OP描画命令が論理演算処理後に単一色で表現できるか
否かを色情報判別手段で判断する。単一色で表現できる
と判断された場合には、前記ROP描画命令の色情報の
みを変更して通常の中間データとする。
Further, according to the present invention, intermediate data is generated by an intermediate data generating means from an input drawing command, and the generated intermediate data is stored in a drawing command storage means. On the other hand, when the input drawing command includes a ROP drawing command requesting a logical operation process between pixels forming an image, the destination image is processed in the logical operation process from the intermediate data stored in the drawing command storage means. Is extracted by destination instruction extracting means, and the overlap between the extracted intermediate data and the ROP drawing instruction is compared.
Whether or not the OP drawing command can be expressed in a single color after the logical operation processing is determined by the color information determining means. If it is determined that a single color can be represented, only the color information of the ROP drawing command is changed to normal intermediate data.

【0018】このように、ROP処理後に単一色で表現
できる場合には、それをROP処理前に検出して、RO
P描画命令の色情報のみを変更して通常の中間データと
することによって、ラスタデータへの変換や実際のRO
P処理を省略することができ、データ量の削減及び処理
の高速化を図ることができる。
As described above, when a single color can be expressed after the ROP processing, it is detected before the ROP processing, and
By converting only the color information of the P drawing command to normal intermediate data, conversion to raster data or actual RO
The P processing can be omitted, and the amount of data can be reduced and the processing can be speeded up.

【0019】[0019]

【発明の実施の形態】図1は、本発明の第1の実施の形
態を含む画像形成システムの一例を示すブロック図であ
る。図中、1は情報処理装置、2は画像形成装置、3は
アプリケーションプログラム、4はプリンタドライバ、
11は描画命令生成部、12は描画命令入力部、13は
描画命令解析部、14はプリントコマンド生成部、15
はプリントコマンド記憶部、16はプリントコマンド送
信部、17はプリントコマンド抽出部、18はラスタラ
イズ部、19はROP処理部、20は色情報判別部、2
1はプリントコマンド受信部、22は画像形成部であ
る。この例では、本発明の描画情報処理装置を、情報処
理装置1内のプリンタドライバ4に設けた例を示してい
る。
FIG. 1 is a block diagram showing an example of an image forming system including a first embodiment of the present invention. In the figure, 1 is an information processing apparatus, 2 is an image forming apparatus, 3 is an application program, 4 is a printer driver,
11 is a drawing command generator, 12 is a drawing command input unit, 13 is a drawing command analyzer, 14 is a print command generator, 15
Denotes a print command storage unit, 16 denotes a print command transmission unit, 17 denotes a print command extraction unit, 18 denotes a rasterization unit, 19 denotes a ROP processing unit, 20 denotes a color information discrimination unit,
1 is a print command receiving unit, and 22 is an image forming unit. In this example, an example in which the drawing information processing apparatus of the present invention is provided in the printer driver 4 in the information processing apparatus 1 is shown.

【0020】情報処理装置1と画像形成装置2は、例え
ばLANや公衆回線などのネットワーク、あるいはケー
ブルなどの伝送路によって接続されている。情報処理装
置1は、画像形成装置2で印刷するプリントコマンドを
生成し、プリントコマンドを送受信するための図示しな
いインターフェイスを介して伝送路を通じて画像形成装
置2に出力する。プリントコマンドを受け取った画像形
成装置2では、プリントコマンドに従って、例えば記録
紙などに画像を形成する。
The information processing apparatus 1 and the image forming apparatus 2 are connected by a network such as a LAN or a public line, or a transmission path such as a cable. The information processing apparatus 1 generates a print command to be printed by the image forming apparatus 2, and outputs the print command to the image forming apparatus 2 via a transmission path via an interface (not shown) for transmitting and receiving the print command. Upon receiving the print command, the image forming apparatus 2 forms an image on, for example, a recording sheet according to the print command.

【0021】情報処理装置1は、例えば、CPUやメモ
リ等のハードウェアを内蔵するパーソナルコンピュータ
等によって実現することができる。また、情報処理装置
1は、キーボードやマウス等の入力装置、CRT等の表
示装置、ハードディスクやCD−ROM等の外部記憶装
置等が接続されている。
The information processing apparatus 1 can be realized by, for example, a personal computer having hardware such as a CPU and a memory. The information processing apparatus 1 is connected to input devices such as a keyboard and a mouse, display devices such as a CRT, and external storage devices such as a hard disk and a CD-ROM.

【0022】情報処理装置1には、各種のアプリケーシ
ョンプログラム3が動作するとともに、画像形成装置2
に対してプリントコマンドを生成して出力するプリンタ
ドライバ4が設けられている。また、上述した内蔵のハ
ードウェア、入力装置、表示装置、外部記憶装置、アプ
リケーションプログラムおよびプリンタドライバなど、
それぞれを制御、管理するオペレーティングシステムを
備えている。
In the information processing apparatus 1, various application programs 3 operate and the image forming apparatus 2
Is provided with a printer driver 4 for generating and outputting a print command to the printer. In addition, the above-described built-in hardware, an input device, a display device, an external storage device, an application program, a printer driver, and the like,
It has an operating system to control and manage each.

【0023】アプリケーションプログラム3は、描画命
令生成部11を有している。アプリケーションプログラ
ム3において画像形成の要求が発生すると、描画命令生
成部11が描画命令を生成し、直接、あるいはOSなど
を介してプリンタドライバ4へ描画命令を転送する。
The application program 3 has a drawing command generator 11. When a request for image formation is generated in the application program 3, the drawing command generation unit 11 generates a drawing command and transfers the drawing command to the printer driver 4 directly or via an OS or the like.

【0024】プリンタドライバ4は、画像形成装置に付
属して提供されるものであり、情報処理装置1に組み込
まれて動作する。通常、プリンタドライバ4は、特定の
画像形成装置2で使用されるデータ形式と情報処理装置
1を対応させるために使用される。プリンタドライバ4
は、アプリケーションプログラム3から出力された描画
命令を受け取り、その描画命令に対して所定の処理を施
した後に、プリントコマンドを生成して、それを画像形
成装置2へ送信する。
The printer driver 4 is provided with the image forming apparatus, and operates by being incorporated in the information processing apparatus 1. Usually, the printer driver 4 is used for associating the data format used in the specific image forming apparatus 2 with the information processing apparatus 1. Printer driver 4
Receives a drawing command output from the application program 3, performs a predetermined process on the drawing command, generates a print command, and transmits the print command to the image forming apparatus 2.

【0025】プリンタドライバ4には、描画命令入力部
12、描画命令解析部13、プリントコマンド生成部1
4、プリントコマンド記憶部15、プリントコマンド送
信部16、プリントコマンド抽出部17、ラスタライズ
部18、ROP処理部19、色情報判別部20等を備え
ている。プリンタドライバ4の描画命令入力部12は、
アプリケーションプログラム3内の描画命令生成部11
で生成された描画命令を受け取り、描画命令解析部13
に渡す。描画命令解析部13は、描画命令を解析し、プ
リントコマンド生成部14に対して描画命令の解析結果
を渡す。入力された描画命令に画像を形成する画素間の
論理演算処理(ROP処理)を要求する描画命令が含ま
れているか否かを判断し、ROP処理を要求する描画命
令があった場合には、その描画命令についてはプリント
コマンド抽出部17にも渡す。
The printer driver 4 includes a drawing command input unit 12, a drawing command analysis unit 13, a print command generation unit 1,
4, a print command storage unit 15, a print command transmitting unit 16, a print command extracting unit 17, a rasterizing unit 18, a ROP processing unit 19, a color information determining unit 20, and the like. The drawing command input unit 12 of the printer driver 4
Drawing command generator 11 in application program 3
Receiving the drawing command generated by the
Pass to. The drawing command analysis unit 13 analyzes the drawing command, and passes the analysis result of the drawing command to the print command generation unit 14. It is determined whether the input drawing command includes a drawing command requesting a logical operation process (ROP process) between pixels forming an image, and if there is a drawing command requesting the ROP process, The drawing command is also passed to the print command extracting unit 17.

【0026】プリントコマンド生成部14は、描画命令
解析部13における描画命令の解析結果に従い、画像形
成装置2に対応したプリントコマンドを生成する。生成
したプリントコマンドは、この例ではプリントコマンド
記憶部15に蓄積することが可能である。プリントコマ
ンド生成部14で生成するプリントコマンドとしては、
例えばPostScript(登録商標)などの抽象度
の高いページ記述言語や、各描画オブジェクトの走査線
上での境界を検出しその始点と終点の座標をリストとし
て表現したエッジリスト、さらにビットマップ化された
最も抽象度の低いものまであるが、ここでは、ページ記
述言語やエッジリストなどの中間データをプリントコマ
ンドとする。またプリントコマンド生成部14は、後述
するようにROP処理を行った後に色情報判別部20で
単一色でないと判断された場合には、ROP処理後のラ
スタイメージをイメージコマンドとして出力する。この
プリントコマンド生成部14は、中間データ生成手段と
して機能する。
The print command generator 14 generates a print command corresponding to the image forming apparatus 2 according to the result of the rendering command analysis performed by the rendering command analyzer 13. The generated print command can be stored in the print command storage unit 15 in this example. The print command generated by the print command generation unit 14 includes:
For example, a page description language having a high degree of abstraction such as PostScript (registered trademark), an edge list in which the boundaries of each drawing object on a scanning line are detected, and the coordinates of the starting point and the ending point are represented as a list, Although there are some which have a low level of abstraction, here, intermediate data such as a page description language and an edge list are used as print commands. When the color information determination unit 20 determines that the image is not a single color after performing the ROP processing as described later, the print command generation unit 14 outputs the raster image after the ROP processing as an image command. The print command generator 14 functions as an intermediate data generator.

【0027】プリントコマンド記憶部15は、プリント
コマンド生成部14で生成したプリントコマンドを記憶
する。プリントコマンドを記憶する際には、例えばペー
ジ単位や、ページを分割したバンド単位などの単位で記
憶する。記憶しているプリントコマンドは、後述するよ
うに、プリントコマンド抽出部17で参照されたり、色
情報判別部20により書き換えられることもある。最終
的には、プリントコマンド生成部14で読み出され、プ
リントコマンド送信部16に送られる。このプリントコ
マンド記憶部15は、描画命令記憶手段として機能す
る。
The print command storage unit 15 stores the print command generated by the print command generation unit 14. When storing a print command, the print command is stored in units such as a page unit or a band unit obtained by dividing a page. The stored print command may be referred to by the print command extraction unit 17 or rewritten by the color information determination unit 20 as described later. Finally, the print command is read by the print command generation unit 14 and sent to the print command transmission unit 16. The print command storage unit 15 functions as a drawing command storage unit.

【0028】プリントコマンド送信部16は、プリント
コマンド生成部14で生成されたプリントコマンドを画
像形成装置2に対して送信する。
The print command transmitting section 16 transmits the print command generated by the print command generating section 14 to the image forming apparatus 2.

【0029】プリントコマンド抽出部17は、ROP処
理を要求する描画命令が入力された場合に、プリントコ
マンド記憶部15に記憶されているプリントコマンドか
ら当該ROP処理においてディスティネーション画像と
なるプリントコマンドを抽出する。ディスティネーショ
ン画像となるプリントコマンドを抽出する際には、RO
P処理を要求する描画命令の描画領域と重なりがある中
間データのみを抽出することができる。あるいは、RO
P処理を要求する描画命令の描画領域が存在するバンド
をディスティネーション画像として抽出してもよい。こ
のプリントコマンド抽出部17は、ディスティネーショ
ン命令抽出手段として機能する。
The print command extracting unit 17 extracts a print command to be a destination image in the ROP process from the print command stored in the print command storage unit 15 when a drawing command requesting the ROP process is input. I do. When extracting a print command to be a destination image, RO
Only intermediate data that overlaps the drawing area of the drawing command that requires the P processing can be extracted. Or RO
The band in which the drawing area of the drawing command requesting the P process exists may be extracted as the destination image. The print command extracting unit 17 functions as a destination command extracting unit.

【0030】ラスタライズ部18は、ROP処理を要求
する描画命令とともに、プリントコマンド抽出部17で
抽出したディスティネーション画像となるプリントコマ
ンドをラスタデータに変換する。
The rasterizing section 18 converts a print command, which is a destination image extracted by the print command extracting section 17, into raster data together with a drawing command requesting ROP processing.

【0031】ROP処理部19は、ラスタライズ部18
においてラスタデータに変換したディスティネーション
画像やソース画像、それに場合によってはパターン画像
などを用いて、描画命令に従って要求されたROP処理
を行う。
The ROP processing unit 19 includes a rasterizing unit 18
The ROP processing requested in accordance with the drawing command is performed using the destination image and the source image converted into the raster data, and in some cases, the pattern image.

【0032】色情報判別部20は、ROP処理部19に
よるROP処理の結果として得られるラスタデータが単
一色で表現できるデータであるか否かを判断する。単一
色で表現できると判断された場合には、プリントコマン
ド記憶部15に記憶されているROP描画命令の色情報
のみを変更し、通常の中間データにする。また、単一色
で表現できないと判断された場合には、ROP処理部1
9でROP処理したラスタデータをプリントコマンド生
成部14に渡し、そのラスタデータをイメージコマンド
として中間データを生成させるかあるいは出力させる。
The color information judging section 20 judges whether or not raster data obtained as a result of the ROP processing by the ROP processing section 19 is data that can be expressed by a single color. If it is determined that the image can be represented by a single color, only the color information of the ROP drawing command stored in the print command storage unit 15 is changed to normal intermediate data. If it is determined that the image cannot be represented by a single color, the ROP processing unit 1
In step 9, the raster data subjected to the ROP processing is transferred to the print command generating unit 14, and the raster data is generated or output as an image command.

【0033】画像形成装置2は、情報処理装置1から伝
送路を介して送られてくるプリントコマンドを受信し、
受信したプリントコマンドに基づいて紙などの記録媒体
上に画像を形成するものである。画像形成装置2は、プ
リントコマンド受信部21及び画像形成部22を備えて
いる。プリントコマンド受信部21は、画像形成装置2
上で動作するインタープリタ部を含む。また、画像形成
部22は、ページメモリ、プリンタエンジン、イメージ
ャ部およびレンダラ部を含む。
The image forming apparatus 2 receives a print command sent from the information processing apparatus 1 via a transmission path,
An image is formed on a recording medium such as paper based on the received print command. The image forming apparatus 2 includes a print command receiving unit 21 and an image forming unit 22. The print command receiving unit 21 includes the image forming device 2
It includes an interpreter that operates on the above. Further, the image forming unit 22 includes a page memory, a printer engine, an imager unit, and a renderer unit.

【0034】プリンタコマンド受信部21のインタープ
リタ部は、画像形成装置2に到達したプリンタコマンド
に含まれる描画コマンドを解釈し、その解釈の結果に従
って、文字、グラフィックスおよびイメージそれぞれに
応じた処理を画像形成部22のイメージャ部に対して指
示する。
The interpreter unit of the printer command receiving unit 21 interprets a drawing command included in the printer command that has arrived at the image forming apparatus 2, and performs processing corresponding to each of characters, graphics, and images according to the result of the interpretation. An instruction is given to the imager unit of the forming unit 22.

【0035】画像形成部22に含まれるイメージャ部
は、プリンタコマンド受信部21のインタープリタ部か
らの指示に従って画像を描画する。レンダラ部は、イメ
ージャ部により描画された画像をラスタ化して、このラ
スタ化された画像をページメモリに記憶させる。また、
カラー画像を形成する場合には、レンダラ部は、例えば
C(シアン)M(マゼンタ)Y(イエロー)K(ブラッ
ク)の各色それぞれについて画像をラスタ化してページ
メモリに記憶させる。プリンタエンジンは、レーザ方式
等のいろいろな記録方式のものがある。また、画像形成
装置2は、上記の各構成要素を制御する制御ハードウェ
アを更に含む。
The imager unit included in the image forming unit 22 draws an image according to an instruction from the interpreter unit of the printer command receiving unit 21. The renderer unit converts the image drawn by the imager unit into a raster, and stores the rasterized image in a page memory. Also,
When a color image is formed, the renderer unit rasterizes the image for each of C (cyan), M (magenta), Y (yellow), and K (black) and stores the rasterized image in a page memory. The printer engine has various recording systems such as a laser system. Further, the image forming apparatus 2 further includes control hardware for controlling each of the above components.

【0036】次に、本発明の実施の一形態を含む画像形
成システムの一例における動作例について説明する。ユ
ーザがアプリケーションプログラム3上で文書を作成す
る場合、例えばGUIを使用して任意に文字、グラフィ
ックス、イメージ等の描画オブジェクトを画面上に配置
する。これらの描画オブジェクトは、重なりを持たせた
り、透明度を指定して半透明状態を作り出したりするこ
とが可能である。このようにして作成された描画オブジ
ェクトをユーザの指示によって印刷する場合、アプリケ
ーションプログラム3は、画像形成装置に依存した描画
命令ではなく、オペレーティングシステム(OS)の描
画関数を使って描画を行う。このことによって、アプリ
ケーションプログラム3は、画像形成装置を強く意識す
ることのないデバイス非依存の描画を行うことが可能に
なる。これらの描画命令を受け取るプリンタドライバ4
は、デバイス(例えば画像形成装置2)に依存したプリ
ントコマンドを生成して、画像形成装置2に対してそれ
らのプリントコマンドを出力する。
Next, an operation example in an example of an image forming system including one embodiment of the present invention will be described. When a user creates a document on the application program 3, for example, a drawing object such as a character, graphics, or an image is arbitrarily arranged on a screen using a GUI. These drawing objects can have an overlap or create a translucent state by specifying transparency. When printing the drawing object created in this way according to a user's instruction, the application program 3 performs drawing using a drawing function of an operating system (OS) instead of a drawing command depending on the image forming apparatus. This allows the application program 3 to perform device-independent drawing without strongly considering the image forming apparatus. Printer driver 4 that receives these drawing instructions
Generates a print command depending on a device (for example, the image forming apparatus 2) and outputs the print command to the image forming apparatus 2.

【0037】図4は、プリンタドライバ4における動作
の一例を示すフローチャートである。プリンタドライバ
4では、S31において描画命令入力部12でアプリケ
ーションプログラム3からの描画命令を受け取ると、描
画命令解析部13においてその描画命令についての解析
を行う。このとき、描画命令解析部13は、描画命令が
ROP処理を要求する描画命令であるか否かをS32で
判断する。ROP処理を必要としない描画命令や、RO
P処理でも単に上書きするだけの処理の場合には、その
描画命令はプリントコマンド生成部14に渡され、S3
4においてプリントコマンド生成部14はプリントコマ
ンドを生成する。生成するプリントコマンドとしては、
ここではページ記述言語やエッジリストなどの中間デー
タであるものとする。生成されたプリントコマンドは、
S35において、印刷文書の各ページを特定の単位に区
切ったバンドやページ毎の出力単位でプリントコマンド
記憶部15に保持される。
FIG. 4 is a flowchart showing an example of the operation of the printer driver 4. In the printer driver 4, when the drawing command input unit 12 receives a drawing command from the application program 3 in S31, the drawing command analysis unit 13 analyzes the drawing command. At this time, the drawing command analysis unit 13 determines in S32 whether the drawing command is a drawing command requesting the ROP process. Drawing commands that do not require ROP processing, RO
In the case of a process of simply overwriting even in the P process, the drawing command is passed to the print command generating unit 14, and the process proceeds to S3.
In 4, the print command generation unit 14 generates a print command. The print command to generate is
Here, it is assumed that the data is intermediate data such as a page description language or an edge list. The generated print command is
In S35, each page of the print document is stored in the print command storage unit 15 in a band obtained by dividing the page into a specific unit or an output unit for each page.

【0038】S36において、バンドやページなどの出
力単位の全ての描画命令について処理を終えたか否かを
判定し、まだ終えていなければS31へ戻って新たな描
画命令についての処理を繰り返す。そして、出力単位の
データが揃った時点で、プリンタドライバ4はS37に
おいて、プリントコマンド送信部16により画像形成装
置2に対して中間データをプリントコマンドとして出力
する。
In S36, it is determined whether or not the processing has been completed for all the drawing commands in the output unit such as a band or a page. If not, the process returns to S31 to repeat the processing for a new drawing command. Then, when the data of the output unit is completed, the printer driver 4 outputs the intermediate data as a print command to the image forming apparatus 2 by the print command transmitting unit 16 in S37.

【0039】この一連の処理の中で、ROP処理を要求
する描画命令が入力される場合がある。描画命令解析部
13による描画命令の解析の結果、ROP処理を要求す
る描画命令であった場合には、S33において、以下に
説明するROP処理要求描画命令に対する処理を行う。
During this series of processing, a drawing command requesting ROP processing may be input. As a result of the analysis of the drawing command by the drawing command analysis unit 13, if the drawing command is a request for ROP processing, in step S33, processing for the ROP processing request drawing command described below is performed.

【0040】図5は、ROP処理要求描画命令に対する
処理の一例を示すフローチャートである。描画命令解析
部13によって描画命令がROP処理を必要とすると判
断したとき、描画命令解析部13は、S41において、
その描画命令に含まれる属性情報からROP処理を行う
ROP領域を特定する。
FIG. 5 is a flowchart showing an example of processing for a ROP processing request drawing command. When the drawing command analyzing unit 13 determines that the drawing command requires the ROP processing, the drawing command analyzing unit 13 proceeds to step S41.
The ROP area for performing the ROP process is specified from the attribute information included in the drawing command.

【0041】ROP領域が特定されると、次にプリント
コマンド抽出部17は、S42において、プリントコマ
ンド記憶部15に記憶されているプリントコマンドか
ら、特定したROP領域に一部でも含まれるプリントコ
マンドを抽出する。このとき、抽出されたプリントコマ
ンドを全て含む外接矩形をディスティネーション領域と
する。
When the ROP area is specified, the print command extracting unit 17 next determines in S42 the print command stored in the print command storage unit 15 from the print command contained in the specified ROP area. Extract. At this time, a circumscribed rectangle including all the extracted print commands is set as a destination area.

【0042】ディスティネーション領域を特定する方法
としては、いくつかの方法がある。図6は、ディスティ
ネーション領域の特定方法の一例の説明図である。図6
に示す例では、ROP処理を行う領域を、ROP処理を
要求する描画命令の描画領域から特定する方法を示して
いる。この例では、図2,図3で説明した例と同様に、
図6(A)に示すように矩形の描画オブジェクトの上に
円形の描画オブジェクトをROP処理により描画する例
を示している。このとき、図6(B)に示すように、R
OP処理を要求する描画命令により描画される円形の描
画オブジェクトの外接矩形内をROP領域とする。通
常、イメージ描画命令は、矩形であるので、それがその
ままROP領域となる。また、グラフィックス描画命令
の場合は、あらゆる形状がありうるので、その描画オブ
ジェクトの外接矩形を求めることになる。
There are several methods for specifying the destination area. FIG. 6 is an explanatory diagram of an example of a method for specifying a destination area. FIG.
In the example shown in FIG. 6, a method for specifying an area for performing the ROP processing from a drawing area of a drawing command requesting the ROP processing is shown. In this example, similar to the examples described in FIGS. 2 and 3,
FIG. 6A shows an example in which a circular drawing object is drawn on a rectangular drawing object by ROP processing. At this time, as shown in FIG.
The inside of the rectangle circumscribed by the circular drawing object drawn by the drawing command requesting the OP processing is defined as the ROP area. Usually, since the image drawing command is a rectangle, it becomes the ROP area as it is. In the case of a graphics drawing command, since there can be any shape, a circumscribed rectangle of the drawing object is obtained.

【0043】このようにして求められたROP領域に一
部でも描画領域が含まれるプリントコマンドを抽出す
る。この例では、矩形の描画オブジェクトを描画するプ
リントコマンドが抽出される。これによって、図6
(C)に示すように、矩形の描画オブジェクトの描画領
域がディスティネーション領域となる。
A print command including at least a drawing area in the ROP area obtained in this manner is extracted. In this example, a print command for drawing a rectangular drawing object is extracted. As a result, FIG.
As shown in (C), the drawing area of the rectangular drawing object is the destination area.

【0044】図7は、ディスティネーション領域の特定
方法の別の例の説明図である。図7に示す例では、例え
ば特願2000−114588号に記載されているよう
に、ROP処理を要求する描画命令の描画領域内に含ま
れるプリントコマンドを、重なりのある部分だけ分割す
ることによって、描画命令の描画領域をディスティネー
ション領域とする例である。図6と同様に図7(A)に
示すように矩形の描画オブジェクトの上に円形の描画オ
ブジェクトをROP処理により描画する場合、図7
(B)に示すように、ROP処理を要求する描画命令に
よって描画される円形の描画オブジェクトの描画領域が
ディスティネーション領域となる。
FIG. 7 is an explanatory diagram of another example of a method for specifying a destination area. In the example shown in FIG. 7, for example, as described in Japanese Patent Application No. 2000-114588, a print command included in a drawing area of a drawing command requesting a ROP process is divided into only overlapping portions, thereby This is an example in which a drawing area of a drawing command is set as a destination area. When a circular drawing object is drawn by a ROP process on a rectangular drawing object as shown in FIG.
As shown in (B), the drawing area of the circular drawing object drawn by the drawing command requesting the ROP processing is the destination area.

【0045】図8は、ディスティネーション領域の特定
方法のさらに別の例の説明図である。図8に示す例で
は、ROP処理を要求する描画命令の属するバンドやペ
ージなどの所定単位の領域をディスティネーション領域
とする例である。図6、図7と同様に図8(A)に示す
ように矩形の描画オブジェクトの上に円形の描画オブジ
ェクトをROP処理により描画する場合を示している
が、下地の描画オブジェクトに関わらず、図8(B)に
示すように、ROP処理を要求する描画命令が含まれる
例えばバンドをディスティネーション領域としている。
FIG. 8 is an explanatory diagram of still another example of a method for specifying a destination area. In the example shown in FIG. 8, an area of a predetermined unit such as a band or a page to which a drawing instruction requesting a ROP process belongs is set as a destination area. As shown in FIG. 8A, a case where a circular drawing object is drawn by a ROP process on a rectangular drawing object as in FIGS. 6 and 7 is shown. As shown in FIG. 8B, for example, a band including a drawing command requesting the ROP processing is set as the destination area.

【0046】図5に戻り、このようにして特定されたデ
ィスティネーション領域に含まれるプリントコマンド
は、S43においてラスタライズ部18でラスタデータ
に変換され、ディスティネーション画像が形成される。
なお、ソース画像やパターン画像は、通常、ROP処理
を要求する描画命令にラスタデータとして付加されてい
る。これらは、必要があればデバイス解像度への解像度
変換を行う。もちろん、ソース画像やパターン画像がグ
ラフィックなどで与えられる場合には、ラスタデータへ
の変換を行ってもよい。
Returning to FIG. 5, the print command included in the destination area specified in this way is converted into raster data by the rasterizing unit 18 in S43, and a destination image is formed.
It should be noted that the source image and the pattern image are usually added as raster data to a drawing command requesting a ROP process. These perform resolution conversion to device resolution if necessary. Of course, when the source image or the pattern image is given as a graphic, conversion to raster data may be performed.

【0047】ディスティネーション画像が用意される
と、S44においてROP処理部19は、ソース画像
と、さらには場合によって指定されているパターン画像
との間でROP処理を行う。このとき、色情報判別部2
0において、ソース画像の描画オブジェクトのROP処
理結果が全て同じ色であるか否かをS45で判定する。
対象描画オブジェクトについてROP処理結果が同じ色
となる場合は、単色のソースオブジェクトと重なる部分
のディスティネーション画像がこれも単色である場合で
ある。
When the destination image is prepared, in step S44, the ROP processing unit 19 performs an ROP process between the source image and a pattern image specified as the case may be. At this time, the color information determination unit 2
At 0, it is determined in S45 whether or not the ROP processing results of the drawing objects of the source image are all the same color.
The case where the result of the ROP processing for the target drawing object is the same color is the case where the destination image of the portion overlapping the single-color source object is also a single color.

【0048】判定の結果、全てが同じではない場合は、
ラスタ展開され、ROP処理を行ったビットマップデー
タをそのままイメージ描画コマンドとしてプリントコマ
ンド生成部14に送る。以後、図4のS34において、
このイメージ描画コマンドに対応する中間データを生成
し、S35においてプリントコマンド記憶部15に格納
することになる。このとき、ディスティネーション領域
内であるとして抽出されたプリントコマンドは、生成さ
れたビットマップデータ内に展開されているので、プリ
ントコマンド記憶部15に記録されている元のプリント
コマンドとともに破棄される。
If the result of the determination is that they are not all the same,
The bitmap data rasterized and subjected to the ROP processing is sent as it is to the print command generation unit 14 as an image drawing command. Thereafter, in S34 of FIG.
Intermediate data corresponding to the image drawing command is generated and stored in the print command storage unit 15 in S35. At this time, since the print command extracted as being in the destination area is expanded in the generated bitmap data, it is discarded together with the original print command recorded in the print command storage unit 15.

【0049】また、全て同じと判断された場合は、S4
6において、ラスタ展開されたビットマップデータを破
棄して、ROP処理を要求していた描画命令について、
色指定情報だけをROP処理によって決定した色に指定
して、図4のS34で上書きのプリントコマンドとして
中間データを生成し、S35でプリントコマンド記憶部
15に格納する。このとき、図5のS47において、デ
ィスティネーション領域として抽出されたプリントコマ
ンドも破棄され、プリントコマンド記憶部15に記憶さ
れている元のプリントコマンドがそのまま使われる。
If all are determined to be the same, S4
In step 6, the rasterized bitmap data is discarded, and the drawing command requesting the ROP process is
Only the color designation information is designated for the color determined by the ROP process, intermediate data is generated as an overwrite print command in S34 of FIG. 4, and stored in the print command storage unit 15 in S35. At this time, the print command extracted as the destination area in S47 of FIG. 5 is also discarded, and the original print command stored in the print command storage unit 15 is used as it is.

【0050】図9は、ROP処理結果が単一色である場
合の処理結果の具体例の説明図である。ここでは図2に
示した描画オブジェクトAを描画する描画命令が入力さ
れ、その後、描画オブジェクトBを描画する描画命令が
入力された場合を示している。描画オブジェクトBを描
画する描画命令が入力されたとき、例えば図6〜図8に
示したようにディスティネーション領域が設定され、描
画オブジェクトAの描画命令が抽出されて描画オブジェ
クトAがラスタデータに変換される。そして、描画オブ
ジェクトAのラスタデータと描画オブジェクトBのラス
タデータの間でROP処理が行われる。
FIG. 9 is an explanatory diagram of a specific example of the processing result when the ROP processing result is a single color. Here, a case is shown in which a drawing command for drawing the drawing object A shown in FIG. 2 is input, and thereafter, a drawing command for drawing the drawing object B is input. When a drawing command for drawing the drawing object B is input, for example, a destination area is set as shown in FIGS. 6 to 8, a drawing command for the drawing object A is extracted, and the drawing object A is converted into raster data. Is done. Then, ROP processing is performed between the raster data of the drawing object A and the raster data of the drawing object B.

【0051】この例では、描画オブジェクトA及び描画
オブジェクトBとも単色(ColorA,Color
B)であり、従ってROP処理後の色も単色(例えばC
olorC)となる。色情報判別部20でこれを検出す
ると、ROP処理を行ったビットマップデータを破棄し
て、描画オブジェクトBを描画する描画命令について、
色指定情報だけをROP処理によって決定した色(Co
lorC)に指定し、上書きのプリントコマンドとして
中間データを生成する。この時の描画オブジェクトを図
9においては描画オブジェクトCとして示している。こ
のような描画オブジェクトCを描画するプリントコマン
ドをプリントコマンド記憶部15に格納する。なお、描
画オブジェクトAを描画する描画命令については、その
ままとする。
In this example, both the drawing object A and the drawing object B are monochrome (Color A, Color
B), so that the color after ROP processing is also a single color (for example, C
colorC). When this is detected by the color information determination unit 20, the bitmap data on which the ROP processing has been performed is discarded, and a drawing command for drawing the drawing object B
Only the color designation information is determined by the color (Co
lorC) to generate intermediate data as an overwrite print command. The drawing object at this time is shown as a drawing object C in FIG. A print command for drawing such a drawing object C is stored in the print command storage unit 15. Note that the drawing command for drawing the drawing object A is not changed.

【0052】この結果、図2の下部に示した中間データ
と図9の下部に示した中間データを比較して分かるよう
に、描画オブジェクトAに対応する中間データは変わら
ないが、描画オブジェクトBに対応する中間データは色
及びROP処理の指示が変更され、描画オブジェクトC
に対応する中間データとなる。
As a result, as can be seen by comparing the intermediate data shown in the lower part of FIG. 2 with the intermediate data shown in the lower part of FIG. 9, the intermediate data corresponding to the drawing object A does not change. In the corresponding intermediate data, the color and ROP processing instructions are changed, and the drawing object C
Becomes the intermediate data.

【0053】このようにして、プリンタドライバ4でR
OP処理を行った場合でも、その中間データとしてラス
タデータが生成されない場合が発生し、そのため画像形
成装置2へ転送するデータ量を抑えて高速に転送するこ
とができるようになる。また、このような中間データの
場合、画像形成装置2における描画速度も向上されるた
め、システム全体として高速な画像形成を行うことが可
能になる。
In this way, the printer driver 4
Even when the OP processing is performed, there is a case where raster data is not generated as the intermediate data, so that the amount of data to be transferred to the image forming apparatus 2 can be suppressed and the data can be transferred at high speed. In the case of such intermediate data, the drawing speed in the image forming apparatus 2 is also improved, so that high-speed image formation can be performed in the entire system.

【0054】図10は、本発明の第2の実施の形態を含
む画像形成システムの一例を示すブロック図である。図
中、図1と同様の部分には同じ符号を付して、異なる部
分のみを説明する。この第2の実施の形態では、色情報
判別部20は、プリントコマンド抽出部17で抽出され
たプリントコマンドとROP処理を要求する描画命令と
の重なりを比較して、ROP処理後に単一色で表現でき
るか否かを判断する。単一色で表現できると判断された
場合には、プリントコマンド記憶部15に記憶されてい
るROP処理を要求した描画命令の色情報のみを変更
し、通常の中間データにする。また、単一色で表現でき
ないと判断された場合には、プリントコマンド抽出部1
7で抽出したプリントコマンドをラスタライズ部18で
ラスタデータに変換して、ROP処理部19でROP処
理を行う。
FIG. 10 is a block diagram showing an example of an image forming system including the second embodiment of the present invention. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and only different parts will be described. In the second embodiment, the color information discriminating unit 20 compares the print command extracted by the print command extracting unit 17 with the drawing command requesting the ROP processing, and expresses the same in a single color after the ROP processing. Determine if you can. If it is determined that a single color can be expressed, only the color information of the drawing command requesting the ROP processing stored in the print command storage unit 15 is changed to normal intermediate data. If it is determined that the image cannot be expressed in a single color, the print command extracting unit 1
The print command extracted in step 7 is converted into raster data by the rasterizing unit 18 and ROP processing is performed by the ROP processing unit 19.

【0055】この本発明の第2の実施の形態を含む画像
形成システムの動作は、上述の本発明の第1の実施の形
態を含む画像形成システムの動作とほぼ同じであり、R
OP処理要求描画命令に対する処理が異なるのみであ
る。すなわち、プリンタドライバ4における処理は、図
4と同様である。
The operation of the image forming system including the second embodiment of the present invention is substantially the same as the operation of the image forming system including the above-described first embodiment of the present invention.
The only difference is the processing for the OP processing request drawing command. That is, the processing in the printer driver 4 is the same as that in FIG.

【0056】図11は、本発明の第2の実施の形態を含
む画像形成システムの一例におけるROP処理要求描画
命令に対する処理の一例を示すフローチャートである。
上述の第1の実施の形態と同様に、描画命令解析部13
において描画命令がROP処理を求める命令であるか否
かを判断する。ROP処理を必要としない描画命令や、
ROP処理でも単に上書きするだけの処理の場合には、
プリントコマンド生成部14に渡され、プリントコマン
ドを生成してプリントコマンド記憶部15に格納する。
FIG. 11 is a flowchart showing an example of processing for a ROP processing request drawing command in an example of an image forming system including the second embodiment of the present invention.
As in the first embodiment, the drawing command analyzing unit 13
It is determined whether or not the drawing command is a command for requesting the ROP processing. Drawing commands that do not require ROP processing,
In the case of the process of simply overwriting even the ROP process,
The print command is passed to the print command generation unit 14, generates a print command, and stores the print command in the print command storage unit 15.

【0057】ROP処理が必要な描画命令については、
プリントコマンド抽出部17において、S51でROP
処理を要求した描画命令からROP領域を特定し、RO
P領域に含まれるプリントコマンドをS52で抽出す
る。そして、抽出したプリントコマンドによって描画さ
れる領域をディスティネーション領域として、色情報判
別部20は単色であるか否かをS53で判定する。
For drawing commands that require ROP processing,
In the print command extracting unit 17, ROP is performed in S51.
The ROP area is specified from the drawing command that requested the processing, and the RO
The print commands included in the P area are extracted in S52. Then, the color information determination unit 20 determines in S53 whether or not the image is a single color, with the area drawn by the extracted print command as the destination area.

【0058】ここで、ROP処理を要求した描画命令と
重なる部分が単色であると判定された場合、すなわち、
ROP処理を要求した描画命令と重なるプリントコマン
ドがプリントコマンド記憶部15に存在しなかったり、
あるいは単色のプリントコマンドに完全に含まれている
とき、S54において、ディスティネーション領域の色
とROP処理を要求した描画命令に指定されている色情
報とでROP処理を行う。これを描画命令の新しい色情
報として、上書きのプリントコマンドを中間データとし
て生成し、プリントコマンド記憶部15に記録する。こ
のとき、プリントコマンド記憶部15にあったプリント
コマンドにはまったく変更は加えない。
Here, when it is determined that the portion overlapping with the drawing command requesting the ROP process is a single color, that is,
A print command that overlaps the drawing command requesting the ROP processing does not exist in the print command storage unit 15,
Alternatively, when the print command is completely included in the single-color print command, in step S54, the ROP process is performed using the color of the destination area and the color information specified in the drawing command requesting the ROP process. This is generated as new color information of the drawing command, an overwrite print command is generated as intermediate data, and recorded in the print command storage unit 15. At this time, the print command stored in the print command storage unit 15 is not changed at all.

【0059】一方、描画領域が単色でないと判定された
場合の動作は、中間データのコマンド体系によっていく
つかの場合が存在する。図11に示す例では、画像形成
装置2側で、ROP処理可能な場合を示している。この
場合、プリントコマンドにROP処理を要求するコード
を埋め込むことが可能である。従って、ROP処理が必
要な場合も、そのまま中間コードとして生成するプリン
トコマンド内にそのコードを埋め込んでプリントコマン
ド記憶部15に格納すればよい。この場合には、図10
に示すラスタライズ部18及びROP処理部19は不要
である。
On the other hand, the operation when it is determined that the drawing area is not a single color has several cases depending on the command system of the intermediate data. The example illustrated in FIG. 11 illustrates a case where ROP processing can be performed on the image forming apparatus 2 side. In this case, it is possible to embed a code for requesting ROP processing in the print command. Therefore, even when the ROP processing is required, the code may be embedded in the print command generated as the intermediate code as it is and stored in the print command storage unit 15. In this case, FIG.
The rasterizing unit 18 and the ROP processing unit 19 shown in FIG.

【0060】図12は、本発明の第2の実施の形態を含
む画像形成システムの一例におけるROP処理要求描画
命令に対する処理の別の例を示すフローチャートであ
る。この例は、ROP処理による描画領域が単色でない
と判定された場合の別の動作を示すものであり、ROP
処理をプリンタドライバ3内部で処理する必要のある場
合を示している。なお、S51〜S54の動作は図11
と同様であるので説明を省略する。
FIG. 12 is a flowchart showing another example of the processing for the ROP processing request drawing command in an example of the image forming system including the second embodiment of the present invention. This example shows another operation when it is determined that the drawing area by the ROP processing is not monochrome.
This shows a case where the processing needs to be performed inside the printer driver 3. The operations in S51 to S54 are the same as those in FIG.
Therefore, the description is omitted.

【0061】ROP処理による描画領域が単色でないと
判定された場合には、ROP処理が必要と判定された時
点で、S55において、プリントコマンド抽出部17で
抽出したディスティネーション領域のプリントコマンド
をラスタライズ部18でラスタデータに変換し、S56
において、ROP処理部19によって指定されたROP
処理を行う。その結果作られたビットマップデータはプ
リントコマンド生成部14に渡され、イメージ描画コマ
ンドとして中間コードが生成されてプリントコマンド記
憶部15に格納される。
If it is determined that the drawing area by the ROP processing is not a single color, then at S55, when it is determined that the ROP processing is necessary, the print command of the destination area extracted by the print command extraction unit 17 is rasterized by the rasterization unit. In step S56, the data is converted into raster data.
, The ROP specified by the ROP processing unit 19
Perform processing. The bitmap data generated as a result is passed to the print command generation unit 14, where an intermediate code is generated as an image drawing command and stored in the print command storage unit 15.

【0062】このように、第2の実施の形態では、ラス
タデータへの変換や実際のROP処理を行わずに、RO
P処理後の描画領域が単色か否かを判定して、単色なら
プリントコマンドの変更を行う。そのため、第1の実施
の形態に比べてより高速な処理が可能である。
As described above, in the second embodiment, the conversion to the raster data and the actual ROP processing are not performed, and the RO
It is determined whether the drawing area after the P processing is a single color, and if it is a single color, the print command is changed. Therefore, higher-speed processing is possible as compared with the first embodiment.

【0063】図13、図14は、本発明の第1及び第2
の実施の形態を含む画像形成システムの別の例を示すブ
ロック図である。図中、図1及び図10と同様の部分に
は同じ符号を付してある。この例では、図1及び図10
においてプリンタドライバ4で行っていた処理を、画像
形成装置2において行うようにした構成を示している。
FIGS. 13 and 14 show the first and second embodiments of the present invention.
FIG. 14 is a block diagram illustrating another example of an image forming system including the embodiment. In the figure, the same parts as those in FIGS. 1 and 10 are denoted by the same reference numerals. In this example, FIGS. 1 and 10
2 shows a configuration in which the processing performed by the printer driver 4 is performed by the image forming apparatus 2.

【0064】この構成では、情報処理装置1の描画命令
生成部11で生成された描画命令が、情報処理装置1内
のOSやプリンタドライバ等を通じて画像形成装置2に
送られる。画像形成装置2の描画命令入力部12が、送
られてきた描画命令を受け取り、上述の第1,第2の実
施の形態と同様にしてプリントコマンドを生成し、生成
されたプリントコマンドが画像形成部22に渡される。
そして画像形成部22のイメージャ部、レンダラ部によ
りプリントコマンドをラスタイメージに変換してプリン
タエンジンにより画像を形成する。
In this configuration, the drawing command generated by the drawing command generator 11 of the information processing apparatus 1 is sent to the image forming apparatus 2 through the OS in the information processing apparatus 1, a printer driver, and the like. The drawing command input unit 12 of the image forming apparatus 2 receives the received drawing command, generates a print command in the same manner as in the first and second embodiments, and generates the print command. It is passed to the unit 22.
Then, the print command is converted into a raster image by the imager section and the renderer section of the image forming section 22, and an image is formed by the printer engine.

【0065】このような構成では、特に本発明の第2の
実施の形態を画像形成装置2に適用した構成では、RO
P処理の一部については色値のみに対して行うだけで、
ラスタイメージに対してはROP処理を行わないので、
高速な画像形成を実現することができる。また、本発明
の第1の実施の形態を画像形成装置2に適用した場合に
も、例えば画像形成部22をハードウェアなどで構成し
た場合にROP処理を前段において実行しておくことが
可能であり、ハードウェアを簡素化することができる。
In such a configuration, especially in a configuration in which the second embodiment of the present invention is applied to the image forming apparatus 2, the RO
Only a part of the P processing is performed on color values only.
Since ROP processing is not performed on raster images,
High-speed image formation can be realized. Also, when the first embodiment of the present invention is applied to the image forming apparatus 2, for example, when the image forming unit 22 is configured by hardware or the like, it is possible to execute the ROP processing in a previous stage. Yes, hardware can be simplified.

【0066】図15は、本発明の描画情報処理方法をコ
ンピュータプログラムで実現した場合におけるコンピュ
ータプログラムを格納した記憶媒体の一例の説明図であ
る。図中、101はプログラム、102はコンピュー
タ、111は光磁気ディスク、112は光ディスク、1
13は磁気ディスク、114はメモリ、121は光磁気
ディスク装置、122は光ディスク装置、123は磁気
ディスク装置である。
FIG. 15 is an explanatory diagram of an example of a storage medium storing a computer program when the drawing information processing method of the present invention is realized by a computer program. In the figure, 101 is a program, 102 is a computer, 111 is a magneto-optical disk, 112 is an optical disk, 1
13 is a magnetic disk, 114 is a memory, 121 is a magneto-optical disk device, 122 is an optical disk device, and 123 is a magnetic disk device.

【0067】上述の本発明の各実施の形態は、コンピュ
ータにより実行可能なプログラム101によっても実現
することが可能である。その場合、そのプログラム10
1およびそのプログラムが用いるデータなどは、コンピ
ュータが読み取り可能な記憶媒体に記憶することも可能
である。記憶媒体とは、コンピュータのハードウェア資
源に備えられている読取装置に対して、プログラムの記
述内容に応じて、磁気、光、電気等のエネルギーの変化
状態を引き起こして、それに対応する信号の形式で、読
取装置にプログラムの記述内容を伝達できるものであ
る。例えば、光磁気ディスク111,光ディスク11
2、磁気ディスク113,メモリ114等である。もち
ろんこれらの記憶媒体は、可搬型に限られるものではな
い。
Each of the above-described embodiments of the present invention can also be realized by a program 101 which can be executed by a computer. In that case, the program 10
1 and the data used by the program can be stored in a computer-readable storage medium. A storage medium is a type of signal corresponding to a reading device provided in hardware resources of a computer, which causes a change in energy such as magnetism, light, electricity, or the like in accordance with the description content of a program. Thus, the program description can be transmitted to the reading device. For example, a magneto-optical disk 111, an optical disk 11
2, the magnetic disk 113, the memory 114, and the like. Of course, these storage media are not limited to portable types.

【0068】これらの記憶媒体にプログラム101を格
納しておき、例えばコンピュータ102の光磁気ディス
ク装置121,光ディスク装置122,磁気ディスク装
置123,あるいは図示しないメモリスロットにこれら
の記憶媒体を装着することによって、コンピュータから
プログラム101を読み出し、本発明の画像処理方法を
実行することができる。あるいは、予め記憶媒体をコン
ピュータ102に装着しておき、例えばネットワークな
どを介してプログラム101をコンピュータ102に転
送し、記憶媒体にプログラム101を格納して実行させ
てもよい。
The program 101 is stored in these storage media, and these storage media are mounted in, for example, a magneto-optical disk device 121, an optical disk device 122, a magnetic disk device 123, or a memory slot (not shown) of the computer 102. The program 101 can be read from a computer to execute the image processing method of the present invention. Alternatively, a storage medium may be mounted on the computer 102 in advance, the program 101 may be transferred to the computer 102 via, for example, a network, and the program 101 may be stored in the storage medium and executed.

【0069】[0069]

【発明の効果】以上の説明から明らかなように、本発明
によれば、ROP処理のためにデバイス解像度でラスタ
データに展開される頻度を低減してデータ量を減少させ
ることができる。これによって、ラスタデータを格納す
る領域を減らすことが可能になり、従来に比べて転送あ
るいは処理を行うデータ量を低減することができ、結果
としてシステム全体の処理時間を大幅に低減させること
ができるという効果がある。
As is clear from the above description, according to the present invention, the frequency of raster data development at device resolution for ROP processing can be reduced to reduce the data amount. As a result, the area for storing raster data can be reduced, and the amount of data to be transferred or processed can be reduced as compared with the related art, and as a result, the processing time of the entire system can be significantly reduced. This has the effect.

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

【図1】 本発明の第1の実施の形態を含む画像形成シ
ステムの一例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of an image forming system including a first embodiment of the present invention.

【図2】 ROP処理を伴うプリントコマンドの一例の
説明図である。
FIG. 2 is an explanatory diagram of an example of a print command involving a ROP process.

【図3】 従来のROP処理の一例の説明図である。FIG. 3 is an explanatory diagram of an example of a conventional ROP process.

【図4】 プリンタドライバ4における動作の一例を示
すフローチャートである。
FIG. 4 is a flowchart illustrating an example of an operation of the printer driver 4.

【図5】 ROP処理要求描画命令に対する処理の一例
を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of processing for a ROP processing request drawing command.

【図6】 ディスティネーション領域の特定方法の一例
の説明図である。
FIG. 6 is an explanatory diagram of an example of a method for specifying a destination area.

【図7】 ディスティネーション領域の特定方法の別の
例の説明図である。
FIG. 7 is an explanatory diagram of another example of a method for specifying a destination area.

【図8】 ディスティネーション領域の特定方法のさら
に別の例の説明図である。
FIG. 8 is an explanatory diagram of still another example of a method for specifying a destination area.

【図9】 ROP処理結果が単一色である場合の処理結
果の具体例の説明図である。
FIG. 9 is an explanatory diagram of a specific example of the processing result when the ROP processing result is a single color.

【図10】 本発明の第2の実施の形態を含む画像形成
システムの一例を示すブロック図である。
FIG. 10 is a block diagram illustrating an example of an image forming system including a second embodiment of the present invention.

【図11】 本発明の第2の実施の形態を含む画像形成
システムの一例におけるROP処理要求描画命令に対す
る処理の一例を示すフローチャートである。
FIG. 11 is a flowchart illustrating an example of processing for a ROP processing request drawing command in an example of an image forming system including the second embodiment of the present invention.

【図12】 本発明の第2の実施の形態を含む画像形成
システムの一例におけるROP処理要求描画命令に対す
る処理の別の例を示すフローチャートである。
FIG. 12 is a flowchart illustrating another example of processing for a ROP processing request drawing command in an example of an image forming system including the second embodiment of the present invention.

【図13】 本発明の第1の実施の形態を含む画像形成
システムの別の例を示すブロック図である。
FIG. 13 is a block diagram illustrating another example of the image forming system including the first embodiment of the present invention.

【図14】 本発明の第2の実施の形態を含む画像形成
システムの別の例を示すブロック図である。
FIG. 14 is a block diagram illustrating another example of the image forming system including the second embodiment of the present invention.

【図15】 本発明の描画情報処理方法をコンピュータ
プログラムで実現した場合におけるコンピュータプログ
ラムを格納した記憶媒体の一例の説明図である。
FIG. 15 is an explanatory diagram of an example of a storage medium storing a computer program when the drawing information processing method of the present invention is realized by a computer program.

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

1…情報処理装置、2…画像形成装置、3…アプリケー
ションプログラム、4…プリンタドライバ、11…描画
命令生成部、12…描画命令入力部、13…描画命令解
析部、14…プリントコマンド生成部、15…プリント
コマンド記憶部、16…プリントコマンド送信部、17
…プリントコマンド抽出部、18…ラスタライズ部、1
9…ROP処理部、20…色情報判別部、21…プリン
トコマンド受信部、22…画像形成部、101…プログ
ラム、102…コンピュータ、111…光磁気ディス
ク、112…光ディスク、113…磁気ディスク、11
4…メモリ、121…光磁気ディスク装置、122…光
ディスク装置、123…磁気ディスク装置。
REFERENCE SIGNS LIST 1 information processing device 2 image forming device 3 application program 4 printer driver 11 drawing command generation unit 12 drawing command input unit 13 drawing command analysis unit 14 print command generation unit 15 print command storage unit 16 print command transmission unit 17
... Print command extraction unit, 18 ... Rasterize unit, 1
9 ROP processing unit, 20 color information discriminating unit, 21 print command receiving unit, 22 image forming unit, 101 program, 102 computer, 111 magneto-optical disk, 112 optical disk, 113 magnetic disk, 11
4 Memory, 121 magneto-optical disk device, 122 optical disk device, 123 magnetic disk device.

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 入力描画命令から中間データを生成する
中間データ生成手段と、生成された中間データを記憶す
る描画命令記憶手段と、前記入力描画命令に画像を形成
する画素間の論理演算処理を要求するROP描画命令が
含まれている場合に前記描画命令記憶手段に記憶されて
いる前記中間データから当該論理演算処理においてディ
スティネーション画像となる中間データを抽出するディ
スティネーション命令抽出手段と、前記ディスティネー
ション命令抽出手段で抽出された中間データをラスタデ
ータに変換するラスタライズ手段と、当該ROP描画命
令に従って論理演算処理を行うROP処理手段と、該R
OP処理手段による論理演算処理の結果として得られる
ラスタデータが単一色で表現できるデータであるか否か
を判断して単一色で表現できると判断された場合に前記
ROP描画命令の色情報のみを変更した通常の中間デー
タとする色情報判別手段を有し、前記中間データ生成手
段は、前記色情報判別手段によって単一色で表現できな
いと判断された場合は前記ROP処理手段で論理演算処
理されたラスタデータを描画する中間データを生成する
ことを特徴とする描画情報処理装置。
1. An intermediate data generating means for generating intermediate data from an input drawing instruction, a drawing instruction storage means for storing the generated intermediate data, and a logical operation process between pixels forming an image according to the input drawing instruction. A destination command extracting means for extracting intermediate data to be a destination image in the logical operation processing from the intermediate data stored in the drawing command storage means when the requested ROP drawing instruction is included; Rasterizing means for converting the intermediate data extracted by the nation instruction extracting means into raster data, ROP processing means for performing logical operation processing in accordance with the ROP drawing instruction,
It is determined whether the raster data obtained as a result of the logical operation processing by the OP processing means is data that can be expressed in a single color, and if it is determined that the raster data can be expressed in a single color, only the color information of the ROP drawing command is determined. A color information discriminating unit that sets the changed normal intermediate data; and the intermediate data generating unit performs a logical operation process on the ROP processing unit when the color information discriminating unit determines that the image cannot be represented by a single color. A drawing information processing apparatus for generating intermediate data for drawing raster data.
【請求項2】 前記ディスティネーション命令抽出手段
は、前記ROP描画命令領域と重なりがある中間データ
のみを前記ディスティネーション画像となる中間データ
として抽出することを特徴とする請求項1に記載の描画
情報処理装置。
2. The drawing information according to claim 1, wherein the destination command extracting unit extracts only intermediate data overlapping with the ROP drawing command area as intermediate data serving as the destination image. Processing equipment.
【請求項3】 前記描画命令記憶手段は、描画対象ペー
ジを複数のバンド領域に区分したバンド領域単位に分割
して前記中間データを記憶することを特徴とする請求項
1または請求項2に記載の描画情報処理装置。
3. The drawing command storage unit according to claim 1, wherein the drawing command storage unit stores the intermediate data by dividing a drawing target page into band areas divided into a plurality of band areas. Drawing information processing device.
【請求項4】 前記描画命令記憶手段は、描画対象ペー
ジを複数のバンド領域に区分したバンド領域単位に分割
して前記中間データを記憶し、前記ディスティネーショ
ン命令抽出手段は、前記ROP描画命令の属するバンド
内の中間データを前記ディスティネーション画像となる
中間データとして抽出することを特徴とする請求項1に
記載の描画情報処理装置。
4. The drawing command storage means stores the intermediate data by dividing the drawing target page into band areas divided into a plurality of band areas, and the destination command extraction means stores the intermediate data. 2. The drawing information processing apparatus according to claim 1, wherein intermediate data in the band to which the image belongs is extracted as intermediate data serving as the destination image.
【請求項5】 入力描画命令から中間データを生成する
中間データ生成手段と、生成された中間データを記憶す
る描画命令記憶手段と、前記入力描画命令に画像を形成
する画素間の論理演算処理を要求するROP描画命令が
含まれている場合に前記描画命令記憶手段に記憶されて
いる前記中間データから当該論理演算処理においてディ
スティネーション画像となる中間データを抽出するディ
スティネーション命令抽出手段と、該ディスティネーシ
ョン命令抽出手段で抽出された中間データと前記ROP
描画命令との重なりを比較して前記ROP描画命令が論
理演算処理後に単一色で表現できるか否かを判断して単
一色で表現できると判断された場合に前記ROP描画命
令の色情報のみを変更して通常の中間データとする色情
報判別手段を有することを特徴とする描画情報処理装
置。
5. An intermediate data generating means for generating intermediate data from an input drawing instruction, a drawing instruction storing means for storing the generated intermediate data, and a logical operation process between pixels forming an image according to the input drawing instruction. A destination instruction extracting unit for extracting intermediate data to be a destination image in the logical operation process from the intermediate data stored in the rendering instruction storage unit when the requested ROP rendering instruction is included; Intermediate data extracted by the nation instruction extracting means and the ROP
It is determined whether or not the ROP drawing command can be expressed in a single color after logical operation processing by comparing the overlap with the drawing command. If it is determined that the ROP drawing command can be expressed in a single color, only the color information of the ROP drawing command is determined. A drawing information processing apparatus, comprising: color information discriminating means that is changed into normal intermediate data.
【請求項6】 前記色情報判別手段は、単一色で表現で
きないと判断したとき、当該ROP描画命令を論理演算
処理のための情報を保持した中間データとして生成する
ことを特徴とする請求項5に記載の描画情報処理装置。
6. The apparatus according to claim 5, wherein said color information discriminating means generates said ROP drawing command as intermediate data holding information for a logical operation process when it is judged that said color information cannot be represented by a single color. 3. The drawing information processing apparatus according to 1.
【請求項7】 さらに、前記色情報判別手段により単一
色で表現できないと判断された場合に前記ディスティネ
ーション命令抽出手段で抽出された中間データをラスタ
データに変換するラスタライズ手段と、当該ROP描画
命令に従って論理演算処理を行うROP処理手段をさら
に有し、前記中間データ生成手段は、前記ROP処理手
段で論理演算処理されたラスタデータを描画する中間デ
ータを生成することを特徴とする請求項5に記載の描画
情報処理装置。
7. A rasterizing means for converting the intermediate data extracted by the destination instruction extracting means to raster data when the color information determining means determines that it cannot be represented by a single color, and a ROP drawing instruction. 6. The apparatus according to claim 5, further comprising ROP processing means for performing logical operation processing according to the following formula, wherein said intermediate data generation means generates intermediate data for drawing raster data subjected to logical operation processing by said ROP processing means. The drawing information processing apparatus described in the above.
【請求項8】 入力描画命令から中間データを生成して
記憶させておくとともに、前記入力描画命令に画像を形
成する画素間の論理演算処理を要求するROP描画命令
が含まれているか否かを判断し、ROP描画命令がある
と判断された場合に記憶されている前記中間データから
当該論理演算処理においてディスティネーション画像と
なる中間データを抽出し、抽出した中間データをラスタ
データに変換し、当該ROP描画命令に従って論理演算
処理を行い、該論理演算処理の結果として得られるラス
タデータが単一色で表現できるデータであるか否かを判
断し、単一色で表現できると判断された場合に前記RO
P描画命令の色情報のみを変更した通常の中間データと
し、単一色で表現できないと判断された場合は論理演算
処理したラスタデータを描画する中間データを生成する
ことを特徴とする描画情報処理方法。
8. Generates and stores intermediate data from an input drawing command, and determines whether or not the input drawing command includes a ROP drawing command requesting a logical operation process between pixels forming an image. Then, when it is determined that there is a ROP drawing command, intermediate data serving as a destination image is extracted from the stored intermediate data in the logical operation process, and the extracted intermediate data is converted into raster data. A logical operation process is performed in accordance with the ROP drawing command, and it is determined whether or not the raster data obtained as a result of the logical operation process is data that can be expressed in a single color.
A rendering information processing method comprising: generating intermediate data for rendering raster data subjected to logical operation processing when ordinary intermediate data obtained by changing only color information of a P rendering command is determined to be impossible to express in a single color; .
【請求項9】 前記ディスティネーション画像となる中
間データとして、前記ROP描画命令領域と重なりがあ
る中間データのみを抽出することを特徴とする請求項8
に記載の描画情報処理方法。
9. The method according to claim 8, wherein only intermediate data that overlaps with the ROP drawing command area is extracted as intermediate data serving as the destination image.
3. The drawing information processing method according to 1.
【請求項10】 前記中間データを記憶させる際には、
描画対象ページを複数のバンド領域に区分したバンド領
域単位に分割して前記中間データを記憶させることを特
徴とする請求項8または請求項9に記載の描画情報処理
方法。
10. When storing the intermediate data,
10. The drawing information processing method according to claim 8, wherein the drawing target page is divided into band areas divided into a plurality of band areas, and the intermediate data is stored.
【請求項11】 前記中間データを記憶させる際に、描
画対象ページを複数のバンド領域に区分したバンド領域
単位に分割して前記中間データを記憶させておき、前記
ディスティネーション画像となる中間データとして、前
記ROP描画命令の属するバンド内の中間データを抽出
することを特徴とする請求項8に記載の描画情報処理方
法。
11. When storing the intermediate data, a page to be drawn is divided into a plurality of band areas, and the intermediate data is stored. The intermediate data is stored as the intermediate data serving as the destination image. 9. The drawing information processing method according to claim 8, wherein intermediate data in a band to which the ROP drawing instruction belongs is extracted.
【請求項12】 入力描画命令から中間データを生成し
て記憶させておくとともに、前記入力描画命令に画像を
形成する画素間の論理演算処理を要求するROP描画命
令が含まれているか否かを判断し、ROP描画命令があ
ると判断された場合に記憶されている前記中間データか
ら当該論理演算処理においてディスティネーション画像
となる中間データを抽出し、抽出した中間データと前記
ROP描画命令との重なりを比較して前記ROP描画命
令が論理演算処理後に単一色で表現できるデータである
か否かを判断し、単一色で表現できると判断された場合
に前記ROP描画命令の色情報のみを変更して通常の中
間データとすることを特徴とする描画情報処理方法。
12. An intermediate data is generated and stored from an input drawing command, and it is determined whether or not the input drawing command includes a ROP drawing command for requesting a logical operation process between pixels forming an image. Determining that there is an ROP drawing instruction, extracting intermediate data to be a destination image in the logical operation process from the stored intermediate data, and overlapping the extracted intermediate data with the ROP drawing instruction. To determine whether the ROP drawing instruction is data that can be expressed in a single color after the logical operation processing. If it is determined that the data can be expressed in a single color, only the color information of the ROP drawing instruction is changed. A rendering information processing method characterized by using normal intermediate data.
【請求項13】 単一色で表現できるデータではないと
判断された場合に、当該ROP描画命令を論理演算処理
のための情報を保持した中間データとして生成すること
を特徴とする請求項12に記載の描画情報処理方法。
13. The method according to claim 12, wherein when it is determined that the data cannot be expressed in a single color, the ROP drawing command is generated as intermediate data holding information for a logical operation process. Drawing information processing method.
【請求項14】 単一色で表現できるデータではないと
判断された場合に、抽出された前記ディスティネーショ
ン画像となる中間データをラスタデータに変換し、当該
ROP描画命令に従って論理演算処理を行い、論理演算
処理されたラスタデータを描画する中間データを生成す
ることを特徴とする請求項12に記載の描画情報処理方
法。
14. When it is determined that the data is not data that can be expressed by a single color, the extracted intermediate data as the destination image is converted into raster data, and a logical operation process is performed in accordance with the ROP drawing instruction. The drawing information processing method according to claim 12, wherein intermediate data for drawing the raster data subjected to the arithmetic processing is generated.
【請求項15】 描画情報処理をコンピュータに実行さ
せるプログラムを格納したコンピュータにより読取可能
な記憶媒体において、入力描画命令から中間データを生
成する中間データ生成ステップと、生成された中間デー
タを記憶させる描画命令記憶ステップと、前記入力描画
命令に画像を形成する画素間の論理演算処理を要求する
ROP描画命令が含まれている場合に記憶されている前
記中間データから当該論理演算処理においてディスティ
ネーション画像となる中間データを抽出するディスティ
ネーション命令抽出ステップと、前記ディスティネーシ
ョン命令抽出ステップで抽出された中間データをラスタ
データに変換するラスタライズステップと、当該ROP
描画命令に従って論理演算処理を行うROP処理ステッ
プと、該ROP処理ステップによる論理演算処理の結果
として得られるラスタデータが単一色で表現できるデー
タであるか否かを判断して単一色で表現できると判断さ
れた場合に前記ROP描画命令の色情報のみを変更した
通常の中間データとする色情報判別ステップと、前記色
情報判別ステップによって単一色で表現できないと判断
された場合は前記ROP処理ステップで論理演算処理さ
れたラスタデータを描画する中間データを生成するステ
ップをコンピュータに実行させるプログラムを格納した
コンピュータにより読取可能な記憶媒体。
15. An intermediate data generating step of generating intermediate data from an input drawing command in a computer-readable storage medium storing a program for causing a computer to execute the drawing information processing, and a drawing for storing the generated intermediate data. A destination image in the logical operation processing from the intermediate data stored when the input drawing instruction includes a ROP drawing instruction requesting a logical operation processing between pixels forming an image in the input drawing instruction; A destination instruction extracting step of extracting intermediate data, a rasterizing step of converting the intermediate data extracted in the destination instruction extracting step into raster data,
An ROP processing step of performing a logical operation in accordance with a drawing command; and determining whether raster data obtained as a result of the logical operation processing by the ROP processing step is data that can be expressed in a single color. If it is determined that the color information of the ROP drawing command is changed to normal intermediate data and the color information is determined as normal intermediate data, and if it is determined that the color information cannot be represented by a single color, the ROP processing step is performed. A computer-readable storage medium storing a program for causing a computer to execute a step of generating intermediate data for rendering raster data subjected to logical operation processing.
【請求項16】 描画情報処理をコンピュータに実行さ
せるプログラムを格納したコンピュータにより読取可能
な記憶媒体において、入力描画命令から中間データを生
成する中間データ生成ステップと、生成された中間デー
タを記憶させる描画命令記憶ステップと、前記入力描画
命令に画像を形成する画素間の論理演算処理を要求する
ROP描画命令が含まれている場合に記憶されている前
記中間データから当該論理演算においてディスティネー
ション画像となる中間データを抽出するディスティネー
ション命令抽出ステップと、該ディスティネーション命
令抽出ステップで抽出された中間データと前記ROP描
画命令との重なりを比較して前記ROP描画命令が論理
演算処理後に単一色で表現できるか否かを判断して単一
色で表現できると判断された場合に前記ROP描画命令
の色情報のみを変更して通常の中間データとする色情報
判別ステップをコンピュータに実行させるプログラムを
格納したコンピュータにより読取可能な記憶媒体。
16. An intermediate data generating step of generating intermediate data from an input drawing command in a computer-readable storage medium storing a program for causing a computer to execute the drawing information processing, and a drawing for storing the generated intermediate data. A destination image in the logical operation from the intermediate data stored when the instruction storing step and the ROP drawing instruction requesting a logical operation process between pixels forming an image are included in the input drawing instruction; A destination instruction extracting step for extracting intermediate data, and comparing the overlap between the intermediate data extracted in the destination instruction extracting step and the ROP rendering instruction, the ROP rendering instruction can be expressed in a single color after logical operation processing. Whether it can be expressed in a single color A computer-readable storage medium storing a program for causing a computer to execute a color information determination step of changing only the color information of the ROP rendering command to normal intermediate data when the power is turned off.
JP2000320969A 2000-10-20 2000-10-20 Plotting information processing device, plotting information processing method, and storage medium Pending JP2002133429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000320969A JP2002133429A (en) 2000-10-20 2000-10-20 Plotting information processing device, plotting information processing method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000320969A JP2002133429A (en) 2000-10-20 2000-10-20 Plotting information processing device, plotting information processing method, and storage medium

Publications (1)

Publication Number Publication Date
JP2002133429A true JP2002133429A (en) 2002-05-10

Family

ID=18799171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000320969A Pending JP2002133429A (en) 2000-10-20 2000-10-20 Plotting information processing device, plotting information processing method, and storage medium

Country Status (1)

Country Link
JP (1) JP2002133429A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005084898A (en) * 2003-09-08 2005-03-31 Brother Ind Ltd Print data processing system and program for this system
JP2009527805A (en) * 2005-11-30 2009-07-30 アドビ システムズ, インコーポレイテッド System for Printing Artwork Containing Transparency The present PCT application is a US patent application Ser. No. 11/2911, filed Nov. 30, 2005, entitled “System and Method for Printing Artwork Containing Transparency”. Claims 177 filing date benefit, its priority is 35U. S. C. Claimed herein under §120 or 365 (c).
US7675642B2 (en) 2004-12-03 2010-03-09 Samsung Electronics Co., Ltd. Print apparatus and print method
JP2014000753A (en) * 2012-06-20 2014-01-09 Canon Inc Image processing apparatus, image processing method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005084898A (en) * 2003-09-08 2005-03-31 Brother Ind Ltd Print data processing system and program for this system
US7612899B2 (en) 2003-09-08 2009-11-03 Brother Kogyo Kabushiki Kaisha Print data processing system
US7675642B2 (en) 2004-12-03 2010-03-09 Samsung Electronics Co., Ltd. Print apparatus and print method
JP2009527805A (en) * 2005-11-30 2009-07-30 アドビ システムズ, インコーポレイテッド System for Printing Artwork Containing Transparency The present PCT application is a US patent application Ser. No. 11/2911, filed Nov. 30, 2005, entitled “System and Method for Printing Artwork Containing Transparency”. Claims 177 filing date benefit, its priority is 35U. S. C. Claimed herein under §120 or 365 (c).
JP2014000753A (en) * 2012-06-20 2014-01-09 Canon Inc Image processing apparatus, image processing method, and program

Similar Documents

Publication Publication Date Title
EP0933723A1 (en) Printing apparatus
JP2000083161A (en) Image processing unit, its method and image processing system
JP3008943B1 (en) Image processing apparatus and image processing method
US6247028B1 (en) Controlling attributes of pre-registered form data to match those of data to be printed with the form data
JPH1166327A (en) Method and device for processing image and recording medium
JP7009316B2 (en) Image forming apparatus, its image forming method, and a program
JP4461361B2 (en) Drawing processing method and program, drawing command output device and image forming apparatus
JP2002133429A (en) Plotting information processing device, plotting information processing method, and storage medium
JP2001293936A (en) Image information processor and method of processing image information
JP2004021886A (en) Image processing device and image processing method
JP3308663B2 (en) Image forming device
US6471423B1 (en) Print control apparatus and print control method
JP4086425B2 (en) Image processing apparatus and method
JP2004334533A (en) Image processing device and method
JP3636891B2 (en) Color image output method
JP4323767B2 (en) Print control system, data processing method thereof, storage medium, and computer program
JP4072403B2 (en) Information processing apparatus, information processing method, and program
JPH11235849A (en) Image processing device, data processing method thereof, and storage medium storing program readable by computer
JP4325339B2 (en) Printing system, host computer and printer driver
JP3098679B2 (en) PRINTING APPARATUS, PRINTING SYSTEM, AND PRINT CONTROL METHOD
JP4467715B2 (en) Image output control apparatus and method
JP3862460B2 (en) Information processing method and apparatus, and storage medium
JP3576622B2 (en) Image output apparatus and method and printing system
JP3968989B2 (en) Image processing apparatus, image processing method, and storage medium storing image processing program
US7675642B2 (en) Print apparatus and print method