JP2008290397A - Drawing processor, pdl processor, image forming apparatus, drawing command generation method, drawing command generation program and recording medium recorded with drawing command generation program - Google Patents

Drawing processor, pdl processor, image forming apparatus, drawing command generation method, drawing command generation program and recording medium recorded with drawing command generation program Download PDF

Info

Publication number
JP2008290397A
JP2008290397A JP2007139679A JP2007139679A JP2008290397A JP 2008290397 A JP2008290397 A JP 2008290397A JP 2007139679 A JP2007139679 A JP 2007139679A JP 2007139679 A JP2007139679 A JP 2007139679A JP 2008290397 A JP2008290397 A JP 2008290397A
Authority
JP
Japan
Prior art keywords
unit
processing
information
drawing information
processing unit
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
JP2007139679A
Other languages
Japanese (ja)
Inventor
Hideo Higashimoto
英雄 東本
Masato Takahashi
正人 高橋
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007139679A priority Critical patent/JP2008290397A/en
Publication of JP2008290397A publication Critical patent/JP2008290397A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a drawing processor capable of flexibly dealing with the specification change of a drawing part or a drawing processing part and enhancing maintainability and portability. <P>SOLUTION: The drawing processor 24 comprises: a PDL (Page Description Language) interpretation means 14 which extracts drawing information for every one or more drawing attributes among graphic, text, image and color by interpreting a PDL data; and a drawing means 23 which receives a drawing command from the drawing processor 24 and plots the drawing command based on the drawing information abstracted by the PDL interpretation means 14, wherein the drawing command to be delivered to the drawing means 23 is produced by the drawing processor 24. Further, the drawing processor 24 comprises: a drawing processing means 15 which produces a plurality of conversion drawing information corresponding to processing ability of the drawing means 23 based on the drawing information abstracted by the PDL interpretation means 14; and a drawing command conversion means 25 for converting the conversion drawing information corresponding to the processing ability of the drawing means 23 which receives a drawing command from the drawing processor 24 and plots the drawing command among the plurality of conversion drawing information produced by the drawing processing means 15, to the drawing command. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、描画処理装置、PDL処理装置、画像形成装置、描画命令生成方法、描画命令生成プログラム及び描画命令生成プログラムを記録した記録媒体に関する。   The present invention relates to a drawing processing device, a PDL processing device, an image forming device, a drawing command generation method, a drawing command generation program, and a recording medium on which a drawing command generation program is recorded.

従来、プリンタなどの画像形成装置は、PDL(Page Description Language)で記述されたPDLデータを解釈することで、高レベル描画情報から低レベル描画情報へと変換していき、最終的にビットマップのイメージを生成し、画像を形成する。   2. Description of the Related Art Conventionally, an image forming apparatus such as a printer converts PDL data described in PDL (Page Description Language) into high-level drawing information and converts it to low-level drawing information. Generate an image and form an image.

ここで、高レベル描画情報並びに低レベル描画情報について説明する。高レベル描画情報とは、描画命令に必要なパラメータなど、ホストからの命令に近く、最終的なビットマップイメージまでには多くの変換が必要な描画情報である。低レベル描画情報とは、最終的なビットマップイメージに展開し易い描画情報である。これら高レベル描画情報、低レベル描画情報の具体例は後述する。   Here, the high level drawing information and the low level drawing information will be described. The high-level drawing information is drawing information that is close to the command from the host, such as parameters necessary for the drawing command, and requires a lot of conversion until the final bitmap image. The low level drawing information is drawing information that can be easily developed into a final bitmap image. Specific examples of these high-level drawing information and low-level drawing information will be described later.

最初にPDLデータに係る処理を行うPDL処理部の例を図1に示す。図1に示すPDL処理部11は、PDLデータを解釈し、記述に従って描画処理することにより生成されるページ画像のビットマップイメージをフレームメモリなどに書き込むものである。   An example of a PDL processing unit that performs processing related to PDL data first is shown in FIG. The PDL processing unit 11 shown in FIG. 1 interprets PDL data and writes a bitmap image of a page image generated by drawing processing according to the description to a frame memory or the like.

PDL処理部11は、PDL解釈部14、描画処理部15、DL(Display List)生成部20、DL描画部21を含む。   The PDL processing unit 11 includes a PDL interpretation unit 14, a drawing processing unit 15, a DL (Display List) generation unit 20, and a DL drawing unit 21.

PDL解釈部14は、PostScriptやPCL(Printer Control Language)などのPDLで記述されたコード(PDLデータ)を解釈、解析し、グラフィック、テキスト、イメージ、カラーの描画属性(描画構成要素)についての高レベル描画情報を抽出する。   The PDL interpretation unit 14 interprets and analyzes codes (PDL data) described in PDL such as PostScript and PCL (Printer Control Language), and performs high-level graphics, text, image, and color drawing attributes (drawing components). Extract level drawing information.

描画処理部15は、PDL解釈部14により抽出された高レベル描画情報をもとに描画処理を行い、低レベル描画情報に変換する。なお、一般にこの変換処理は複雑で、処理に要する時間はPDL処理部11が要する全処理時間の中で大きな割合を占める。   The drawing processing unit 15 performs drawing processing based on the high-level drawing information extracted by the PDL interpretation unit 14 and converts it into low-level drawing information. In general, this conversion process is complicated, and the time required for the process occupies a large proportion of the total processing time required by the PDL processing unit 11.

また、描画処理部15は、グラフィック処理部16、テキスト処理部17、イメージ処理部18、カラー処理部19を含む。これらの処理部は、PDL解釈部14により抽出された高レベル描画情報から、各々の処理部が対応する描画属性についての低レベル描画情報への変換処理を行う。これらの処理部の具体的な処理内容については後述する。   The drawing processing unit 15 includes a graphic processing unit 16, a text processing unit 17, an image processing unit 18, and a color processing unit 19. These processing units convert the high-level drawing information extracted by the PDL interpretation unit 14 into low-level drawing information for drawing attributes corresponding to the processing units. Specific processing contents of these processing units will be described later.

DL生成部20は、描画処理部15が変換した低レベル描画情報を、DLと呼ばれる中間保存データ形式の描画データに変換し、1または複数ページ分のDLをRAM内に蓄積する。   The DL generation unit 20 converts the low-level drawing information converted by the drawing processing unit 15 into drawing data in an intermediate storage data format called DL, and accumulates one or more pages of DL in the RAM.

なお、DLは、フレームメモリに書き込まれる最終的なビットマップイメージに展開し易い(低レベル)情報であるため、そのデータ量は高レベルな描画情報と比べればずっと大きく、1または複数ページ分のDLデータを蓄積するメモリ量がメガバイト単位で必要となることも少なくない。   Since DL is information (low level) that can be easily developed into a final bitmap image written in the frame memory, its data amount is much larger than that of high-level drawing information, and is equivalent to one or more pages. Often, the amount of memory for storing DL data is required in units of megabytes.

DL描画部21は上記RAM内に蓄積されたDLを読み出し、パターン処理、階調変換、マスク(CLIP)、ROP(Raster OPeration)等の処理を行って最終的なビットマップイメージを生成し、フレームメモリに書き込む。   The DL rendering unit 21 reads the DL stored in the RAM, performs pattern processing, gradation conversion, mask (CLIP), ROP (Raster OPeration), and the like to generate a final bitmap image, and Write to memory.

なお、階調変換とはディザや誤差拡散の手法で高階調のピクセル値を低階調のピクセル値に変換する処理をいう。ROPとは、Source、Destination、パターンのピクセル値を重ね合わせる際の論理演算処理をいう。   Note that tone conversion refers to processing for converting high-gradation pixel values into low-gradation pixel values by dithering or error diffusion techniques. ROP refers to logical operation processing when the pixel values of the source, destination, and pattern are superimposed.

また、装置によっては、メモリ量の削減のため、DL描画部21が1ページ分のフレームメモリを主走査方向に平行な短冊状に分割したバンドと呼ばれる領域を対象に前述の処理を行うものもある。   Also, depending on the apparatus, in order to reduce the memory amount, the DL rendering unit 21 performs the above-described processing for a region called a band obtained by dividing the frame memory for one page into strips parallel to the main scanning direction. is there.

ここで、上記描画処理部15の各処理部が実行する処理内容と、高レベル描画情報と低レベル描画情報の具体例について、図2から図5を用いて説明する。   Here, processing contents executed by each processing unit of the drawing processing unit 15 and specific examples of the high-level drawing information and the low-level drawing information will be described with reference to FIGS.

まず、グラフィック処理部16の処理内容を図2に示す。図2に示されるように、グラフィック処理部16は、パス生成、座標変換、曲線の直線分割(直線近似)、直線の輪郭パス生成、走査線変換、矩形・台形抽出などの、画像、図形などに対する表示、加工に係る処理を行う。   First, the processing contents of the graphic processing unit 16 are shown in FIG. As shown in FIG. 2, the graphic processing unit 16 generates images, graphics, etc., such as path generation, coordinate conversion, straight line segmentation (straight line approximation), straight line contour path generation, scanning line conversion, rectangle / trapezoid extraction, etc. Processing related to display and processing is performed.

次に、テキスト処理部17の処理内容を図3に示す。図3に示されるように、テキスト処理部17は、アウトラインフォントデータから文字輪郭データ(直線端点、曲線制御点の座標の並び)の取得、グラフィック処理による塗潰しなどの処理を行う。アウトラインフォントデータとは、文字の形をコンピュータ上で表現するためのデータ形式の一つである。   Next, the processing contents of the text processing unit 17 are shown in FIG. As shown in FIG. 3, the text processing unit 17 performs processing such as acquisition of character outline data (a sequence of coordinates of straight line end points and curve control points) from outline font data, and painting by graphic processing. Outline font data is one of the data formats for representing character shapes on a computer.

イメージ処理部18の処理内容を図4に示す。図4に示されるように、イメージ処理部18は、データの解凍、回転、変倍、カラー処理部19による色変換、階調変換(ディザ、誤差拡散)などの、画像イメージに係る処理を行う。   The processing content of the image processing unit 18 is shown in FIG. As shown in FIG. 4, the image processing unit 18 performs processing related to the image image such as data decompression, rotation, scaling, color conversion by the color processing unit 19, and gradation conversion (dither, error diffusion). .

カラー処理部19の処理内容を図5に示す。図5に示されるように、カラー処理部19は、カラーマッチング、補色変換(RGBからCMYへの変換)、墨補正(BG)・下色除去(UCR)・グレイ変換、CIEからXYZ中間色変換、XYZからCMYKレンダリング色変換、ガンマ補正、総量規制などのカラー処理を行う。   The processing contents of the color processing unit 19 are shown in FIG. As shown in FIG. 5, the color processing unit 19 performs color matching, complementary color conversion (conversion from RGB to CMY), black correction (BG) / under color removal (UCR) / gray conversion, CIE to XYZ intermediate color conversion, Color processing such as XYZ to CMYK rendering color conversion, gamma correction, and total amount regulation is performed.

次に、DLの例を図6から図11を用いて説明する。図6には、矩形503を表示するためのDLが示されている。このDLは、左上座標501と右下座標502からなる。図7には、台形517を表示するためのDLが示されている。このDLは、上辺のy座標511と、左右のx座標512と、高さ513と、左右のピクセルあたりの変化量514からなる。左右のピクセルあたりの変化量514は、拡大図515、516に示されるように、傾きに相当するものである。図8には、ラン523と表示するためのDLが示されている。このDLは、ランのy座標とランが開始される座標と終了となる座標からなる。   Next, an example of DL will be described with reference to FIGS. FIG. 6 shows a DL for displaying the rectangle 503. This DL consists of upper left coordinates 501 and lower right coordinates 502. FIG. 7 shows a DL for displaying the trapezoid 517. This DL includes an upper side y-coordinate 511, left and right x-coordinates 512, a height 513, and a change amount 514 per left and right pixels. The amount of change 514 per pixel on the left and right corresponds to the slope, as shown in the enlarged views 515 and 516. FIG. 8 shows a DL for displaying a run 523. This DL is composed of the y coordinate of the run, the coordinates at which the run is started, and the coordinates at the end.

以上の図6、7、8に示されるDLがグラフィックのDLの例である。次に、図9を用いてテキストのDLの例を示す。図9には、テキスト536を表示するためのDLが示されている。このDLは、左上座標531と、幅532と、高さ533と、1行のバイト数534と、ビットマップデータ535からなる。   The DL shown in FIGS. 6, 7, and 8 is an example of a graphic DL. Next, an example of text DL will be described with reference to FIG. FIG. 9 shows a DL for displaying the text 536. This DL includes an upper left coordinate 531, a width 532, a height 533, the number of bytes 534 in one row, and bitmap data 535.

次に、図10を用いてイメージのDLの例を示す。図10には、CMYKからなるイメージ548を表示するためのDLが示されている。このDLは、左上座標541と、幅542と、高さ543と、1行のバイト数544と、全体のバイト数545と、カラーフォーマット546と、ビットマップデータ547からなる。   Next, an example of an image DL will be described with reference to FIG. FIG. 10 shows a DL for displaying an image 548 composed of CMYK. The DL includes an upper left coordinate 541, a width 542, a height 543, the number of bytes 544 in one line, the total number of bytes 545, a color format 546, and bitmap data 547.

次に、図11を用いてカラーのDLの例を示す。このDLは、Cyan成分551と、Magenta成分552と、Yellow成分553と、K成分554からなる。   Next, an example of color DL will be described with reference to FIG. This DL is composed of a Cyan component 551, a Magenta component 552, a Yellow component 553, and a K component 554.

以上が各DLの例である。ところで現在、あるレベルの描画情報に基づき、従来より優れたアルゴリズム手法や、ASIC等でハードウェア化された描画アクセラレータを使って、より高速に描画処理とフレームメモリへの書き込みを行うことができるソフトウエアモジュール、またはハードウエアモジュール、またはその組み合わせのモジュールが開発されている。以下、このようなモジュールを高性能描画部と呼び、ビットマップイメージ生成手段に対応する。   The above is an example of each DL. By the way, based on a certain level of drawing information, software that can perform drawing processing and writing to the frame memory at a higher speed by using a better algorithm method than before and a drawing accelerator implemented in hardware by ASIC etc. Hardware modules, hardware modules, or combinations thereof have been developed. Hereinafter, such a module is referred to as a high-performance rendering unit and corresponds to a bitmap image generation unit.

既存のPDL処理部11の高速化を図るため、上記高性能描画部をPDL処理部11に組み込んだ従来例を、図12に示す。図1と異なる点は、図1のDL描画部21の代わりに描画命令変換部22と高性能描画部23が加えられている点である。   FIG. 12 shows a conventional example in which the high-performance rendering unit is incorporated in the PDL processing unit 11 in order to increase the speed of the existing PDL processing unit 11. The difference from FIG. 1 is that a drawing command conversion unit 22 and a high performance drawing unit 23 are added instead of the DL drawing unit 21 of FIG.

このような構成は、高性能描画部を利用する場合、組込み易さ(変更の手間、工数の少なさと変更の影響範囲の少なさ)から、図1において、中間保存データ形式で蓄積されているDLを読み出し、高性能描画部23が受け取り可能な描画命令(データ)に変換して渡す描画命令変換部22と高性能描画部23を従来のDL描画部21と差し替える形としたためである。   Such a configuration is stored in the intermediate storage data format in FIG. 1 because of the ease of incorporation when using a high-performance rendering unit (the effort of modification, the number of man-hours and the range of influence of the modification). This is because the drawing command conversion unit 22 and the high-performance drawing unit 23 that read out the DL, convert it to a drawing command (data) that can be received by the high-performance drawing unit 23, and the high-performance drawing unit 23 are replaced with the conventional DL drawing unit 21.

一方、このような高性能描画部23が処理することのできる描画情報は、これまでは低レベル描画情報がほとんどであったが、最近ではその性能の向上に伴って高レベル描画情報も含まれる。これにより、高速に処理できるものも登場し始めている。   On the other hand, the drawing information that can be processed by such a high-performance drawing unit 23 has been mostly low-level drawing information so far, but recently, with the improvement in performance, high-level drawing information is also included. . As a result, things that can be processed at high speed have begun to appear.

このような高性能描画部23がサポートする描画命令ならびにその命令に用いられる情報の例を図13から図16に示す。図13から図16に示される描画命令は、CあるいはC++言語で表現されたものである。図13には、四角を描く描画命令が示されている。この描画命令は、対角線上の2頂点の座標を引数に含む関数で表現されている。図14には、四角を青色、三角を赤色で塗りつぶす描画命令が示されている。変数の宣言に続く4行のコードは、最初の2行が青色で塗りつぶされた四角を描画する描画命令であり、次の2行が赤色で塗りつぶされた三角を描画する描画命令である。   Examples of drawing commands supported by the high-performance drawing unit 23 and information used for the commands are shown in FIGS. The drawing commands shown in FIGS. 13 to 16 are expressed in C or C ++ language. FIG. 13 shows a drawing command for drawing a square. This drawing command is expressed by a function including the coordinates of two vertices on the diagonal as arguments. FIG. 14 shows a drawing command for painting a square in blue and a triangle in red. The four lines of code following the variable declaration are drawing instructions for drawing a square in which the first two lines are filled with blue, and the drawing instruction for drawing a triangle in which the next two lines are filled with red.

図15には、イメージを描く描画命令が示されている。この描画命令は、入力イメージの幅と、出力イメージの四角の対角線上の2頂点の座標を引数として含む関数で表現されている。図16には、文字を描く描画命令が示されている。この描画命令は、1行目が文字の大きさやフォントを引数として含む関数であり、2行目は文字コードを引数として含む関数である。
特開2004―034636号公報
FIG. 15 shows a drawing command for drawing an image. This drawing command is expressed by a function including as arguments the width of the input image and the coordinates of the two vertices on the diagonal line of the output image. FIG. 16 shows a drawing command for drawing characters. In this drawing command, the first line is a function including a character size or font as an argument, and the second line is a function including a character code as an argument.
Japanese Patent Laid-Open No. 2004-034636

しかしながら、特許文献1に開示された発明では、描画処理部15は何段階かの変換レベルを設けて高レベル描画情報からより低レベルの描画情報に変換し、さらに、描画命令変換部22は高性能描画部23が入力できる描画命令に変換して高性能描画部23に渡していた(図12参照)。   However, in the invention disclosed in Patent Document 1, the drawing processing unit 15 provides several conversion levels to convert from high-level drawing information to lower-level drawing information, and the drawing command conversion unit 22 has a high conversion level. It was converted into a drawing command that can be input by the performance drawing unit 23 and passed to the high-performance drawing unit 23 (see FIG. 12).

ここでは、描画処理部15の各々の処理部、即ちグラフィック処理部16、テキスト処理部17、イメージ処理部18、カラー処理部19が、高性能描画部23がサポートしている描画命令仕様を把握し、その仕様に従った形式のデータへの変換と命令発行を行う必要があった。   Here, each processing unit of the drawing processing unit 15, that is, the graphic processing unit 16, the text processing unit 17, the image processing unit 18, and the color processing unit 19 grasps the drawing command specifications supported by the high-performance drawing unit 23. However, it was necessary to convert the data into a format according to the specification and issue an instruction.

そのため、例えば高性能描画部23に修正が入って描画命令の仕様が変更されたり、あるいはこれまでとは全く異なる高性能描画部と入れ替えて動作させる必要が生じたりした場合、高性能描画部の変更に応じて描画処理部そのものに直接変更を加える必要があった。   Therefore, for example, when the high-performance drawing unit 23 is modified and the specifications of the drawing command are changed, or when it is necessary to operate with a high-performance drawing unit that is completely different from the conventional one, It was necessary to directly change the drawing processing unit itself in accordance with the change.

しかしながら、通常、描画処理部はPDL処理部の核となる部分であるため規模が大きく、その処理手順は複雑であるため、変更のリスクが大きく、変更の効率も悪くなりがちであった。即ち、従来技術の構成では保守性(メンテナンス性)や移植性(ポータビリティ)に問題があった。   However, since the drawing processing unit is usually a core part of the PDL processing unit, the scale is large and the processing procedure is complicated. Therefore, the risk of the change tends to be large and the efficiency of the change tends to deteriorate. That is, the configuration of the prior art has a problem in maintainability (maintainability) and portability (portability).

本発明は、上記の点に鑑みて、この問題を解決するために発明されたものであり、描画部や描画処理部の仕様変更に柔軟に対応し、保守性(メンテナンス性)や移植性(ポータビリティ)を高める描画処理装置、PDL処理装置、画像形成装置、描画命令生成方法、描画命令生成プログラム及び描画命令生成プログラムを記録した記録媒体を提供することを目的とする。   The present invention has been invented in order to solve this problem in view of the above points, and can flexibly cope with changes in the specifications of the drawing unit and the drawing processing unit, and maintainability (maintenability) and portability ( An object of the present invention is to provide a drawing processing device, a PDL processing device, an image forming device, a drawing command generation method, a drawing command generation program, and a recording medium on which a drawing command generation program is recorded.

上記の目的を達成するために、本発明の描画処理装置は、PDLデータを解釈してグラフィック、テキスト、イメージ、カラーのうちの1つ以上の描画属性毎の描画情報を抽出するPDL解釈手段を備え、前記PDL解釈手段により抽出された描画情報に基づいて、当該描画処理装置から描画命令を受けて描画する描画手段に受け渡す描画命令を生成する描画処理装置であって、前記PDL解釈手段により抽出された描画情報に基づき、描画手段の処理能力に対応した複数の変換描画情報を生成する描画処理手段と、前記描画処理手段により生成された複数の変換描画情報の内の前記描画処理装置から描画命令を受けて描画する描画手段の処理能力に対応した変換描画情報を、描画命令に変換する描画命令変換手段とを有するように構成することができる。   In order to achieve the above object, the drawing processing apparatus of the present invention includes a PDL interpretation unit that interprets PDL data and extracts drawing information for each drawing attribute of one or more of graphics, text, images, and colors. A drawing processing device for generating a drawing command to be transferred to the drawing device for receiving a drawing command from the drawing processing device and drawing based on the drawing information extracted by the PDL interpretation device, Based on the extracted drawing information, drawing processing means for generating a plurality of converted drawing information corresponding to the processing capability of the drawing means, and the drawing processing device among the plurality of converted drawing information generated by the drawing processing means It is configured to have conversion drawing information corresponding to the processing capability of the drawing means for drawing upon receiving a drawing command, and drawing command conversion means for converting the drawing instruction into a drawing command Door can be.

また、上記の目的を達成するために、本発明の前記描画処理手段は、グラフィックスの描画情報に対応するグラフィック描画情報生成手段と、テキストの描画情報に対応するテキスト描画情報生成手段と、イメージの描画情報に対応するイメージ描画情報生成手段と、カラーの描画情報に対応するカラー描画情報生成手段のいずれか1以上を含むように構成することができる。   In order to achieve the above object, the drawing processing means of the present invention includes graphic drawing information generating means corresponding to graphics drawing information, text drawing information generating means corresponding to text drawing information, and an image. One or more of image drawing information generating means corresponding to the drawing information and color drawing information generating means corresponding to the color drawing information can be included.

また、上記の目的を達成するために、本発明の前記描画処理手段は、前記描画属性毎に複数の変換描画情報を生成するように構成することができる。   In order to achieve the above object, the drawing processing means of the present invention can be configured to generate a plurality of converted drawing information for each drawing attribute.

また、上記の目的を達成するために、本発明のPDL処理装置は、上記の描画処理装置と、前記描画命令変換手段により変換された描画命令に基づきビットマップイメージを出力する描画手段とを有するように構成することができる。   In order to achieve the above object, a PDL processing device of the present invention includes the above drawing processing device and a drawing unit that outputs a bitmap image based on the drawing command converted by the drawing command conversion unit. It can be constituted as follows.

また、上記の目的を達成するために、本発明の画像形成装置は、上記のPDL処理装置と、前記PDL処理装置により出力されたビットマップイメージに基づき画像を形成するプリントエンジン手段と、前記PDL処理装置と前記プリントエンジン手段とを制御する制御手段とを有するように構成することができる。   In order to achieve the above object, an image forming apparatus according to the present invention includes the PDL processing apparatus, a print engine unit that forms an image based on a bitmap image output by the PDL processing apparatus, and the PDL. A control unit for controlling the processing device and the print engine unit may be provided.

また、上記の目的を達成するために、本発明の描画命令生成方法は、PDLデータに基づいて当該描画処理装置から描画命令を受けて描画する描画手段に受け渡す描画命令を生成する描画処理装置における描画命令生成方法であって、前記PDLデータを解釈してグラフィック、テキスト、イメージ、カラーのうちの1つ以上の描画属性毎の描画情報を抽出するPDL解釈工程と、前記PDL解釈工程において抽出された描画情報に基づき、描画手段の処理能力に対応した複数の変換描画情報を生成する描画処理工程と、前記描画処理工程において生成された複数の変換描画情報の内の前記描画処理装置から描画命令を受けて描画する描画手段の処理能力に対応した変換描画情報を、描画命令に変換する描画命令変換工程とを有するように構成することができる。   In order to achieve the above object, a drawing command generation method according to the present invention generates a drawing command that receives a drawing command from the drawing processing device based on the PDL data and transfers the drawing command to a drawing unit. A drawing command generation method in which the PDL data is interpreted to extract drawing information for each drawing attribute of one or more of graphics, text, images, and colors, and extracted in the PDL interpretation step A drawing processing step of generating a plurality of converted drawing information corresponding to the processing capability of the drawing means based on the drawn drawing information, and drawing from the drawing processing device among the plurality of converted drawing information generated in the drawing processing step A drawing command conversion step for converting the conversion drawing information corresponding to the processing capability of the drawing means for drawing upon receiving the command into a drawing command. It can be.

また、上記の目的を達成するために、本発明の前記描画処理工程は、グラフィックスの描画情報に対応するグラフィック描画情報生成工程と、テキストの描画情報に対応するテキスト描画情報生成工程と、イメージの描画情報に対応するイメージ描画情報生成工程と、カラーの描画情報に対応するカラー描画情報生成工程のいずれか1以上を含むように構成することができる。   In order to achieve the above object, the drawing processing step of the present invention includes a graphic drawing information generation step corresponding to graphics drawing information, a text drawing information generation step corresponding to text drawing information, and an image. The image drawing information generation process corresponding to the drawing information of the color and the color drawing information generation process corresponding to the color drawing information can be included.

また、上記の目的を達成するために、本発明の前記描画処理工程では、前記描画属性毎に複数の変換描画情報を生成するように構成することができる。   In order to achieve the above object, the drawing processing step of the present invention can be configured to generate a plurality of converted drawing information for each drawing attribute.

また、上記の目的を達成するために、本発明の描画命令生成プログラムは、コンピュータに、上記の描画処理装置の各手段に係る処理を実行させるように構成することができる。   In order to achieve the above object, the drawing command generation program of the present invention can be configured to cause a computer to execute processing relating to each means of the above drawing processing apparatus.

また、上記の目的を達成するために、本発明の記録媒体は、上記の描画命令生成プログラムを記録するように構成することができる。   In order to achieve the above object, the recording medium of the present invention can be configured to record the drawing command generation program.

本発明によれば、描画部や描画処理部の仕様変更に柔軟に対応し、保守性(メンテナンス性)や移植性(ポータビリティ)を高める描画処理装置、PDL処理装置、画像形成装置、描画命令生成方法、描画命令生成プログラム及び描画命令生成プログラムを記録した記録媒体を提供することができる。   According to the present invention, a drawing processing apparatus, a PDL processing apparatus, an image forming apparatus, and a drawing command generation that flexibly cope with specification changes of a drawing section and a drawing processing section and improve maintainability (maintenability) and portability (portability). A method, a drawing command generation program, and a recording medium on which the drawing command generation program is recorded can be provided.

以下、本発明を実施するための最良の形態について以下の各実施形態において図面を用いて説明する。なお、本発明を実施するための最良の形態においては画像形成装置の一例として一般的なMFP(Multi Function Printer)を例に説明を行うが、画像形成装置はこの場合に限らないものとする。   The best mode for carrying out the present invention will be described below with reference to the drawings in the following embodiments. In the best mode for carrying out the present invention, a general MFP (Multi Function Printer) will be described as an example of an image forming apparatus. However, the image forming apparatus is not limited to this case.

[第1の実施形態]
以下、本発明の第1の実施形態について図17〜図22を参照して説明する。
[First Embodiment]
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.

(装置の構成)
図17は、本実施の形態における画像形成装置の構成例を示す図である。図17において、画像形成装置1は、操作パネル2、ホストI/F装置3、プリントエンジン装置4、ROM(Read Only Memory)5、RAM(Random Access Memory)6、フレームメモリ7、不揮発性記憶装置8、描画アクセラレータ9、コントローラ装置10により構成される。また、LAN(Local Area Network)等のネットワークを介して一般的なコンピュータ装置であるホスト計算機13と接続されている。
(Device configuration)
FIG. 17 is a diagram illustrating a configuration example of the image forming apparatus according to the present embodiment. In FIG. 17, an image forming apparatus 1 includes an operation panel 2, a host I / F device 3, a print engine device 4, a ROM (Read Only Memory) 5, a RAM (Random Access Memory) 6, a frame memory 7, and a nonvolatile storage device. 8, a drawing accelerator 9 and a controller device 10. Further, it is connected to a host computer 13 which is a general computer device via a network such as a LAN (Local Area Network).

操作パネル2は、例えばタッチパネルなどで構成され、入力手段、表示手段を備えたユーザとの間のインターフェース装置である。ホストI/F装置3は、ホスト計算機13とのインターフェース装置である。例えば、ホスト計算機13からPostScriptやPCLなどのPDLで記述されたコード(PDLデータ)を受信する。プリントエンジン装置4は、実際に紙に印刷するなどのエンジン装置である。   The operation panel 2 is composed of, for example, a touch panel and is an interface device with a user including an input unit and a display unit. The host I / F device 3 is an interface device with the host computer 13. For example, a code (PDL data) described in PDL such as PostScript or PCL is received from the host computer 13. The print engine device 4 is an engine device that actually prints on paper.

ROM5は、画像形成装置1のプログラムなどを記憶する記憶装置である。RAM6は、プログラムや画像データなどが展開される記憶装置である。フレームメモリ7は、上述したビットマップイメージなどの表示用の画像データを蓄えておくのに使われる専用の記憶装置である。   The ROM 5 is a storage device that stores a program of the image forming apparatus 1 and the like. The RAM 6 is a storage device in which programs and image data are developed. The frame memory 7 is a dedicated storage device that is used to store display image data such as the bitmap image described above.

不揮発性記憶装置8は、例えば画像形成装置1の各種設定などを記憶する記憶装置である。描画アクセラレータ9は、高速に描画処理を行うハードウェアである。例えば、コンピュータの中で画面表示を担うビデオチップのうち、CPU(Central Processing Unit)に代わって描画処理を行なう機能を持ったものである。   The nonvolatile storage device 8 is a storage device that stores various settings of the image forming apparatus 1, for example. The drawing accelerator 9 is hardware that performs drawing processing at high speed. For example, a video chip that is responsible for screen display in a computer has a function of performing a drawing process in place of a CPU (Central Processing Unit).

コントローラ装置10は、画像形成装置1の全体制御を行うCPUなどの制御装置である。RAM6に記憶された画像形成装置1のプログラムなどに従って画像形成装置1の全体制御を行う。コントローラ装置10は、PDL処理部11及び装置制御部12を含む。PDL処理部11は、ホスト計算機13から送信されてくるPDLデータを解釈し、その記述内容(描画情報)に基づいて、描画処理などを行うことにより印刷のためのページ画像のビットマップイメージを生成するなどのPDLデータに係る処理を行う。また、処理が施された情報は、装置制御部12を介してフレームメモリ7に書込まれる。   The controller device 10 is a control device such as a CPU that performs overall control of the image forming apparatus 1. The overall control of the image forming apparatus 1 is performed according to the program of the image forming apparatus 1 stored in the RAM 6. The controller device 10 includes a PDL processing unit 11 and a device control unit 12. The PDL processing unit 11 interprets the PDL data transmitted from the host computer 13 and generates a bitmap image of a page image for printing by performing drawing processing based on the description content (drawing information). For example, processing related to PDL data is performed. Also, the processed information is written into the frame memory 7 via the device control unit 12.

以上で示される装置構成により、画像形成装置1は、例えばネットワークを介して接続されたホスト計算機13からの指示により例えばプリントエンジン装置4で印刷を行う。   With the apparatus configuration described above, the image forming apparatus 1 performs printing with, for example, the print engine apparatus 4 according to an instruction from the host computer 13 connected via, for example, a network.

(PDL処理部の詳細)
次に、PDL処理部11の詳細について図18を用いて説明する。図18において、PDL処理部11は、画像処理装置24、高性能描画部23により構成される。さらに、画像処理装置24は、PDL解釈部14と、描画処理部15により構成される。
(Details of PDL processing unit)
Next, details of the PDL processing unit 11 will be described with reference to FIG. In FIG. 18, the PDL processing unit 11 includes an image processing device 24 and a high-performance drawing unit 23. Further, the image processing device 24 includes a PDL interpretation unit 14 and a drawing processing unit 15.

PDL解釈部14は、PostScriptやPCLなどのPDLで記述されたコード(PDLデータ)を解釈、解析し、グラフィック、テキスト、イメージ、カラーの描画属性(描画構成要素)についての高レベル描画情報を抽出する。ここでの高レベル描画情報とは、前述したように描画命令の生成に必要なパラメータなど、ホストからの命令に近く、最終的なビットマップイメージまでには多くの変換が必要な描画情報である。   The PDL interpretation unit 14 interprets and analyzes codes (PDL data) described in PDL such as PostScript and PCL, and extracts high-level drawing information about graphics, text, image, and color drawing attributes (drawing components). To do. The high-level drawing information here is drawing information that is close to the command from the host, such as the parameters necessary for generating the drawing command as described above, and requires a lot of conversion until the final bitmap image. .

描画処理部15は、PDL解釈部14により抽出された高レベル描画情報に基づき、所定の描画処理を行う。所定の描画処理とは、例えばグラフィック処理、テキスト処理、イメージ処理、カラー処理など描画属性毎に施す画像処理である。さらに、描画処理を実行後に描画命令を生成する。また、生成した描画命令を高性能描画部23に渡す。なお、描画処理部15は、グラフィック処理部(グラフィック描画情報生成手段)16と、テキスト処理部(テキスト描画情報生成手段)17と、イメージ処理部(イメージ描画情報生成手段)18と、カラー処理部(カラー描画情報生成手段)19などにより構成される。   The drawing processing unit 15 performs predetermined drawing processing based on the high-level drawing information extracted by the PDL interpretation unit 14. The predetermined drawing processing is image processing performed for each drawing attribute such as graphic processing, text processing, image processing, and color processing. Further, a drawing command is generated after the drawing process is executed. Further, the generated drawing command is passed to the high performance drawing unit 23. The drawing processing unit 15 includes a graphic processing unit (graphic drawing information generation unit) 16, a text processing unit (text drawing information generation unit) 17, an image processing unit (image drawing information generation unit) 18, and a color processing unit. (Color drawing information generating means) 19 and the like.

本実施の形態におけるグラフィック処理部16は、PDL解釈部14から受信する高レベル描画情報に対して図2に示す変換処理の全部または一部を実施するようにする(図2に示す変換処理の全部を実施しない場合も含む)。さらに、処理後の複数の描画情報を、高性能描画部23の処理能力に対応した複数の描画命令に変換する。   The graphic processing unit 16 in the present embodiment performs all or part of the conversion processing shown in FIG. 2 on the high-level drawing information received from the PDL interpretation unit 14 (the conversion processing shown in FIG. 2). Including the case of not implementing everything). Further, the plurality of processed drawing information is converted into a plurality of drawing commands corresponding to the processing capability of the high-performance drawing unit 23.

これにより、描画処理部15は高性能描画部23に対して、高レベル描画情報を含む複数の描画情報に基づいて生成したグラフィックの描画命令を渡すことができる。ここでの高レベル描画情報とは、例えば図形の輪郭形状を表現する直線、多角形、曲線の制御点やパラメータ、図形の描画方法(輪郭の内側を塗潰すか、輪郭を線として描くか、クリップ領域とするか、など)を指定するパラメータ、描画の属性(線幅、線種、端点形状、接続形状、塗潰しルール、塗潰しパターンなど)を指定するパラメータなどである。   Accordingly, the drawing processing unit 15 can pass a graphic drawing command generated based on a plurality of drawing information including high-level drawing information to the high-performance drawing unit 23. The high-level drawing information here includes, for example, straight lines, polygons, curve control points and parameters expressing the contour shape of the figure, the drawing method of the figure (whether the inside of the outline is painted, the outline is drawn as a line, Parameters for designating a clip region, etc.), parameters for designating drawing attributes (line width, line type, end point shape, connection shape, paint rule, paint pattern, etc.), and the like.

次に、テキスト処理部17について説明する。テキスト処理部17は、PDL解釈部14から受信する高レベル描画情報に対して図3に示す変換処理の全部または一部を実施するようにする(図3に示す変換処理の全部を実施しない場合も含む)。さらに、処理後の複数の描画情報を、高性能描画部23の処理能力に対応した複数の描画命令に変換する。   Next, the text processing unit 17 will be described. The text processing unit 17 performs all or part of the conversion processing illustrated in FIG. 3 on the high-level drawing information received from the PDL interpretation unit 14 (when not performing all of the conversion processing illustrated in FIG. 3). Also included). Further, the plurality of processed drawing information is converted into a plurality of drawing commands corresponding to the processing capability of the high-performance drawing unit 23.

これにより、描画処理部15は高性能描画部23に対して、高レベル描画情報を含む複数の描画情報に基づいて生成したテキストの描画命令を渡すことができる。ここでの高レベル描画情報とは、例えば書体ID、文字ID、描画の属性(文字サイズ、描画開始位置、スタイル、回転角、白抜き網掛け等の特殊効果など)を指定するパラメータなどである。   As a result, the drawing processing unit 15 can pass a drawing command for text generated based on a plurality of drawing information including high-level drawing information to the high-performance drawing unit 23. The high-level drawing information here is, for example, a parameter for specifying a typeface ID, a character ID, drawing attributes (character size, drawing start position, style, rotation angle, special effects such as white shading), and the like. .

次に、イメージ処理部18について説明する。イメージ処理部18は、PDL解釈部14から受信する高レベル描画情報に対して図4に示す変換処理の全部または一部を実施するようにする(図4に示す変換処理の全部を実施しない場合も含む)。さらに、処理後の複数の描画情報に基づき、高性能描画部23の処理能力に対応した複数の描画命令に変換する。   Next, the image processing unit 18 will be described. The image processing unit 18 performs all or part of the conversion processing illustrated in FIG. 4 on the high-level drawing information received from the PDL interpretation unit 14 (when not performing all of the conversion processing illustrated in FIG. 4). Also included). Furthermore, it converts into a plurality of drawing commands corresponding to the processing capability of the high-performance drawing unit 23 based on the plurality of drawing information after processing.

これにより、描画処理部15は高性能描画部23に対して、高レベル描画情報を含む複数の描画情報に基づいて生成したイメージの描画命令を渡すことができる。ここでの高レベル描画情報とは、例えば高階調ビットマップデータ、圧縮方法、描画の属性(ビットマップの幅、高さ、描画開始位置、回転角、変倍率など)を指定するパラメータなどである。   Thereby, the drawing processing unit 15 can pass to the high-performance drawing unit 23 an image drawing command generated based on a plurality of drawing information including high-level drawing information. Here, the high-level drawing information is, for example, high gradation bitmap data, compression method, parameters for specifying drawing attributes (bitmap width, height, drawing start position, rotation angle, scaling factor, etc.), and the like. .

次に、カラー処理部19について説明する。カラー処理部19は、PDL解釈部14から受信する高レベル描画情報に対して図5に示す変換処理の全部または一部を実施するようにする(図5に示す変換処理の全部を実施しない場合も含む)。さらに、処理後の複数の描画情報に基づき、高性能描画部23の処理能力に対応した複数の描画命令に変換する。   Next, the color processing unit 19 will be described. The color processing unit 19 performs all or part of the conversion processing illustrated in FIG. 5 on the high-level drawing information received from the PDL interpretation unit 14 (when not performing all of the conversion processing illustrated in FIG. 5). Also included). Furthermore, it converts into a plurality of drawing commands corresponding to the processing capability of the high-performance drawing unit 23 based on the plurality of drawing information after processing.

これにより、描画処理部15は高性能描画部23に対して、高レベル描画情報を含む複数の描画情報に基づいて生成したカラーの描画命令を渡すことができる。ここでの高レベル描画情報とは、例えばRGBまたはCMYまたはCMYKまたはCIEの色空間における特定色を高階調で指定するパラメータ、グラデーションを指定するパラメータ、カラー変換の属性(カラーマッチング、BG/UCR/γ、総量規制、階調変換など)を指定するパラメータである。   Accordingly, the drawing processing unit 15 can pass a color drawing command generated based on a plurality of drawing information including high-level drawing information to the high-performance drawing unit 23. The high-level drawing information here includes, for example, a parameter for designating a specific color in RGB, CMY, CMYK, or CIE color space with high gradation, a parameter for designating gradation, and a color conversion attribute (color matching, BG / UCR / (γ, total amount regulation, gradation conversion, etc.).

(描画処理部15の概要)
続いて、描画処理部15の各々の処理部(グラフィック処理部16、テキスト処理部17、イメージ処理部18、カラー処理部19)の詳細について説明を行うに先立ち、各々の処理部が高レベル描画情報を複数の変換描画情報(複数段階の変換レベル描画情報)に変換することが可能であることについて説明する。
(Outline of the drawing processing unit 15)
Subsequently, prior to describing the details of each processing unit (graphic processing unit 16, text processing unit 17, image processing unit 18, color processing unit 19) of the drawing processing unit 15, each processing unit performs high-level drawing. It will be described that information can be converted into a plurality of pieces of converted drawing information (a plurality of levels of conversion level drawing information).

複数の変換描画情報とは、例えば高レベル描画情報、準高レベル描画情報、中レベル描画情報、低レベル描画情報などである。高レベル描画情報とは、例えば変換処理が施されていない描画情報である。準高レベル描画情報とは、所定数(例えば1〜2)の変換処理が施された高レベル描画情報である。中レベル描画情報とは、所定数(例えば3〜5)の変換処理が施された高レベル描画情報である。低レベル描画情報とは、所定数(例えば6以上)の変換処理が施された高レベル描画情報である。このように、準高レベル描画情報、中レベル描画情報とは、高レベル描画情報から低レベル描画情報までに存在するレベルの描画情報を複数段階に分けたうちの一つを意味する。   The plurality of converted drawing information includes, for example, high level drawing information, semi-high level drawing information, medium level drawing information, and low level drawing information. The high level drawing information is drawing information that has not been subjected to conversion processing, for example. The quasi-high level drawing information is high level drawing information that has been subjected to a predetermined number (for example, 1-2) of conversion processes. The medium level drawing information is high level drawing information that has been subjected to a predetermined number (for example, 3 to 5) of conversion processes. The low-level drawing information is high-level drawing information that has been subjected to a predetermined number (for example, 6 or more) of conversion processes. Thus, the semi-high level drawing information and the medium level drawing information mean one of the levels of drawing information existing from the high level drawing information to the low level drawing information divided into a plurality of stages.

このように、複数の変換描画情報は、高性能描画部23の処理能力などに応じて上記所定数により識別されているが、これは本実施の形態における説明の便宜を図るためである。複数の変換描画情報は、描画処理部15及び高性能描画部23の処理能力などに応じて異なる形態をとって識別されてもよいし識別しなくてもよい。   As described above, the plurality of pieces of converted drawing information are identified by the predetermined number in accordance with the processing capability of the high-performance drawing unit 23, for the sake of convenience of explanation in the present embodiment. The plurality of converted drawing information may be identified in different forms depending on the processing capability of the drawing processing unit 15 and the high performance drawing unit 23, or may not be identified.

なお、各々の処理部は、高性能描画部23が処理可能な変換描画情報のうち最も高レベル描画情報に変換すると、より高速な処理が望める。   It should be noted that each processing unit can expect higher speed processing when converted into the highest level drawing information among the converted drawing information that can be processed by the high performance drawing unit 23.

以下、上記複数の変換描画情報について描画処理部15の各処理部ごとに説明する。なお、以下の説明においては、各処理部が高レベル描画情報を描画命令へ変換して高性能描画部23を呼び出すまでの間に、何段階かの変換レベルを設けて処理を段階的にさせる構成を例に説明を行う。   Hereinafter, the plurality of conversion drawing information will be described for each processing unit of the drawing processing unit 15. In the following description, each processing unit converts the high level drawing information into a drawing command and calls the high-performance drawing unit 23 to provide several conversion levels to make the processing step by step. The configuration will be described as an example.

(グラフィック処理部)
まず、グラフィック処理部16についての複数の変換描画情報の例を説明する。図19は、実施形態1に係るグラフィック処理部16−2の構成例を示す図である。図19において、グラフィック処理部16−2は、パス生成部30、座標変換部31、曲線直線分割部32、直線輪郭生成部33、走査線変換部34、矩形台形抽出部35、描画命令変換部36とからなる。
(Graphic processing part)
First, an example of a plurality of converted drawing information for the graphic processing unit 16 will be described. FIG. 19 is a diagram illustrating a configuration example of the graphic processing unit 16-2 according to the first embodiment. In FIG. 19, the graphic processing unit 16-2 includes a path generation unit 30, a coordinate conversion unit 31, a curve straight line division unit 32, a straight line outline generation unit 33, a scanning line conversion unit 34, a rectangular trapezoid extraction unit 35, and a drawing command conversion unit. 36.

この構成により、高レベル描画情報を受信したグラフィック処理部16−2では、パス生成部30は、高レベル描画情報に基づいてパスを生成する。続いて座標変換部31は座標変換を行う。なお、パス生成部30(又は座標変換部31)は描画命令変換部36を呼び出す動作も行う。このとき、グラフィック処理部16−2は準高レベル描画情報を生成して描画命令変換部36を呼び出す構図となる。   With this configuration, in the graphic processing unit 16-2 that has received the high-level drawing information, the path generation unit 30 generates a path based on the high-level drawing information. Subsequently, the coordinate conversion unit 31 performs coordinate conversion. The path generation unit 30 (or the coordinate conversion unit 31) also performs an operation for calling the drawing command conversion unit 36. At this time, the graphic processing unit 16-2 generates the quasi-high level drawing information and calls the drawing command conversion unit 36.

さらに、曲線直線分割部32は曲線及び直線の分割を行う。続いて直線輪郭生成部33は曲線に分割された部分の輪郭を生成する。なお、曲線直線分割部32(又は直線輪郭生成部33)は描画命令変換部36を呼び出す動作も行う。このとき、グラフィック処理部16−2は中レベル描画情報を生成して描画命令変換部36を呼び出す構図となっている。   Further, the curved line dividing unit 32 divides a curve and a straight line. Subsequently, the straight line contour generation unit 33 generates a contour of a portion divided into curves. Note that the curved line dividing unit 32 (or the straight line contour generating unit 33) also performs an operation of calling the drawing command converting unit 36. At this time, the graphic processing unit 16-2 is configured to generate middle level drawing information and call the drawing command conversion unit 36.

さらに、走査線変換部34は走査線変換を行う。続いて矩形台形抽出部35は矩形、台形を抽出する。このようにして低レベル描画情報へ変換して描画命令変換部36を呼び出す。   Further, the scanning line conversion unit 34 performs scanning line conversion. Subsequently, the rectangular trapezoid extraction unit 35 extracts a rectangle and a trapezoid. In this way, the drawing command conversion unit 36 is called by converting into low level drawing information.

なお、すべてのグラフィックのデータについて、一律にこの変換レベルを適用するのではなく、グラフィックのデータの種類などに応じて変換レベルを決定してもよい。   Note that this conversion level may not be applied uniformly to all graphic data, but the conversion level may be determined according to the type of graphic data.

例えば、図18に示す高性能描画部23を用いてグラフィックの実線を描画した時(即ちグラフィックのデータが実線である場合)に従来の描画処理部15(図1参照)の描画結果と同じ結果が得られる。すなわち、この場合において互換性があるが、グラフィックの破線を描画した時(即ちグラフィックのデータが破線である場合)には、互換性が得られないといったケースが考えられる。   For example, when a graphic solid line is drawn using the high-performance drawing unit 23 shown in FIG. 18 (that is, when the graphic data is a solid line), the same result as the drawing result of the conventional drawing processing unit 15 (see FIG. 1). Is obtained. In other words, in this case, there is compatibility, but when a graphic broken line is drawn (that is, when graphic data is a broken line), there is a case where compatibility is not obtained.

その場合は、グラフィックのデータが実線である場合には、図19に示す座標変換部31が準高レベル描画情報を描画命令変換部36に渡し、破線である場合には、図19に示す直線輪郭生成部33が中レベル描画情報を描画命令変換部36に渡すといった対応をとることができる。   In this case, when the graphic data is a solid line, the coordinate conversion unit 31 shown in FIG. 19 passes the quasi-high level drawing information to the drawing command conversion unit 36, and when the graphic data is a broken line, the straight line shown in FIG. For example, the contour generation unit 33 can pass the medium level drawing information to the drawing command conversion unit 36.

同様に、ランキャップや、ジョインタイプなどのグラフィックでの描画指定において、上記グラフィック処理部16−2は、高性能描画部23が機能を持ち合わせていない、あるいは従来の描画処理部15と機能が異なるといった事がある場合も互換性を保って描画処理を実施する事ができる。   Similarly, the graphic processing unit 16-2 does not have the function of the graphic processing unit 16-2 or has a function different from that of the conventional drawing processing unit 15 in designating drawing with graphics such as a run cap and a join type. Even if there is such a thing, drawing processing can be performed with compatibility maintained.

(テキスト処理部)
次に、テキスト処理部17についての複数の変換描画情報の例を説明する。図20は、実施形態1に係るテキスト処理部の構成例を示す図である。図20において、テキスト処理部17−2は、アウトラインデータから文字輪郭データ取得処理部37、グラフィックによる塗り潰し処理部38と、描画命令変換部36とからなる。
(Text processing part)
Next, an example of a plurality of converted drawing information for the text processing unit 17 will be described. FIG. 20 is a diagram illustrating a configuration example of the text processing unit according to the first embodiment. In FIG. 20, the text processing unit 17-2 includes a character outline data acquisition processing unit 37 from outline data, a graphic fill processing unit 38, and a drawing command conversion unit 36.

この構成により、高レベル描画情報を受信したテキスト処理部17−2では、アウトラインデータから文字輪郭データ取得処理部37は、受信した高レベル描画情報(書体ID、文字ID、文字の属性といった情報)のアウトラインデータから文字輪郭データを取得する処理を行う。なお、アウトラインデータから文字輪郭データ取得処理部37は描画命令変換部36を呼び出す動作も行う。このとき、テキスト処理部17−2は準高レベル描画情報を生成して描画命令変換部36を呼び出す構図となる。   With this configuration, in the text processing unit 17-2 that has received the high-level drawing information, the character outline data acquisition processing unit 37 from the outline data receives the received high-level drawing information (information such as typeface ID, character ID, and character attributes). The character outline data is acquired from the outline data. Note that the character outline data acquisition processing unit 37 from the outline data also performs an operation of calling the drawing command conversion unit 36. At this time, the text processing unit 17-2 has a composition for generating the semi-high level drawing information and calling the drawing command converting unit 36.

さらに、グラフィック処理による塗り潰し処理部38はグラフィック処理による塗り潰し処理を行う。このようにして低レベル描画情報(ここでは2値ビットマップイメージ化されたテキストデータ)へ変換して描画命令変換部36を呼び出す。   Further, the painting processing unit 38 by graphic processing performs painting processing by graphic processing. In this way, the drawing command conversion unit 36 is called after converting into low-level drawing information (here, text data converted into a binary bitmap image).

なお、前述したグラフィック処理部16−2と同様に、すべてのテキストのデータについて、一律にこの変換レベルを適用するのではなく、テキストのデータの種類などに応じて変換レベルを決定してもよい。   As with the graphic processing unit 16-2 described above, this conversion level is not applied uniformly to all text data, but the conversion level may be determined according to the type of text data. .

(イメージ処理部)
続いて、イメージ処理部18についての複数の変換描画情報の例を説明する。図21は、実施形態1に係るイメージ処理部の構成例を示す図である。図21において、イメージ処理部18−2は、圧縮解凍部39、回転部40、変倍部41、カラー処理部による色変換部42、階調変換部43、描画命令変換部36とからなる。
(Image processing part)
Next, an example of a plurality of converted drawing information for the image processing unit 18 will be described. FIG. 21 is a diagram illustrating a configuration example of the image processing unit according to the first embodiment. In FIG. 21, the image processing unit 18-2 includes a compression / decompression unit 39, a rotation unit 40, a scaling unit 41, a color conversion unit 42 using a color processing unit, a gradation conversion unit 43, and a drawing command conversion unit 36.

図21に示す一連の変換工程において、イメージ処理部18―2は、それぞれの工程終了後描画命令変換部36を呼び出す事もできる。具体的にこのイメージ処理部18−2が実行する工程は、圧縮解凍部39、回転部40、変倍部41、カラー処理部による色変換部42、階調変換部43が行う処理に工程分けされる。   In the series of conversion steps shown in FIG. 21, the image processing unit 18-2 can also call the drawing command conversion unit 36 after the completion of each step. Specifically, the process executed by the image processing unit 18-2 is divided into processes performed by the compression / decompression unit 39, the rotation unit 40, the scaling unit 41, the color conversion unit 42 by the color processing unit, and the gradation conversion unit 43. Is done.

この構成により、高レベル描画情報を受信したイメージ処理部18−2では、圧縮解凍部39は、受信した高レベル描画情報(圧縮情報)に対して解凍処理などを行う。さらに、回転部40は回転処理を行う。なお、圧縮解凍部39(又は回転部40)が描画命令変換部36を呼び出すとき、イメージ処理部18−2は準高レベル描画情報を生成して描画命令変換部36を呼び出す構図となる。   With this configuration, in the image processing unit 18-2 that has received the high-level drawing information, the compression / decompression unit 39 performs a decompression process on the received high-level drawing information (compression information). Further, the rotation unit 40 performs a rotation process. When the compression / decompression unit 39 (or the rotation unit 40) calls the drawing command conversion unit 36, the image processing unit 18-2 generates a quasi-high level drawing information and calls the drawing command conversion unit 36.

さらに、変倍部41は変倍処理を行う。さらに、カラー処理部による色変換部42は後述のカラー処理部19による色変換を行う。なお、カラー処理部による色変換部42(又は変倍部41)が描画命令変換部36を呼び出すとき、イメージ処理部18−2は中レベル描画情報を生成して描画命令変換部36を呼び出す構図となる。   Further, the scaling unit 41 performs scaling processing. Further, the color conversion unit 42 by the color processing unit performs color conversion by the color processing unit 19 described later. When the color conversion unit 42 (or scaling unit 41) by the color processing unit calls the drawing command conversion unit 36, the image processing unit 18-2 generates medium level drawing information and calls the drawing command conversion unit 36. It becomes.

さらに、階調変換部43は階調変換処理を行う。なお、階調変換部43が描画命令変換部36を呼び出すとき、イメージ処理部18−2は低レベル描画情報を生成して描画命令変換部36を呼び出す構図となる。   Further, the gradation conversion unit 43 performs gradation conversion processing. When the gradation conversion unit 43 calls the drawing command conversion unit 36, the image processing unit 18-2 generates low-level drawing information and calls the drawing command conversion unit 36.

なお、前述したグラフィック処理部16−2と同様に、すべてのイメージのデータについて、一律にこの変換レベルを適用するのではなく、イメージのデータの種類などに応じて変換レベルを決定してもよい。   As with the graphic processing unit 16-2 described above, this conversion level is not applied uniformly to all image data, but the conversion level may be determined according to the type of image data. .

例えば、90度単位(0/90/180/270度)の回転を伴う描画の場合(即ち、イメージのデータが90度単位の回転を伴う場合)、イメージ処理部18−2では、圧縮解凍部39が処理を実行して変換描画情報を生成した後、描画命令変換部36を呼び出す。描画命令変換部36は変換描画情報を描画命令に変換して高性能描画部23にイメージデータを準高レベル描画情報として渡す。それ以外の回転の場合(即ち、イメージのデータが90度単位の回転を伴わない場合)、回転部40が回転処理を実行し、変倍部41が変倍したイメージのデータを作成した後、描画命令変換部36を呼び出す。描画命令変換部36は変換描画情報を描画命令に変換して高性能描画部23にイメージデータを中レベル描画情報として渡す。このようにイメージのデータの種類に応じた対応をとることができる。   For example, in the case of drawing with rotation in units of 90 degrees (0/90/180/270 degrees) (that is, in the case where image data is rotated in units of 90 degrees), the image processing unit 18-2 compresses and decompresses 39 executes the process to generate conversion drawing information, and then calls the drawing command conversion unit 36. The drawing command conversion unit 36 converts the converted drawing information into a drawing command and passes the image data to the high performance drawing unit 23 as quasi-high level drawing information. In the case of other rotations (that is, when the image data is not accompanied by a rotation of 90 degrees), the rotation unit 40 executes the rotation process, and the scaling unit 41 creates the scaled image data. The drawing command conversion unit 36 is called. The drawing command conversion unit 36 converts the converted drawing information into a drawing command and passes the image data to the high performance drawing unit 23 as medium level drawing information. In this way, it is possible to take measures according to the type of image data.

つまり特定の画像処理に基づいて、高性能描画部23を利用するレベルを決定する事ができる。あるいは、変倍についても、整数倍の拡大、または整数分の1倍の縮少の場合、高性能描画部23は、回転部40が回転処理実行して変換描画情報を生成した後、描画命令変換部36を呼び出す。描画命令変換部36は変換描画情報を描画命令に変換して高性能描画部23にイメージデータを渡す。それ以外の変倍の場合については、回転部40が回転処理を実行し、変倍部41が変倍したイメージのデータを作成した後、描画命令変換部36を呼び出す。描画命令変換部36は変換描画情報を描画命令に変換して高性能描画部23にイメージデータを中レベル描画情報として渡すという対応をとることができる。   That is, the level at which the high-performance rendering unit 23 is used can be determined based on specific image processing. Alternatively, in the case of variable magnification, in the case of enlargement by an integral multiple or reduction by a fraction of an integer, the high performance drawing unit 23 performs a rotation process by the rotation unit 40 to generate conversion drawing information, and then draws a drawing command. The conversion unit 36 is called. The drawing command conversion unit 36 converts the converted drawing information into a drawing command and passes the image data to the high performance drawing unit 23. For other zooming cases, the rotation unit 40 executes the rotation process, and the zooming unit 41 creates the scaled image data, and then calls the drawing command conversion unit 36. The drawing command conversion unit 36 can take the correspondence of converting the converted drawing information into a drawing command and passing the image data to the high performance drawing unit 23 as medium level drawing information.

(カラー処理部)
続いて、カラー処理部19についての複数の変換描画情報の例を説明する。図22は、実施形態1に係るカラー処理部の構成例を示す図である。図22において、カラー処理部19−2は、カラーマッチング処理部44、補色変換処理部45、BG/UCR・グレイ変換処理部46、CIEからXYZ中間色変換処理部47、XYZからCMYKレンダリング色変換処理部48、ガンマ補正処理部49、総量規制処理部50、描画命令変換部36とからなる。
(Color processing part)
Next, an example of a plurality of converted drawing information for the color processing unit 19 will be described. FIG. 22 is a diagram illustrating a configuration example of the color processing unit according to the first embodiment. In FIG. 22, a color processing unit 19-2 includes a color matching processing unit 44, a complementary color conversion processing unit 45, a BG / UCR / gray conversion processing unit 46, a CIE to XYZ intermediate color conversion processing unit 47, and an XYZ to CMYK rendering color conversion process. Unit 48, gamma correction processing unit 49, total amount regulation processing unit 50, and drawing command conversion unit 36.

図22において、入力されたカラー情報がRGB色の場合、CIEからXYZ中間色変換処理部47、XYZからCMYKレンダリング色変換処理部48の工程は不要である。また、入力されたカラー情報がCIE色の場合、カラーマッチング処理部44と、補色変換処理部45と、BG/UCR・グレイ変換処理部46の工程は不要である。   In FIG. 22, when the input color information is RGB color, the steps of CIE to XYZ intermediate color conversion processing unit 47 and XYZ to CMYK rendering color conversion processing unit 48 are unnecessary. When the input color information is CIE color, the steps of the color matching processing unit 44, the complementary color conversion processing unit 45, and the BG / UCR / gray conversion processing unit 46 are unnecessary.

この構成により、高レベル描画情報を受信したカラー処理部19−2では、高性能描画部23との間で、処理に係る負荷を分散させる事によって最適な高性能化を図る事ができる。   With this configuration, the color processing unit 19-2 that has received the high-level drawing information can achieve optimum performance by distributing the processing load with the high-performance drawing unit 23.

以上、描画処理部15の各処理部ごとに説明してきた。グラフィック処理部16−2と、テキスト処理部17−2と、イメージ処理部18−2と、カラー処理部19−2が、高性能描画部23に渡す描画命令やデータの内容の変換処理の全部または一部を実施する(変換処理の全部を実施しない場合も含む)ようにして受け渡すことによって、描画処理をなるべく早い段階で高性能描画部23が受け持つことができるため、描画処理全体の処理が高速化される。   In the foregoing, each processing unit of the drawing processing unit 15 has been described. All of the conversion processing of the rendering commands and data contents that the graphic processing unit 16-2, the text processing unit 17-2, the image processing unit 18-2, and the color processing unit 19-2 pass to the high-performance rendering unit 23 Alternatively, the high-performance rendering unit 23 can handle the rendering process as early as possible by performing a part of the process (including the case where the entire conversion process is not performed). Is faster.

高性能描画部23に、描画処理部15によって低レベル描画情報に落とし込むことなく、より高レベル描画情報に近い描画情報から変換された描画命令を、高性能描画部23に受け渡すことによって、描画処理全体の高速化が図れる。   The drawing command converted from the drawing information closer to the higher level drawing information is transferred to the high performance drawing unit 23 without being dropped into the low level drawing information by the drawing processing unit 15. The entire process can be speeded up.

また、DL生成部20を削除し、高性能描画部23で処理を行うことにより、従来はDL生成部20で生成され、RAM6内に蓄積された大量のDLデータを生成、蓄積する必要がなくなるため、大量のDLデータのRAM6への書込みと読込みにかかっていた処理時間を省くことができる。   In addition, by deleting the DL generation unit 20 and performing processing by the high-performance rendering unit 23, it is no longer necessary to generate and store a large amount of DL data that is conventionally generated by the DL generation unit 20 and stored in the RAM 6. Therefore, the processing time required for writing and reading a large amount of DL data to the RAM 6 can be saved.

その結果、図1で示した従来の構成や、図12で示した方法で高性能描画部23を組込む構成よりもPDL処理全体の処理速度の向上を図ることができる。   As a result, the processing speed of the entire PDL processing can be improved as compared with the conventional configuration shown in FIG. 1 and the configuration in which the high-performance rendering unit 23 is incorporated by the method shown in FIG.

[第2の実施形態]
以下、本発明の第2の実施形態について図23〜図27を参照して説明する。
[Second Embodiment]
Hereinafter, a second embodiment of the present invention will be described with reference to FIGS.

本実施の形態2における画像形成装置の装置構成例は、前述の実施形態1に係るそれ(図17参照)と同様であるとしてここでは説明を省略する。   The apparatus configuration example of the image forming apparatus according to the second embodiment is the same as that according to the above-described first embodiment (see FIG. 17), and the description thereof is omitted here.

(PDL処理部の詳細)
次に、PDL処理部11の詳細について図23を用いて説明する。図23において、PDL処理部11は、画像処理装置24、高性能描画部23により構成される。さらに、画像処理装置24は、PDL解釈部14、描画処理部15、描画命令変換部25により構成される。
(Details of PDL processing unit)
Next, details of the PDL processing unit 11 will be described with reference to FIG. In FIG. 23, the PDL processing unit 11 includes an image processing device 24 and a high-performance drawing unit 23. Further, the image processing device 24 includes a PDL interpretation unit 14, a drawing processing unit 15, and a drawing command conversion unit 25.

PDL解釈部14は、PostScriptやPCLなどのPDLで記述されたコード(PDLデータ)を解釈、解析し、グラフィック、テキスト、イメージ、カラーの描画属性(描画構成要素)についての高レベル描画情報を抽出する。ここでの高レベル描画情報とは、前述したように描画命令の生成に必要なパラメータなど、ホストからの命令に近く、最終的なビットマップイメージまでには多くの変換が必要な描画情報である。   The PDL interpretation unit 14 interprets and analyzes codes (PDL data) described in PDL such as PostScript and PCL, and extracts high-level drawing information about graphics, text, image, and color drawing attributes (drawing components). To do. The high-level drawing information here is drawing information that is close to the command from the host, such as the parameters necessary for generating the drawing command as described above, and requires a lot of conversion until the final bitmap image. .

描画処理部15は、PDL解釈部14により抽出された高レベルな描画情報に基づき、所定の描画処理を行う。所定の描画処理とは、例えばグラフィック処理、テキスト処理、イメージ処理、カラー処理など描画属性毎に施す画像処理である。また、所定の描画処理を施した描画情報(低レベル描画情報、中レベル描画情報、準高レベル描画情報、高レベル描画情報など)を描画命令変換部25に渡す。なお、描画処理部25は、グラフィック処理部16と、テキスト処理部17と、イメージ処理部18と、カラー処理部19などにより構成される。   The drawing processing unit 15 performs predetermined drawing processing based on the high-level drawing information extracted by the PDL interpretation unit 14. The predetermined drawing processing is image processing performed for each drawing attribute such as graphic processing, text processing, image processing, and color processing. In addition, drawing information (low level drawing information, medium level drawing information, semi-high level drawing information, high level drawing information, etc.) subjected to a predetermined drawing process is passed to the drawing command conversion unit 25. The drawing processing unit 25 includes a graphic processing unit 16, a text processing unit 17, an image processing unit 18, a color processing unit 19, and the like.

描画命令変換部25は、描画処理部15から受信した描画情報を、描画命令に変換して高性能描画部23に渡す。高性能描画部23は、描画命令変換部25から描画命令を受けて描画処理を行う。   The drawing command conversion unit 25 converts the drawing information received from the drawing processing unit 15 into a drawing command and passes it to the high performance drawing unit 23. The high performance drawing unit 23 receives a drawing command from the drawing command conversion unit 25 and performs a drawing process.

本実施の形態におけるグラフィック処理部16は、PDL解釈部14から受信する高レベル描画情報に対して図2に示す変換処理の全部または一部を実施するようにする(図2に示す変換処理の全部を実施しない場合も含む)。さらに、処理後の複数の描画情報を描画命令変換部25に渡す。続いて、描画命令変換部25は、処理後の複数の描画情報に基づき、高性能描画部23の処理能力に対応した複数の描画命令に変換する。   The graphic processing unit 16 in the present embodiment performs all or part of the conversion processing shown in FIG. 2 on the high-level drawing information received from the PDL interpretation unit 14 (the conversion processing shown in FIG. 2). Including the case of not implementing everything). Further, a plurality of processed drawing information is passed to the drawing command conversion unit 25. Subsequently, the drawing command conversion unit 25 converts the drawing commands into a plurality of drawing commands corresponding to the processing capability of the high-performance drawing unit 23 based on the processed drawing information.

これにより、画像処理装置24は高性能描画部23に対して、高レベル描画情報を含む複数の描画情報に基づいて生成したグラフィックの描画命令を渡すことができる。ここでの高レベル描画情報とは、例えば図形の輪郭形状を表現する直線、多角形、曲線の制御点やパラメータ、図形の描画方法(輪郭の内側を塗潰すか、輪郭を線として描くか、クリップ領域とするか、など)を指定するパラメータ、描画の属性(線幅、線種、端点形状、接続形状、塗潰しルール、塗潰しパターンなど)を指定するパラメータなどである。   Accordingly, the image processing device 24 can pass a graphic drawing command generated based on a plurality of drawing information including high-level drawing information to the high-performance drawing unit 23. The high-level drawing information here includes, for example, straight lines, polygons, curve control points and parameters expressing the contour shape of the figure, the drawing method of the figure (whether the inside of the outline is painted, the outline is drawn as a line, Parameters for designating a clip region, etc.), parameters for designating drawing attributes (line width, line type, end point shape, connection shape, paint rule, paint pattern, etc.), and the like.

次に、テキスト処理部17について説明する。テキスト処理部17は、PDL解釈部14から受信する高レベル描画情報に対して図3に示す変換処理の全部または一部を実施するようにする(図3に示す変換処理の全部を実施しない場合も含む)。さらに、処理後の複数の描画情報を描画命令変換部25に渡す。続いて、描画命令変換部25は、処理後の複数の描画情報に基づき、高性能描画部23の処理能力に対応した複数の描画命令に変換する。   Next, the text processing unit 17 will be described. The text processing unit 17 performs all or part of the conversion processing illustrated in FIG. 3 on the high-level drawing information received from the PDL interpretation unit 14 (when not performing all of the conversion processing illustrated in FIG. 3). Also included). Further, a plurality of processed drawing information is passed to the drawing command conversion unit 25. Subsequently, the drawing command conversion unit 25 converts the drawing commands into a plurality of drawing commands corresponding to the processing capability of the high-performance drawing unit 23 based on the processed drawing information.

これにより、画像処理装置24は高性能描画部23に対して、高レベル描画情報を含む複数の描画情報に基づいて生成したテキストの描画命令を渡すことができる。ここでの高レベル描画情報とは、例えば書体ID、文字ID、描画の属性(文字サイズ、描画開始位置、スタイル、回転角、白抜き網掛け等の特殊効果など)を指定するパラメータなどである。   As a result, the image processing device 24 can pass a text drawing command generated based on a plurality of drawing information including high-level drawing information to the high-performance drawing unit 23. The high-level drawing information here is, for example, a parameter for specifying a typeface ID, a character ID, drawing attributes (character size, drawing start position, style, rotation angle, special effects such as white shading), and the like. .

次に、イメージ処理部18について説明する。イメージ処理部18は、PDL解釈部14から受信する高レベル描画情報に対して図4に示す変換処理の全部または一部を実施するようにする(図4に示す変換処理の全部を実施しない場合も含む)。さらに、処理後の複数の描画情報を描画命令変換部25に渡す。続いて、描画命令変換部25は、処理後の複数の描画情報に基づき、高性能描画部23の処理能力に対応した複数の描画命令に変換する。   Next, the image processing unit 18 will be described. The image processing unit 18 performs all or part of the conversion processing illustrated in FIG. 4 on the high-level drawing information received from the PDL interpretation unit 14 (when not performing all of the conversion processing illustrated in FIG. 4). Also included). Further, a plurality of processed drawing information is passed to the drawing command conversion unit 25. Subsequently, the drawing command conversion unit 25 converts the drawing commands into a plurality of drawing commands corresponding to the processing capability of the high-performance drawing unit 23 based on the processed drawing information.

これにより、画像処理装置24は高性能描画部23に対して、高レベル描画情報を含む複数の描画情報に基づいて生成したイメージの描画命令を渡すことができる。ここでの高レベル描画情報とは、例えば高階調ビットマップデータ、圧縮方法、描画の属性(ビットマップの幅、高さ、描画開始位置、回転角、変倍率など)を指定するパラメータなどである。   As a result, the image processing device 24 can pass an image drawing command generated based on a plurality of drawing information including high-level drawing information to the high-performance drawing unit 23. Here, the high-level drawing information is, for example, high gradation bitmap data, compression method, parameters for specifying drawing attributes (bitmap width, height, drawing start position, rotation angle, scaling factor, etc.), and the like. .

次に、カラー処理部19について説明する。カラー処理部19は、PDL解釈部14から受信する高レベル描画情報に対して図5に示す変換処理の全部または一部を実施するようにする(図5に示す変換処理の全部を実施しない場合も含む)。さらに、処理後の複数の描画情報を描画命令変換部25に渡す。続いて、描画命令変換部25は、処理後の複数の描画情報に基づき、高性能描画部23の処理能力に対応した複数の描画命令に変換する。   Next, the color processing unit 19 will be described. The color processing unit 19 performs all or part of the conversion processing illustrated in FIG. 5 on the high-level drawing information received from the PDL interpretation unit 14 (when not performing all of the conversion processing illustrated in FIG. 5). Also included). Further, a plurality of processed drawing information is passed to the drawing command conversion unit 25. Subsequently, the drawing command conversion unit 25 converts the drawing commands into a plurality of drawing commands corresponding to the processing capability of the high-performance drawing unit 23 based on the processed drawing information.

これにより、画像処理装置24は高性能描画部23に対して、高レベル描画情報を含む複数の描画情報に基づいて生成したカラーの描画命令を渡すことができる。ここでの高レベル描画情報とは、例えばRGBまたはCMYまたはCMYKまたはCIEの色空間における特定色を高階調で指定するパラメータ、グラデーションを指定するパラメータ、カラー変換の属性(カラーマッチング、BG/UCR/γ、総量規制、階調変換など)を指定するパラメータである。   Accordingly, the image processing device 24 can pass a color drawing command generated based on a plurality of pieces of drawing information including high-level drawing information to the high-performance drawing unit 23. The high-level drawing information here includes, for example, a parameter for designating a specific color in RGB, CMY, CMYK, or CIE color space with high gradation, a parameter for designating gradation, and a color conversion attribute (color matching, BG / UCR / (γ, total amount regulation, gradation conversion, etc.).

(描画処理部15の概要)
続いて、描画処理部15の各々の処理部(グラフィック処理部16、テキスト処理部17、イメージ処理部18、カラー処理部19)の詳細について説明を行うに先立ち、各々の処理部が高レベル描画情報を複数の変換描画情報(複数段階の変換レベル描画情報)に変換することが可能であることについて説明する。
(Outline of the drawing processing unit 15)
Subsequently, prior to describing the details of each processing unit (graphic processing unit 16, text processing unit 17, image processing unit 18, color processing unit 19) of the drawing processing unit 15, each processing unit performs high-level drawing. It will be described that information can be converted into a plurality of pieces of converted drawing information (a plurality of levels of conversion level drawing information).

複数の変換描画情報とは、例えば高レベル描画情報、準高レベル描画情報、中レベル描画情報、低レベル描画情報などである。高レベル描画情報とは、例えば変換処理が施されていない描画情報である。準高レベル描画情報とは、所定数(例えば1〜2)の変換処理が施された高レベル描画情報である。中レベル描画情報とは、所定数(例えば3〜5)の変換処理が施された高レベル描画情報である。低レベル描画情報とは、所定数(例えば6以上)の変換処理が施された高レベル描画情報である。このように、準高レベル描画情報、中レベル描画情報とは、高レベル描画情報から低レベル描画情報までに存在するレベルの描画情報を複数段階に分けたうちの一つを意味する。   The plurality of converted drawing information includes, for example, high level drawing information, semi-high level drawing information, medium level drawing information, and low level drawing information. The high level drawing information is drawing information that has not been subjected to conversion processing, for example. The quasi-high level drawing information is high level drawing information that has been subjected to a predetermined number (for example, 1-2) of conversion processes. The medium level drawing information is high level drawing information that has been subjected to a predetermined number (for example, 3 to 5) of conversion processes. The low-level drawing information is high-level drawing information that has been subjected to a predetermined number (for example, 6 or more) of conversion processes. Thus, the semi-high level drawing information and the medium level drawing information mean one of the levels of drawing information existing from the high level drawing information to the low level drawing information divided into a plurality of stages.

このように、複数の変換描画情報は、高性能描画部23の処理能力などに応じて上記所定数により識別されているが、これは本実施の形態における説明の便宜を図るためでもある。複数の変換描画情報は、描画処理部15及び高性能描画部23の処理能力などに応じて異なる形態をとって識別されてもよいし識別しなくてもよい。   As described above, the plurality of pieces of converted drawing information are identified by the predetermined number in accordance with the processing capability of the high-performance drawing unit 23, but this is also for convenience of explanation in the present embodiment. The plurality of converted drawing information may be identified in different forms depending on the processing capability of the drawing processing unit 15 and the high performance drawing unit 23, or may not be identified.

なお、各々の処理部は、高性能描画部23が処理可能な変換描画情報のうち最も高レベル描画情報に変換すると、より高速な処理が望める。   It should be noted that each processing unit can expect higher speed processing when converted into the highest level drawing information among the converted drawing information that can be processed by the high performance drawing unit 23.

以下、上記複数の変換描画情報について描画処理部15の各処理部ごとに説明する。なお、以下の説明においては、各処理部が高レベル描画情報を描画命令へ変換して高性能描画部23を呼び出すまでの間に、何段階かの変換レベルを設けて処理を段階的にさせる構成を例に説明を行う
(グラフィック処理部)
まず、グラフィック処理部16についての複数の変換描画情報の例を説明する。図24は、実施形態2に係るグラフィック処理部16−3の構成例を示す図である。図24において、グラフィック処理部16−3は、パス生成部30、座標変換部31、曲線直線分割部32、直線輪郭生成部33、走査線変換部34、矩形台形抽出部35とからなる。
Hereinafter, the plurality of conversion drawing information will be described for each processing unit of the drawing processing unit 15. In the following description, each processing unit converts the high level drawing information into a drawing command and calls the high-performance drawing unit 23 to provide several conversion levels to make the processing step by step. Explain the configuration as an example (graphic processing unit)
First, an example of a plurality of converted drawing information for the graphic processing unit 16 will be described. FIG. 24 is a diagram illustrating a configuration example of the graphic processing unit 16-3 according to the second embodiment. In FIG. 24, the graphic processing unit 16-3 includes a path generation unit 30, a coordinate conversion unit 31, a curved line segmentation unit 32, a straight line outline generation unit 33, a scanning line conversion unit 34, and a rectangular trapezoid extraction unit 35.

この構成により、高レベル描画情報を受信したグラフィック処理部16−3では、パス生成部30は、高レベル描画情報に基づいてパスを生成する。続いて座標変換部31は座標変換を行う。なお、パス生成部30(又は座標変換部31)は描画命令変換部25を呼び出す動作も行う。このとき、グラフィック処理部16−3は準高レベル描画情報を生成して描画命令変換部25を呼び出す構図となる。   With this configuration, in the graphic processing unit 16-3 that has received the high-level drawing information, the path generation unit 30 generates a path based on the high-level drawing information. Subsequently, the coordinate conversion unit 31 performs coordinate conversion. The path generation unit 30 (or the coordinate conversion unit 31) also performs an operation for calling the drawing command conversion unit 25. At this time, the graphic processing unit 16-3 generates the quasi-high level drawing information and calls the drawing command conversion unit 25.

さらに、曲線直線分割部32は曲線及び直線の分割を行う。続いて直線輪郭生成部33は曲線に分割された部分の輪郭を生成する。なお、曲線直線分割部32(又は直線輪郭生成部33)は描画命令変換部25を呼び出す動作も行う。このとき、グラフィック処理部16−3は中レベル描画情報を生成して描画命令変換部25を呼び出す構図となっている。   Further, the curved line dividing unit 32 divides a curve and a straight line. Subsequently, the straight line contour generation unit 33 generates a contour of a portion divided into curves. Note that the curved line dividing unit 32 (or the straight line contour generating unit 33) also performs an operation of calling the drawing command converting unit 25. At this time, the graphic processing unit 16-3 is configured to generate middle level drawing information and call the drawing command conversion unit 25.

さらに、走査線変換部34は走査線変換を行う。続いて矩形台形抽出部35は矩形、台形を抽出する。このようにして低レベル描画情報へ変換して描画命令変換部25を呼び出す。   Further, the scanning line conversion unit 34 performs scanning line conversion. Subsequently, the rectangular trapezoid extraction unit 35 extracts a rectangle and a trapezoid. In this way, the drawing command conversion unit 25 is called by converting into low level drawing information.

なお、すべてのグラフィックのデータについて、一律にこの変換レベルを適用するのではなく、グラフィックのデータの種類などに応じて変換レベルを決定してもよい。   Note that this conversion level may not be applied uniformly to all graphic data, but the conversion level may be determined according to the type of graphic data.

例えば、図23に示す高性能描画部23を用いてグラフィックの実線を描画した時(即ちグラフィックのデータが実線である場合)に従来の描画処理部15(図1参照)の描画結果と同じ結果が得られる。すなわち、この場合において互換性があるが、グラフィックの破線を描画した時(即ちグラフィックのデータが破線である場合)には、互換性が得られないといったケースが考えられる。   For example, when a graphic solid line is drawn using the high-performance drawing unit 23 shown in FIG. 23 (that is, when the graphic data is a solid line), the same result as the drawing result of the conventional drawing processing unit 15 (see FIG. 1) is obtained. Is obtained. In other words, in this case, there is compatibility, but when a graphic broken line is drawn (that is, when graphic data is a broken line), there is a case where compatibility is not obtained.

その場合は、グラフィックのデータが実線である場合には、図24に示す座標変換部31が準高レベル描画情報を描画命令変換部25に渡し、破線である場合には、図24に示す直線輪郭生成部33が中レベル描画情報を描画命令変換部25に渡すといった対応をとることができる。   In this case, when the graphic data is a solid line, the coordinate conversion unit 31 shown in FIG. 24 passes the quasi-high level drawing information to the drawing command conversion unit 25. When the graphic data is a broken line, the straight line shown in FIG. For example, the contour generation unit 33 can pass the medium level drawing information to the drawing command conversion unit 25.

同様に、ランキャップや、ジョインタイプなどのグラフィックでの描画指定において、上記グラフィック処理部16−3は、高性能描画部23が機能を持ち合わせていない、あるいは従来の描画処理部15と機能が異なるといった事がある場合も互換性を保って描画処理を実施する事ができる。   Similarly, the graphic processing unit 16-3 does not have the function of the graphic processing unit 16-3 or has a function different from that of the conventional drawing processing unit 15 in designating drawing with graphics such as a run cap and a join type. Even if there is such a thing, drawing processing can be performed with compatibility maintained.

(テキスト処理部)
次に、テキスト処理部17についての複数の変換描画情報の例を説明する。図25は、実施形態1に係るテキスト処理部の構成例を示す図である。図25において、テキスト処理部17−2は、アウトラインデータから文字輪郭抽出処理部37、グラフィックによる塗り潰し処理部38とからなる。
(Text processing part)
Next, an example of a plurality of converted drawing information for the text processing unit 17 will be described. FIG. 25 is a diagram illustrating a configuration example of a text processing unit according to the first embodiment. In FIG. 25, the text processing unit 17-2 includes a character outline extraction processing unit 37 and a graphic filling processing unit 38 from outline data.

この構成により、高レベル描画情報を受信したテキスト処理部17−3では、アウトラインデータから文字輪郭データ取得処理部37は、受信した高レベル描画情報(書体ID、文字ID、文字の属性といった情報)のアウトラインデータから文字輪郭データを取得する処理を行う。なお、アウトラインデータから文字輪郭データ取得処理部37は描画命令変換部25を呼び出す動作も行う。このとき、テキスト処理部17−3は準高レベル描画情報を生成して描画命令変換部25を呼び出す構図となる。   With this configuration, in the text processing unit 17-3 that has received the high-level drawing information, the character outline data acquisition processing unit 37 from the outline data receives the high-level drawing information (information such as typeface ID, character ID, and character attributes). The character outline data is acquired from the outline data. It should be noted that the character outline data acquisition processing unit 37 from the outline data also performs an operation of calling the drawing command conversion unit 25. At this time, the text processing unit 17-3 is configured to generate semi-high level drawing information and call the drawing command conversion unit 25.

さらに、グラフィック処理による塗り潰し処理部38はグラフィック処理による塗り潰し処理を行う。このようにして低レベル描画情報(ここでは2値ビットマップイメージ化されたテキストデータ)へ変換して描画命令変換部25を呼び出す。   Further, the painting processing unit 38 by graphic processing performs painting processing by graphic processing. In this way, the drawing command conversion unit 25 is called by converting into low-level drawing information (here, text data converted into a binary bitmap image).

なお、前述したグラフィック処理部16−3と同様に、すべてのテキストのデータについて、一律にこの変換レベルを適用するのではなく、テキストのデータの種類などに応じて変換レベルを決定してもよい。   As with the graphic processing unit 16-3 described above, this conversion level may not be applied uniformly to all text data, but the conversion level may be determined according to the type of text data. .

(イメージ処理部)
続いて、イメージ処理部18についての複数の変換描画情報の例を説明する。図26は、実施形態1に係るイメージ処理部の構成例を示す図である。図26において、イメージ処理部18−3は、圧縮解凍部39、回転部40、変倍部41、カラー処理部による色変換部42、階調変換部43とからなる。
(Image processing part)
Next, an example of a plurality of converted drawing information for the image processing unit 18 will be described. FIG. 26 is a diagram illustrating a configuration example of the image processing unit according to the first embodiment. 26, the image processing unit 18-3 includes a compression / decompression unit 39, a rotation unit 40, a scaling unit 41, a color conversion unit 42 using a color processing unit, and a gradation conversion unit 43.

図26に示す一連の変換工程において、イメージ処理部18―3は、それぞれの工程終了後描画命令変換部25を呼び出す事もできる。具体的にこのイメージ処理部18−3が実行する工程は、圧縮解凍部39、回転部40、変倍部41、カラー処理部による色変換部42、階調変換部43が行う処理に工程分けされる。   In the series of conversion steps shown in FIG. 26, the image processing unit 18-3 can also call the drawing command conversion unit 25 after the end of each step. Specifically, the process executed by the image processing unit 18-3 is divided into processes performed by the compression / decompression unit 39, the rotation unit 40, the scaling unit 41, the color conversion unit 42 by the color processing unit, and the gradation conversion unit 43. Is done.

この構成により、高レベル描画情報を受信したイメージ処理部18−3では、圧縮解凍部39は、受信した高レベル描画情報(圧縮情報)に対して解凍処理などを行う。さらに、回転部40は回転処理を行う。なお、圧縮解凍部39(又は回転部40)が描画命令変換部25を呼び出すとき、イメージ処理部18−3は準高レベル描画情報を生成して描画命令変換部25を呼び出す構図となる。   With this configuration, in the image processing unit 18-3 that has received the high-level drawing information, the compression / decompression unit 39 performs a decompression process on the received high-level drawing information (compression information). Further, the rotation unit 40 performs a rotation process. Note that when the compression / decompression unit 39 (or the rotation unit 40) calls the drawing command conversion unit 25, the image processing unit 18-3 generates a quasi-high level drawing information and calls the drawing command conversion unit 25.

さらに、変倍部41は変倍処理を行う。さらに、カラー処理部による色変換部42は後述のカラー処理部19による色変換を行う。なお、カラー処理部による色変換部42(又は変倍部41)が描画命令変換部25を呼び出すとき、イメージ処理部18−3は中レベル描画情報を生成して描画命令変換部25を呼び出す構図となる。   Further, the scaling unit 41 performs scaling processing. Further, the color conversion unit 42 by the color processing unit performs color conversion by the color processing unit 19 described later. When the color conversion unit 42 (or scaling unit 41) by the color processing unit calls the drawing command conversion unit 25, the image processing unit 18-3 generates medium level drawing information and calls the drawing command conversion unit 25. It becomes.

さらに、階調変換部43は階調変換処理を行う。なお、階調変換部43が描画命令変換部25を呼び出すとき、イメージ処理部18−3は低レベル描画情報を生成して描画命令変換部25を呼び出す構図となる。   Further, the gradation conversion unit 43 performs gradation conversion processing. Note that when the tone conversion unit 43 calls the drawing command conversion unit 25, the image processing unit 18-3 generates low-level drawing information and calls the drawing command conversion unit 25.

なお、前述したグラフィック処理部16−3と同様に、すべてのイメージのデータについて、一律にこの変換レベルを適用するのではなく、イメージのデータの種類などに応じて変換レベルを決定してもよい。   As with the graphic processing unit 16-3 described above, this conversion level may not be applied uniformly to all image data, but the conversion level may be determined according to the type of image data. .

例えば、90度単位(0/90/180/270度)の回転を伴う描画の場合(即ち、イメージのデータが90度単位の回転を伴う場合)、イメージ処理部18−3では、圧縮解凍部39が処理を実行して変換描画情報を生成した後、描画命令変換部25を呼び出す。描画命令変換部25は変換描画情報を描画命令に変換して高性能描画部23にイメージデータを準高レベル描画情報として渡す。それ以外の回転の場合(即ち、イメージのデータが90度単位の回転を伴わない場合)、回転部40が回転処理を実行し、変倍部41が変倍したイメージのデータを作成した後、描画命令変換部25を呼び出す。描画命令変換部25は変換描画情報を描画命令に変換して高性能描画部23にイメージデータを中レベル描画情報として渡す。このようにイメージのデータの種類に応じた対応をとることができる。   For example, in the case of drawing with a rotation of 90 degree units (0/90/180/270 degrees) (that is, when the image data is rotated by 90 degree units), the image processing unit 18-3 uses a compression / decompression unit. 39 executes the process to generate conversion drawing information, and then calls the drawing command conversion unit 25. The drawing command conversion unit 25 converts the converted drawing information into a drawing command and passes the image data to the high performance drawing unit 23 as quasi-high level drawing information. In the case of other rotations (that is, when the image data is not accompanied by a rotation of 90 degrees), the rotation unit 40 executes the rotation process, and the scaling unit 41 creates the scaled image data. The drawing command conversion unit 25 is called. The drawing command conversion unit 25 converts the converted drawing information into a drawing command and passes the image data to the high performance drawing unit 23 as medium level drawing information. In this way, it is possible to take measures according to the type of image data.

つまり特定の画像処理に基づいて、高性能描画部23を利用するレベルを決定する事ができる。あるいは、変倍についても、整数倍の拡大、または整数分の1倍の縮少の場合、高性能描画部23は、回転部40が回転処理実行して変換描画情報を生成した後、描画命令変換部25を呼び出す。描画命令変換部25は変換描画情報を描画命令に変換して高性能描画部23にイメージデータを渡す。それ以外の変倍の場合については、回転部40が回転処理を実行し、変倍部41が変倍したイメージのデータを作成した後、描画命令変換部25を呼び出す。描画命令変換部25は変換描画情報を描画命令に変換して高性能描画部23にイメージデータを中レベル描画情報として渡すという対応をとることができる。   That is, the level at which the high-performance rendering unit 23 is used can be determined based on specific image processing. Alternatively, in the case of variable magnification, in the case of enlargement by an integral multiple or reduction by a fraction of an integer, the high performance drawing unit 23 performs a rotation process by the rotation unit 40 to generate conversion drawing information, and then draws a drawing command. Call the conversion unit 25. The drawing command conversion unit 25 converts the converted drawing information into a drawing command and passes the image data to the high performance drawing unit 23. For other zooming cases, the rotation unit 40 executes rotation processing, and the zooming unit 41 creates the scaled image data, and then calls the drawing command conversion unit 25. The drawing command conversion unit 25 can take the correspondence of converting the converted drawing information into a drawing command and passing the image data as medium level drawing information to the high performance drawing unit 23.

(カラー処理部)
続いて、カラー処理部19についての複数の変換描画情報の例を説明する。図27は、実施形態1に係るカラー処理部の構成例を示す図である。図27において、カラー処理部19−3は、カラーマッチング処理部44、補色変換処理部45、BG/UCR・グレイ変換処理部46、CIEからXYZ中間色変換処理部47、XYZからCMYKレンダリング色変換処理部48、ガンマ補正処理部49、総量規制処理部50とからなる。
(Color processing part)
Next, an example of a plurality of converted drawing information for the color processing unit 19 will be described. FIG. 27 is a diagram illustrating a configuration example of a color processing unit according to the first embodiment. In FIG. 27, a color processing unit 19-3 includes a color matching processing unit 44, a complementary color conversion processing unit 45, a BG / UCR / grey conversion processing unit 46, a CIE to XYZ intermediate color conversion processing unit 47, and an XYZ to CMYK rendering color conversion process. Unit 48, gamma correction processing unit 49, and total amount regulation processing unit 50.

図27において、入力されたカラー情報がRGB色の場合、CIEからXYZ中間色変換処理部47、XYZからCMYKレンダリング色変換処理部48の工程は不要である。また、入力されたカラー情報がCIE色の場合、カラーマッチング処理部44と、補色変換処理部45と、BG/UCR・グレイ変換処理部46の工程は不要である。   In FIG. 27, when the input color information is RGB color, the steps of CIE to XYZ intermediate color conversion processing unit 47 and XYZ to CMYK rendering color conversion processing unit 48 are unnecessary. When the input color information is CIE color, the steps of the color matching processing unit 44, the complementary color conversion processing unit 45, and the BG / UCR / gray conversion processing unit 46 are unnecessary.

この構成により、高レベル描画情報を受信したカラー処理部19−3では、高性能描画部23における処理と、負荷を分散させる事によって最適な高性能化を図る事ができる。   With this configuration, the color processing unit 19-3 that has received the high-level drawing information can achieve optimum performance by distributing the processing in the high-performance drawing unit 23 and the load.

以上、描画処理部15の各処理部ごとに説明してきた。グラフィック処理部16−3と、テキスト処理部17−3と、イメージ処理部18−3と、カラー処理部19−3が、高性能描画部23に渡す描画命令やデータの内容の変換処理の全部または一部を実施する(変換処理の全部を実施しない場合も含む)ようにして受け渡すことによって、描画処理をなるべく早い段階で高性能描画部23が受け持つことができるため、描画処理全体の処理が高速化される。   In the foregoing, each processing unit of the drawing processing unit 15 has been described. All of the conversion processing of the rendering commands and data contents that the graphic processing unit 16-3, the text processing unit 17-3, the image processing unit 18-3, and the color processing unit 19-3 pass to the high-performance rendering unit 23 Alternatively, the high-performance rendering unit 23 can handle the rendering process as early as possible by performing a part of the process (including the case where the entire conversion process is not performed). Is faster.

高性能描画部23に、描画処理部15によって低レベル描画情報に落とし込むことなく、より高レベル描画情報に近い描画情報から変換された描画命令を、高性能描画部23に受け渡すことによって、描画処理全体の高速化が図れる。   A drawing command converted from drawing information close to higher-level drawing information is transferred to the high-performance drawing unit 23 without being dropped into the low-level drawing information by the drawing processing unit 15. The entire process can be speeded up.

また、DL生成部20を削除し、高性能描画部23で処理を行うことにより、従来はDL生成部20で生成され、RAM6内に蓄積された大量のDLデータを生成、蓄積する必要がなくなるため、大量のDLデータのRAM6への書込みと読込みにかかっていた処理時間を省くことができる。   In addition, by deleting the DL generation unit 20 and performing processing by the high-performance rendering unit 23, it is no longer necessary to generate and store a large amount of DL data that is conventionally generated by the DL generation unit 20 and stored in the RAM 6. Therefore, the processing time required for writing and reading a large amount of DL data to the RAM 6 can be saved.

その結果、図1で示した従来の構成や、図12で示した方法で高性能描画部23を組込む構成よりもPDL処理全体の処理速度の向上を図ることができる。   As a result, the processing speed of the entire PDL processing can be improved as compared with the conventional configuration shown in FIG. 1 and the configuration in which the high-performance rendering unit 23 is incorporated by the method shown in FIG.

さらに、本実施の形態2では、前述の図18の構成に対して、描画情報を高性能描画部23が入力できる描画命令に変換する描画命令変換部25を描画処理部15から切出して分離し、モジュラリティを高めた図23の構成をとる。   Further, in the second embodiment, a drawing command conversion unit 25 that converts drawing information into a drawing command that can be input by the high-performance drawing unit 23 is cut out from the drawing processing unit 15 and separated from the configuration of FIG. The configuration shown in FIG. 23 with increased modularity is adopted.

この構成の特長は、描画命令変換部25が、上位手段のPDL解釈部14と描画処理部15から見た場合に高性能描画部23を隠蔽し、高性能描画手段23の変更や違いを吸収する役割を担っていることである。   The feature of this configuration is that the drawing command conversion unit 25 conceals the high-performance drawing unit 23 when viewed from the PDL interpretation unit 14 and the drawing processing unit 15 as the higher-level means, and absorbs changes and differences in the high-performance drawing unit 23. To play a role to do.

一方、下位手段の高性能描画部23から見た場合にPDL解釈部14と描画処理部15を隠蔽し、PDL解釈部14と描画処理部15の変更を吸収する役割を担っていることである。   On the other hand, when viewed from the high-performance rendering unit 23 as a subordinate means, the PDL interpretation unit 14 and the rendering processing unit 15 are concealed, and the change of the PDL interpretation unit 14 and the rendering processing unit 15 is absorbed. .

これにより、これまで組込んでいた高性能描画部23がバージョンアップや障害対策等で変更される場合、PDL解釈部14と描画処理部15は修正することなく、描画命令変換部25だけを高性能描画部23の変更内容に応じた必要最低限の修正を行うことで対応することができる。   As a result, when the high-performance rendering unit 23 incorporated so far is changed due to version upgrades or countermeasures against troubles, the PDL interpretation unit 14 and the rendering processing unit 15 are not modified, and only the rendering command conversion unit 25 is increased. This can be dealt with by performing the minimum necessary correction according to the change contents of the performance drawing unit 23.

また、組込む高性能描画部23をA社のものからB社の別のものに変えるような場合、PDL解釈部14と描画処理部15は修正することなく、B社の高性能描画部23の描画命令仕様に対応する描画命令変換部25を新規に作成して組込むことで対応することができる。   Further, when the high-performance drawing unit 23 to be incorporated is changed from that of the company A to another of the company B, the PDL interpretation unit 14 and the drawing processing unit 15 are not modified, and the high-performance drawing unit 23 of the company B This can be dealt with by newly creating and incorporating a drawing command conversion unit 25 corresponding to the drawing command specification.

よって、上位手段を設計する側から見ると、高性能描画部23の変更内容や様々な種類の高性能描画部23の細部の違いを意識して設計を行う必要がないため(設計および設計変更が行い易いため)、設計コストを低減できるとともに、上位手段のポータビリティ(移植性)が高まることで様々な高性能描画部23への対応展開(即ち、ビジネス展開)が行いやすくなるというメリットが得られる。   Therefore, from the viewpoint of designing the upper level means, it is not necessary to design in consideration of the change contents of the high-performance drawing unit 23 and the difference in details of various types of high-performance drawing units 23 (design and design change). As a result, the design cost can be reduced, and the portability (portability) of the higher-level means can be increased, so that it is possible to easily cope with various high-performance rendering units 23 (that is, business development). It is done.

さらに、図1のDL生成部20とDL描画部21に対応する描画命令変換部25の作成と置換により、高性能描画部23の代わりに従来のDL生成部20とDL描画部21を組込んで従来どおりの描画方法をとることもできる。これにより、PDL処理部11を本実施の形態2の新しい構成に移行し、なおかつ高性能描画部23がない場合や、描画結果について従来と全く同じ互換性が必要とされる場合においても対応することができる。   Further, the conventional DL generation unit 20 and the DL drawing unit 21 are incorporated in place of the high-performance drawing unit 23 by creating and replacing the drawing command conversion unit 25 corresponding to the DL generation unit 20 and the DL drawing unit 21 of FIG. You can also use the conventional drawing method. As a result, the PDL processing unit 11 is shifted to the new configuration of the second embodiment, and the case where there is no high-performance drawing unit 23 or the case where the same compatibility as in the past is required for the drawing result is supported. be able to.

一方、PDL解釈部14や描画処理部15がバージョンアップや障害対策等で変更される場合、高性能描画部23を修正することなく、描画命令変換部25だけを描画処理部15と描画命令変換部25の間のインターフェースの変更内容に応じた必要最低限の修正を行うことで対応することができる。   On the other hand, when the PDL interpretation unit 14 or the drawing processing unit 15 is changed due to version upgrade or trouble countermeasures, only the drawing command conversion unit 25 is converted to the drawing processing unit 15 without changing the high-performance drawing unit 23. This can be dealt with by making the minimum necessary correction according to the change contents of the interface between the units 25.

よって、高性能描画部23を設計、または提供する側から見ると、上位手段が将来変更されても自身は変更なしに継続して組込まれる可能性が高まる。   Accordingly, when viewed from the side of designing or providing the high-performance rendering unit 23, there is a high possibility that even if the higher-level means is changed in the future, the device itself is continuously incorporated without any change.

上記のことにより、PDL処理部14全体を見た場合(PDL処理部14を使う立場で見た場合)、メンテナンス性(保守性)が高まることになる。   As a result, when the entire PDL processing unit 14 is viewed (when viewed from the standpoint of using the PDL processing unit 14), maintainability (maintenability) is enhanced.

以上、実施形態に基づき本発明の説明を行ってきたが、上記実施形態にあげたその他の要素との組み合わせなど、ここで示した要件に本発明が限定されるものではない。これらの点に関しては、本発明の主旨をそこなわない範囲で変更することが可能であり、その応用形態に応じて適切に定めることができる。   As described above, the present invention has been described based on the embodiments, but the present invention is not limited to the requirements shown here, such as combinations with other elements listed in the above embodiments. With respect to these points, the present invention can be changed within a range that does not detract from the gist of the present invention, and can be appropriately determined according to the application form.

PDL処理部の従来例を示す図である(その1)。It is a figure which shows the prior art example of a PDL process part (the 1). グラフィック処理部の処理内容を示す図である。It is a figure which shows the processing content of a graphic process part. テキスト処理部の処理内容を示す図である。It is a figure which shows the processing content of a text process part. イメージ処理部の処理内容を示す図である。It is a figure which shows the processing content of an image process part. カラー処理部の処理内容を示す図である。It is a figure which shows the processing content of a color process part. 矩形のDL例を示す図である。It is a figure which shows the rectangular DL example. 台形のDL例を示す図である。It is a figure which shows the trapezoid DL example. ランのDL例を示す図である。It is a figure which shows the DL example of a run. テキストのDL例を示す図である。It is a figure which shows the example of DL of a text. イメージのDL例を示す図である。It is a figure which shows the example of DL of an image. カラーのDL例を示す図である。It is a figure which shows the example of color DL. PDL処理部の従来例を示す図である(その2)。It is a figure which shows the prior art example of a PDL process part (the 2). 四角を描く場合の描画命令を示す図である。It is a figure which shows the drawing command in the case of drawing a square. 色で塗り潰す場合の描画命令を示す図である。It is a figure which shows the drawing command in the case of painting with a color. イメージを描く場合の描画命令を示す図である。It is a figure which shows the drawing command in the case of drawing an image. 文字を描く場合の描画命令を示す図である。It is a figure which shows the drawing command in the case of drawing a character. 本実施の形態における画像形成装置の構成例を示す図である。1 is a diagram illustrating a configuration example of an image forming apparatus according to an embodiment. 本実施の形態1における描画処理装置の構成例を示す図である。It is a figure which shows the structural example of the drawing processing apparatus in this Embodiment 1. FIG. 実施形態1に係るグラフィック処理部の構成例を示す図である。3 is a diagram illustrating a configuration example of a graphic processing unit according to the first embodiment. FIG. 実施形態1に係るテキスト処理部の構成例を示す図である。It is a figure which shows the structural example of the text processing part which concerns on Embodiment 1. FIG. 実施形態1に係るイメージ処理部の構成例を示す図である。3 is a diagram illustrating a configuration example of an image processing unit according to the first embodiment. FIG. 実施形態1に係るカラー処理部の構成例を示す図である。2 is a diagram illustrating a configuration example of a color processing unit according to Embodiment 1. FIG. 本実施の形態2における描画処理装置の構成例を示す図である。It is a figure which shows the structural example of the drawing processing apparatus in this Embodiment 2. FIG. 実施形態2に係るグラフィック処理部の構成例を示す図である。FIG. 10 is a diagram illustrating a configuration example of a graphic processing unit according to a second embodiment. 実施形態2に係るテキスト処理部の構成例を示す図である。It is a figure which shows the structural example of the text processing part which concerns on Embodiment 2. FIG. 実施形態2に係るイメージ処理部の構成例を示す図である。FIG. 10 is a diagram illustrating a configuration example of an image processing unit according to a second embodiment. 実施形態2に係るカラー処理部の構成例を示す図である。6 is a diagram illustrating a configuration example of a color processing unit according to a second embodiment. FIG.

符号の説明Explanation of symbols

1 画像形成装置
2 操作パネル
3 ホストI/F装置
4 プリントエンジン装置
5 ROM
6 RAM
7 フレームメモリ
8 不揮発性記憶装置
9 描画アクセラレータ
11 PDL処理部
14 PDL解釈部
15 描画処理部
16、16−2 グラフィック処理部
17、17−2 テキスト処理部
18、18−2 イメージ処理部
19、19−2 カラー処理部
20 DL生成部
21 DL描画部
22 描画命令部
23 高性能描画部
24 画像処理装置
30 パス生成部
31 座標変換部
32 曲線直線分割部
33 直線輪郭生成部
34 走査線変換部
35 矩形台形抽出部
36 描画命令変換部
37 アウトラインデータから文字輪郭抽出処理部
38 グラフィックによる塗り潰し処理部
39 圧縮解凍部
40 回転部
41 変倍部
42 カラー処理部による色変換部
43 階調変換部
44 カラーマッチング処理部
45 補色変換処理部
46 BG/UCR・グレイ変換処理部
47 CIEからXYZ中間色変換処理部
48 XYZからCMYKレンダリング色変換処理部
49 ガンマ補正処理部
50 総量規制処理部
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 2 Operation panel 3 Host I / F apparatus 4 Print engine apparatus 5 ROM
6 RAM
7 Frame memory 8 Non-volatile storage device 9 Drawing accelerator 11 PDL processing unit 14 PDL interpretation unit 15 Drawing processing unit 16, 16-2 Graphics processing unit 17, 17-2 Text processing unit 18, 18-2 Image processing unit 19, 19 -2 Color processing unit 20 DL generation unit 21 DL drawing unit 22 Drawing command unit 23 High performance drawing unit 24 Image processing device 30 Path generation unit 31 Coordinate conversion unit 32 Curve straight line division unit 33 Straight line outline generation unit 34 Scan line conversion unit 35 Rectangular trapezoid extraction unit 36 Drawing command conversion unit 37 Character outline extraction processing unit 38 from outline data Graphic filling processing unit 39 Compression / decompression unit 40 Rotation unit 41 Scaling unit 42 Color conversion unit 43 by color processing unit Gradation conversion unit 44 Color Matching processing unit 45 Complementary color conversion processing unit 46 BG / UCR / Gray conversion processing unit 47 CIE? CMYK rendering color from XYZ intermediate color conversion processing unit 48 XYZ conversion unit 49 gamma correction processing unit 50 the total amount control processing unit

Claims (10)

PDLデータを解釈してグラフィック、テキスト、イメージ、カラーのうちの1つ以上の描画属性毎の描画情報を抽出するPDL解釈手段を備え、前記PDL解釈手段により抽出された描画情報に基づいて、当該描画処理装置から描画命令を受けて描画する描画手段に受け渡す描画命令を生成する描画処理装置であって、
前記PDL解釈手段により抽出された描画情報に基づき、描画手段の処理能力に対応した複数の変換描画情報を生成する描画処理手段と、
前記描画処理手段により生成された複数の変換描画情報の内の前記描画処理装置から描画命令を受けて描画する描画手段の処理能力に対応した変換描画情報を、描画命令に変換する描画命令変換手段と、
を有することを特徴とする描画処理装置。
PDL interpretation means for interpreting PDL data and extracting drawing information for each drawing attribute of one or more of graphic, text, image, and color, and based on the drawing information extracted by the PDL interpretation means, A drawing processing device that generates a drawing command to be transferred to a drawing unit that receives a drawing command from the drawing processing device and draws the drawing command;
Drawing processing means for generating a plurality of converted drawing information corresponding to the processing capability of the drawing means based on the drawing information extracted by the PDL interpretation means;
A drawing command conversion unit that converts converted drawing information corresponding to the processing capability of the drawing unit that receives a drawing command from the drawing processing device and performs drawing out of the plurality of converted drawing information generated by the drawing processing unit into a drawing command. When,
A drawing processing apparatus comprising:
前記描画処理手段は、
グラフィックスの描画情報に対応するグラフィック描画情報生成手段と、
テキストの描画情報に対応するテキスト描画情報生成手段と、
イメージの描画情報に対応するイメージ描画情報生成手段と、
カラーの描画情報に対応するカラー描画情報生成手段のいずれか1以上を含むことを特徴とする請求項1に記載の描画処理装置。
The drawing processing means includes:
Graphic drawing information generation means corresponding to graphics drawing information;
Text drawing information generating means corresponding to text drawing information;
Image drawing information generating means corresponding to the image drawing information;
The drawing processing apparatus according to claim 1, comprising at least one of color drawing information generation means corresponding to color drawing information.
前記描画処理手段は、前記描画属性毎に複数の変換描画情報を生成することを特徴とする請求項1又は2に記載の描画処理装置。   The drawing processing apparatus according to claim 1, wherein the drawing processing unit generates a plurality of converted drawing information for each drawing attribute. 請求項1乃至3のいずれか一項に記載の描画処理装置と、
前記描画命令変換手段により変換された描画命令に基づきビットマップイメージを出力する描画手段と、
を有することを特徴とするPDL処理装置。
The drawing processing apparatus according to any one of claims 1 to 3,
Drawing means for outputting a bitmap image based on the drawing command converted by the drawing command conversion means;
A PDL processing apparatus comprising:
請求項4に記載のPDL処理装置と、
前記PDL処理装置により出力されたビットマップイメージに基づき画像を形成するプリントエンジン手段と、
前記PDL処理装置と前記プリントエンジン手段とを制御する制御手段と、
を有することを特徴とする画像形成装置。
A PDL processing device according to claim 4,
Print engine means for forming an image based on the bitmap image output by the PDL processing device;
Control means for controlling the PDL processing device and the print engine means;
An image forming apparatus comprising:
PDLデータに基づいて当該描画処理装置から描画命令を受けて描画する描画手段に受け渡す描画命令を生成する描画処理装置における描画命令生成方法であって、
前記PDLデータを解釈してグラフィック、テキスト、イメージ、カラーのうちの1つ以上の描画属性毎の描画情報を抽出するPDL解釈工程と、
前記PDL解釈工程において抽出された描画情報に基づき、描画手段の処理能力に対応した複数の変換描画情報を生成する描画処理工程と、
前記描画処理工程において生成された複数の変換描画情報の内の前記描画処理装置から描画命令を受けて描画する描画手段の処理能力に対応した変換描画情報を、描画命令に変換する描画命令変換工程と、
を有することを特徴とする描画命令生成方法。
A drawing command generation method in a drawing processing device that generates a drawing command to be transferred to a drawing means that receives a drawing command from the drawing processing device and draws based on the PDL data,
A PDL interpretation step of interpreting the PDL data and extracting drawing information for each of one or more drawing attributes of graphics, text, images, and colors;
A drawing processing step for generating a plurality of converted drawing information corresponding to the processing capability of the drawing means based on the drawing information extracted in the PDL interpretation step;
A drawing command conversion step of converting converted drawing information corresponding to the processing capability of a drawing unit that draws a drawing command from the drawing processing device among the plurality of converted drawing information generated in the drawing processing step into a drawing command. When,
A drawing command generation method characterized by comprising:
前記描画処理工程は、
グラフィックスの描画情報に対応するグラフィック描画情報生成工程と、
テキストの描画情報に対応するテキスト描画情報生成工程と、
イメージの描画情報に対応するイメージ描画情報生成工程と、
カラーの描画情報に対応するカラー描画情報生成工程のいずれか1以上を含むことを特徴とする請求項6に記載の描画命令生成方法。
The drawing processing step includes
A graphic drawing information generation step corresponding to graphics drawing information;
A text drawing information generation step corresponding to text drawing information;
An image drawing information generation step corresponding to the image drawing information;
7. The drawing command generation method according to claim 6, further comprising any one or more of color drawing information generation steps corresponding to color drawing information.
前記描画処理工程では、前記描画属性毎に複数の変換描画情報を生成することを特徴とする請求項6又は7に記載の描画命令生成方法。   The drawing command generation method according to claim 6 or 7, wherein, in the drawing processing step, a plurality of converted drawing information is generated for each drawing attribute. コンピュータに、請求項1乃至3に記載の描画処理装置の各手段に係る処理を実行させることを特徴とする描画命令生成プログラム。   A drawing command generation program that causes a computer to execute processing according to each unit of the drawing processing apparatus according to claim 1. 請求項9に記載の描画命令生成プログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium having the drawing command generation program according to claim 9 recorded thereon.
JP2007139679A 2007-05-25 2007-05-25 Drawing processor, pdl processor, image forming apparatus, drawing command generation method, drawing command generation program and recording medium recorded with drawing command generation program Pending JP2008290397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007139679A JP2008290397A (en) 2007-05-25 2007-05-25 Drawing processor, pdl processor, image forming apparatus, drawing command generation method, drawing command generation program and recording medium recorded with drawing command generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007139679A JP2008290397A (en) 2007-05-25 2007-05-25 Drawing processor, pdl processor, image forming apparatus, drawing command generation method, drawing command generation program and recording medium recorded with drawing command generation program

Publications (1)

Publication Number Publication Date
JP2008290397A true JP2008290397A (en) 2008-12-04

Family

ID=40165622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007139679A Pending JP2008290397A (en) 2007-05-25 2007-05-25 Drawing processor, pdl processor, image forming apparatus, drawing command generation method, drawing command generation program and recording medium recorded with drawing command generation program

Country Status (1)

Country Link
JP (1) JP2008290397A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012249171A (en) * 2011-05-30 2012-12-13 Ricoh Co Ltd Image forming apparatus, drawing processing method, program and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012249171A (en) * 2011-05-30 2012-12-13 Ricoh Co Ltd Image forming apparatus, drawing processing method, program and recording medium

Similar Documents

Publication Publication Date Title
US7680358B2 (en) Image processing apparatus and control method thereof, and program
US7164493B1 (en) Image processing method, system and apparatus, and storage medium
US7869075B2 (en) Image processing apparatus and method thereof
US10592766B2 (en) Image processing apparatus and medium storing program executable by image processing apparatus
JP2014000753A (en) Image processing apparatus, image processing method, and program
JP2007208531A (en) Multicolor printing apparatus and method of controlling same
JP2013505854A (en) How to create a printable raster image file
US9716810B2 (en) Image processing apparatus configured to perform smoothing based on analysis of PDL data, and storage medium storing program therefor
KR100477777B1 (en) Method, system, program, and data structure for generating raster objects
JP2008042345A (en) Image processing method and image processor
JP4630082B2 (en) Image processing apparatus, image forming apparatus, drawing command information generation method, drawing command information generation program, and recording medium recorded with drawing command information generation program
US20130176327A1 (en) Method of rendering a colour image with spatial gamut mapping
JP2008290397A (en) Drawing processor, pdl processor, image forming apparatus, drawing command generation method, drawing command generation program and recording medium recorded with drawing command generation program
JP2001293936A (en) Image information processor and method of processing image information
JP4630081B2 (en) Image processing apparatus, image forming apparatus, drawing command generation method, drawing command generation program, and recording medium recording drawing command generation program
JP4514168B2 (en) Image processing system and image processing method
JP5012871B2 (en) Image processing apparatus, image forming apparatus, and image processing program
JP2008028932A (en) Image processing system, and image processing method
JP2004246596A (en) Printing control device
JP2004021886A (en) Image processing device and image processing method
JP2010214905A (en) Image forming apparatus, image forming method, and program
JP2002318680A (en) Image processor and image processing method
JP2013008247A (en) Image processing apparatus, image processing method, and program
US7675642B2 (en) Print apparatus and print method
JPH1051652A (en) Information processing unit and method