JPH10155094A - Color conversion processing unit, its method, extension method for program module linked dynamically, color conversion processing method adopting the method, and recording medium read by computer and recording program to allow the computer to execute the method - Google Patents

Color conversion processing unit, its method, extension method for program module linked dynamically, color conversion processing method adopting the method, and recording medium read by computer and recording program to allow the computer to execute the method

Info

Publication number
JPH10155094A
JPH10155094A JP9083172A JP8317297A JPH10155094A JP H10155094 A JPH10155094 A JP H10155094A JP 9083172 A JP9083172 A JP 9083172A JP 8317297 A JP8317297 A JP 8317297A JP H10155094 A JPH10155094 A JP H10155094A
Authority
JP
Japan
Prior art keywords
color
color conversion
information
conversion processing
attribute information
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
JP9083172A
Other languages
Japanese (ja)
Inventor
Hiroyuki Sakuyama
宏幸 作山
Toshio Shirasawa
寿夫 白沢
Mitsuhisa Kaneya
光久 金矢
Takanori Yano
隆則 矢野
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 JP9083172A priority Critical patent/JPH10155094A/en
Priority to US09/050,908 priority patent/US6226011B1/en
Publication of JPH10155094A publication Critical patent/JPH10155094A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To conduct color matching processing automatically corresponding to a kind of an object at a printer driver side by allowing a color conversion means to use a color matching method selected by a selection means so as to execute color matching processing for each object. SOLUTION: A drawn image instruction conversion section 21 discriminates to which kind of object a received image drawing instruction corresponds. After the discrimination, the drawn image instruction conversion section 21 selects a color matching method corresponding to the kind of object based on cross reference information between the kind of object prepared in advance and a color matching method to set a color space for color matching. Simultaneously a parameter corresponding to the color matching method selecting a parameter of the color matching method in the image drawing instruction is set. A printer output data generating section 22 receiving the image drawing instruction built up again conducts color matching processing and outputs printer output data to an image drawing module 11.

Description

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

【0001】[0001]

【発明が属する技術分野】本発明は,カラー画像出力装
置への描画対象となるオブジェクトの種類に対応したカ
ラー・マッチング処理を実行可能にする色変換処理装置
およびその方法,動的にリンク可能なプログラムモジュ
ールの拡張方法およびそれを適用した色変換処理方法並
びにそれらの方法をコンピュータに実行させるプログラ
ムを記録したコンピュータ読み取り可能な記録媒体に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color conversion processing apparatus and method capable of executing a color matching process corresponding to the type of an object to be rendered on a color image output apparatus, and a dynamically linkable color conversion processing apparatus. The present invention relates to a method for expanding a program module, a color conversion processing method to which the method is applied, and a computer-readable recording medium storing a program for causing a computer to execute the method.

【0002】[0002]

【従来の技術】カラー・モニタ上に表示された画像を正
確にカラープリンタに出力するため,デバイス・インデ
ィペンデント・カラーを用いたカラー・マッチング方式
が現在研究されている。このカラー・マッチング方式
は,デバイスに独立な色信号を中間的に用いることによ
り,様々なデバイス間で測色的に一致した色再現を行う
ことを目的とするものである。一般に,デバイス独立な
色信号には,CIE 1931 XYZ信号やL*a*
b*信号のような人間の視覚特性に合った信号が用いら
れる。
2. Description of the Related Art In order to accurately output an image displayed on a color monitor to a color printer, a color matching method using device-independent colors is currently being studied. This color matching method aims at performing colorimetrically consistent color reproduction between various devices by using device-independent color signals in between. Generally, device independent color signals include CIE 1931 XYZ signals and L * a *
A signal suitable for human visual characteristics, such as a b * signal, is used.

【0003】ところが,人間が見て好ましいと思う色再
現は,一般に自然画像,文字,べた画像等,画像の種類
によって異なっている。したがって,様々な画像種を含
むカラー・イメージ情報を出力するためには,カラー・
イメージに含まれる文書構造に従って,色処理を切り換
えることができるアーキテクチャーが必要となる。
[0003] However, the color reproduction that humans find desirable is generally different depending on the type of image, such as a natural image, a character, or a solid image. Therefore, in order to output color image information including various image types, color
An architecture is needed that can switch color processing according to the document structure included in the image.

【0004】上記カラー・イメージに含まれる文書構造
に従って色処理を切り換える技術を開示するものの一例
として,特開平7−107312号公報『カラー情報処
理方法および装置』がある。このカラー情報処理方法お
よび装置は,アプリケーションが画像種毎に適したカラ
ー・マッチングの属性情報を設定し,その属性情報に従
ってデバイス・ドライバあるいはプリンタ内のカラー・
マッチングの処理部が最適な色変換処理を実行するとい
うものである。
[0004] Japanese Patent Application Laid-Open No. Hei 7-107312 entitled "Color Information Processing Method and Apparatus" discloses an example of a technique for switching color processing in accordance with the document structure contained in the color image. According to this color information processing method and apparatus, an application sets attribute information of color matching suitable for each image type, and according to the attribute information, a color information in a device driver or a printer.
That is, the matching processing unit executes an optimal color conversion process.

【0005】[0005]

【発明が解決しようとする課題】しかしながら,上記特
開平7−107312号公報『カラー情報処理方法およ
び装置』に開示されたカラー・イメージの出力方式によ
れば,アプリケーション側で画像種毎にカラー・マッチ
ングの属性情報を付加するため,アプリケーションがカ
ラー・マッチングの属性情報を付加する機能を備えてい
ない場合は,単一のカラー・マッチング処理しか実行す
ることができないという問題があった。
However, according to the color image output method disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 7-107312, entitled "Color Information Processing Method and Apparatus", a color image is output for each image type on the application side. If the application does not have a function of adding color matching attribute information to add matching attribute information, there is a problem that only a single color matching process can be executed.

【0006】また,どのように属性情報を設定するかと
いう点もアプリケーションに依存しているため,同じカ
ラー・イメージ情報であっても,アプリケーション毎に
出力結果が異なってしまうという問題があった。
Also, how to set the attribute information also depends on the application. Therefore, there is a problem that the output result differs for each application even with the same color / image information.

【0007】また,現状では,ほとんどのアプリケーシ
ョンが画像種毎にカラー・マッチングの属性情報を付加
する機能を有していないため,画像種毎にカラー・マッ
チングの方法を切り替えることは事実上不可能であると
いう問題があった。
Further, at present, most applications do not have a function of adding attribute information of color matching for each image type, so that it is practically impossible to switch the color matching method for each image type. There was a problem that is.

【0008】本発明は上記に鑑みてなされたものであっ
て,プリンタドライバ側でオブジェクトの種類に対応し
たカラー・マッチング処理を自動的に実行可能にするこ
とを目的とする。
The present invention has been made in view of the above, and has as its object to enable a printer driver to automatically execute a color matching process corresponding to the type of an object.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め,本発明の請求項1に係る色変換処理装置は,少なく
とも1つのオブジェクトを含むカラー・イメージ情報を
入力し,前記入力したカラー・イメージ情報にカラー・
マッチング処理を施してカラー画像出力装置に対して送
信する送信データに変換する色変換手段を備えた色変換
処理装置において,前記入力したカラー・イメージ情報
にカラー・マッチング方法の指定があるか否かを判定す
る判定手段と,前記カラー・マッチング方法の指定がな
い場合,前記カラー・イメージ情報中に存在する個々の
オブジェクトの種類を判定する種類判定手段と,前記判
定したオブジェクトの種類を入力し,予め用意したオブ
ジェクトの種類とカラー・マッチング方法との対応関係
情報から,前記判定したオブジェクトの種類に対応した
カラー・マッチング方法を選択する選択手段と,を備
え,前記色変換手段が,前記選択手段で選択したカラー
・マッチング方法を用いて前記オブジェクト毎のカラー
・マッチング処理を実行するものである。
According to a first aspect of the present invention, there is provided a color conversion processing apparatus, comprising: inputting color image information including at least one object; Color information
In a color conversion processing device having a color conversion means for performing a matching process and converting the data into transmission data to be transmitted to a color image output device, whether or not the input color image information specifies a color matching method Input means for determining the type of each object present in the color image information; and determining the type of each object existing in the color image information. Selecting means for selecting a color matching method corresponding to the determined object type from correspondence information between the object type and the color matching method prepared in advance, wherein the color conversion means comprises: Perform color matching processing for each object using the color matching method selected in It is intended to row.

【0010】また,本発明の請求項2に係る色変換処理
装置は,請求項1記載の色変換処理装置において,前記
カラー・イメージ情報がデバイス依存の色信号による描
画命令である場合,前記選択手段が,前記デバイス依存
の色信号による描画命令をデバイス独立の色信号による
描画命令に変換できるように,色空間を設定して描画命
令を再構築し,前記色変換手段が,前記選択手段で再構
築した描画命令を入力し,前記デバイス依存の描画命令
をデバイス独立の描画命令に変換した後,前記デバイス
独立の描画命令をカラー画像出力装置に対して送信する
送信データに変換するものである。
According to a second aspect of the present invention, in the color conversion processing apparatus according to the first aspect, when the color image information is a drawing command based on a device-dependent color signal, the selection is performed. The color conversion means sets the color space and reconstructs the drawing command so that the means can convert the drawing command based on the device-dependent color signal into a drawing command based on the device-independent color signal. A reconstructed drawing command is input, the device-dependent drawing command is converted into a device-independent drawing command, and then the device-dependent drawing command is converted into transmission data to be transmitted to a color image output device. .

【0011】また,本発明の請求項3に係る色変換処理
装置は,請求項2記載の色変換処理装置において,前記
選択手段が,ビットマップ画像の描画命令中に階調保存
型のカラー・マッチング処理の実行を指定するものであ
る。
According to a third aspect of the present invention, there is provided the color conversion processing device according to the second aspect, wherein the selecting means includes a tone preserving type color image data in the bitmap image drawing instruction. This specifies execution of the matching process.

【0012】また,本発明の請求項4に係る色変換処理
装置は,請求項2記載の色変換処理装置において,前記
選択手段が,ビットマップ画像以外の描画命令の再構築
を行わないものである。
According to a fourth aspect of the present invention, there is provided a color conversion processing apparatus according to the second aspect, wherein the selecting means does not reconstruct a drawing command other than a bitmap image. is there.

【0013】また,本発明の請求項5に係る色変換処理
装置は,請求項2記載の色変換処理装置において,前記
選択手段が,単色のオブジェクトの描画命令中に彩度保
存型のカラー・マッチング処理の実行を指定するもので
ある。
According to a fifth aspect of the present invention, there is provided the color conversion processing device according to the second aspect, wherein the selecting means includes a color preservation type color image processing device in the rendering instruction of the monochrome object. This specifies execution of the matching process.

【0014】また,本発明の請求項6に係る色変換処理
装置は,請求項2記載の色変換処理装置において,前記
選択手段が,複数の色を含む所定のパターンの描画命令
中に彩度保存型と階調保存型の中間のカラー・マッチン
グ処理の実行を指定するものである。
According to a sixth aspect of the present invention, in the color conversion processing apparatus according to the second aspect, the selecting means includes a step of setting a color saturation in a drawing instruction of a predetermined pattern including a plurality of colors. This specifies execution of a color matching process intermediate between the preservation type and the gradation preservation type.

【0015】また,本発明の請求項7に係る色変換処理
装置は,少なくとも1つのオブジェクトを含むカラー・
イメージ情報を入力し,前記入力したカラー・イメージ
情報にカラー・マッチング処理を施してカラー画像出力
装置に対して送信する送信データに変換する色変換手段
を備えた色変換処理装置において,前記入力したカラー
・イメージ情報中に存在する個々のオブジェクトにカラ
ー・マッチング方法の属性の指定があるか否かを判定す
る判定手段と,前記オブジェクトに前記カラー・マッチ
ング方法の属性の指定がない場合,前記オブジェクトの
種類を判定する種類判定手段と,前記判定したオブジェ
クトの種類を入力し,予め用意したオブジェクトの種類
とカラー・マッチング方法との対応関係情報から,前記
判定したオブジェクトの種類に対応したカラー・マッチ
ング方法を選択し,前記オブジェクトに選択したカラー
・マッチング方法の属性情報を付加する属性情報付加手
段と,を備え,前記色変換手段が,前記属性情報付加手
段で付加したカラー・マッチング方法の属性情報に基づ
いて,前記オブジェクト毎のカラー・マッチング処理を
実行するものである。
According to a seventh aspect of the present invention, there is provided a color conversion processing apparatus comprising: a color conversion apparatus including at least one object;
In a color conversion processing device having color conversion means for inputting image information, performing color matching processing on the input color image information and converting the input color image information into transmission data to be transmitted to a color image output device, Determining means for determining whether or not each object present in the color image information has an attribute of the color matching method; and determining whether the object does not have the attribute of the color matching method. Type determining means for determining the type of the object, and inputting the type of the determined object, and performing color matching corresponding to the determined type of the object based on correspondence information between the type of the object and the color matching method prepared in advance. Select a method and the color matching method selected for the object Attribute information adding means for adding attribute information, wherein the color conversion means executes color matching processing for each object based on the attribute information of the color matching method added by the attribute information adding means. Things.

【0016】また,本発明の請求項8に係る色変換処理
装置は,請求項7記載の色変換処理装置において,前記
オブジェクトがビットマップ画像である場合,前記属性
情報付加手段が,当該オブジェクトに対して階調保存型
のカラー・マッチング方法に対応する属性情報を付加す
るものである。
In the color conversion processing device according to the present invention, when the object is a bitmap image, the attribute information adding means may add the attribute information to the object. On the other hand, attribute information corresponding to a gradation preserving type color matching method is added.

【0017】また,本発明の請求項9に係る色変換処理
装置は,請求項7記載の色変換処理装置において,前記
オブジェクトがビットマップ画像以外である場合,前記
属性情報付加手段が,当該オブジェクトに対してカラー
・マッチング方法の属性情報を付加しないものである。
According to a ninth aspect of the present invention, in the color conversion processing apparatus according to the seventh aspect, when the object is other than a bitmap image, the attribute information adding means includes: Is not added with the attribute information of the color matching method.

【0018】また,本発明の請求項10に係る色変換処
理装置は,請求項7記載の色変換処理装置において,前
記オブジェクトが単色の場合,前記属性情報付加手段
が,当該オブジェクトに対して彩度保存型のカラー・マ
ッチング方法に対応する属性情報を付加するものであ
る。
According to a tenth aspect of the present invention, in the color conversion processing apparatus according to the seventh aspect, when the object is a single color, the attribute information adding means sets a color for the object. The attribute information corresponding to the degree-preserving color matching method is added.

【0019】また,本発明の請求項11に係る色変換処
理装置は,請求項7記載の色変換処理装置において,前
記オブジェクトが複数の色を含む所定のパターンである
場合,前記属性情報付加手段が,当該オブジェクトに対
して彩度保存型と階調保存型の中間のカラー・マッチン
グ方法に対応する属性情報を付加するものである。
According to a eleventh aspect of the present invention, in the color conversion processing apparatus according to the seventh aspect, when the object is a predetermined pattern including a plurality of colors, the attribute information adding means is provided. Is to add attribute information corresponding to an intermediate color matching method between the saturation preservation type and the gradation preservation type to the object.

【0020】また,本発明の請求項12に係る色変換処
理装置は,カラー画像出力装置に対する描画処理を制御
する描画制御手段から所定のカラー・マッチング方法の
属性情報が付加された任意のオブジェクトの描画命令お
よび前記オブジェクトの描画色を示す描画色情報を入力
すると,前記描画命令をカラー画像出力装置に固有の描
画命令に変換すると共に,前記描画色情報に前記属性情
報に応じたカラー・マッチング処理を施した後,前記描
画命令およびカラー・マッチング後の描画色情報を前記
カラー画像出力装置に出力する色変換手段を備えた色変
換処理装置において,前記入力した描画命令に基づい
て,描画対象のオブジェクトの種類を判定する種類判定
手段と,オブジェクトの種類毎に用意されたカラー・マ
ッチング方法の属性情報を複数保持し,前記種類判定手
段の判定結果に基づいて,前記複数の属性情報から該当
する属性情報を選択し,前記描画命令に付加されている
属性情報を前記選択した属性情報に置き換えて,前記描
画命令および描画色情報を前記色変換手段に出力する属
性情報置換手段と,を備え,前記色変換手段は,前記属
性情報置換手段で置換された属性情報に基づいて,前記
描画色情報にカラー・マッチング処理を施すものであ
る。
According to a twelfth aspect of the present invention, there is provided a color conversion processing device, comprising: a drawing control unit for controlling a drawing process for a color image output device; When a drawing command and drawing color information indicating a drawing color of the object are input, the drawing command is converted into a drawing command specific to a color image output device, and a color matching process is performed on the drawing color information in accordance with the attribute information. After performing the above, in a color conversion processing device having color conversion means for outputting the drawing command and the drawing color information after the color matching to the color image output device, based on the input drawing command, Type determining means for determining the type of the object, and attributes of the color matching method prepared for each type of the object A plurality of pieces of attribute information, and based on the determination result of the type determination means, selects corresponding attribute information from the plurality of pieces of attribute information, and replaces the attribute information added to the drawing instruction with the selected attribute information. And attribute information replacing means for outputting the drawing command and the drawing color information to the color converting means, wherein the color converting means is configured to output the drawing color information based on the attribute information replaced by the attribute information replacing means. Is subjected to color matching processing.

【0021】また,本発明の請求項13に係る色変換処
理装置は,カラー画像出力装置に対する描画処理を制御
する描画制御手段から任意のオブジェクトの描画命令お
よび前記オブジェクトの描画色を示す描画色情報を入力
し,入力した描画命令をカラー画像出力装置に固有の描
画命令に変換して,前記描画色情報と共に前記カラー画
像出力装置に出力するカラー・マッチング処理に未対応
の描画命令変換手段を備えた色変換処理装置であって,
前記描画制御手段から所定のカラー・マッチング方法の
属性情報が付加された任意のオブジェクトの描画命令お
よび前記オブジェクトの描画色を示す描画色情報を入力
し,入力した描画命令に基づいて,描画対象のオブジェ
クトの種類を判定する種類判定手段と,オブジェクトの
種類毎に用意されたカラー・マッチング方法の属性情報
を複数保持し,前記種類判定手段の判定結果に基づい
て,前記複数の属性情報から該当する属性情報を選択す
る選択手段と,前記選択手段で選択された属性情報に基
づいて,前記入力した描画色情報にカラー・マッチング
処理を施す色変換手段と,前記入力した描画命令に基づ
いて,前記描画命令変換手段に新たな描画命令と共にカ
ラー・マッチング処理後の描画色情報を出力する出力手
段と,を備え,前記描画命令変換手段は,前記出力手段
から描画命令および描画色情報を入力し,入力した描画
命令をカラー画像出力装置に固有の描画命令に変換し
て,前記描画色情報と共に前記カラー画像出力装置に出
力するものである。
According to a thirteenth aspect of the present invention, there is provided a color conversion processing device, comprising: a drawing control means for controlling a drawing process for a color image output device; and a drawing command for an arbitrary object and drawing color information indicating a drawing color of the object. And a drawing command conversion unit that does not support the color matching process that converts the input drawing command into a drawing command specific to the color image output device and outputs the drawing command together with the drawing color information to the color image output device. Color conversion processing device,
A drawing instruction of an arbitrary object to which attribute information of a predetermined color matching method is added and drawing color information indicating a drawing color of the object are input from the drawing control means, and based on the input drawing instruction, A plurality of type determining means for determining the type of the object, and a plurality of attribute information of the color matching method prepared for each type of the object are held. Selecting means for selecting attribute information; color converting means for performing color matching processing on the input drawing color information based on the attribute information selected by the selecting means; and Output means for outputting drawing color information after color matching processing together with a new drawing command to the drawing command conversion means; The image command converting means inputs a drawing command and drawing color information from the output means, converts the input drawing command into a drawing command unique to the color image output device, and sends the drawing command and the drawing color information to the color image output device. Output.

【0022】また,本発明の請求項14に係る色変換処
理装置は,請求項12または13に記載の色変換処理装
置において,さらに,予め設定された情報に基づいて,
前記色変換手段に前記複数の属性情報の生成を要求し,
前記色変換手段で生成された複数の属性情報を入力して
保持する保持手段を備えるものである。
According to a fourteenth aspect of the present invention, there is provided a color conversion processing device according to the twelfth or thirteenth aspect, further comprising:
Requesting the color conversion means to generate the plurality of pieces of attribute information,
The image processing apparatus further includes a holding unit that inputs and holds a plurality of pieces of attribute information generated by the color conversion unit.

【0023】また,本発明の請求項15に係る色変換処
理装置は,請求項12〜14のいずれか一つに記載の色
変換処理装置において,前記オブジェクトの種類は,ビ
ットマップ画像,文字およびその他のグラフィック画像
の3種類であるものである。
According to a fifteenth aspect of the present invention, there is provided a color conversion processing apparatus according to any one of the twelfth to fourteenth aspects, wherein the types of the object are a bitmap image, a character, There are three types of other graphic images.

【0024】また,本発明の請求項16に係る色変換処
理装置は,請求項15記載の色変換処理装置において,
前記種類判定手段は,描画対象のオブジェクトが文字で
あると判定した場合に,該当する描画色情報にカラー・
マッチング処理が施されないようにするものである。
A color conversion processing device according to claim 16 of the present invention is the color conversion processing device according to claim 15,
When the type determination unit determines that the object to be drawn is a character, the type determination unit determines whether the object to be drawn is a color image.
This is to prevent the matching process from being performed.

【0025】また,本発明の請求項17に係る色変換処
理装置は,請求項16記載の色変換処理装置において,
前記種類判定手段は,描画対象のオブジェクトが文字で
あると判定した場合に,さらに,前記文字の色がシア
ン,マゼンタ,イエロー,ブラック,レッド,グリー
ン,ブルーおよびホワイトのいずれかに該当するかを判
定し,前記文字の色が前記各色のいずれかに該当すると
判定した場合に,該当する描画色情報にカラー・マッチ
ング処理が施されないようにするものである。
The color conversion processing device according to claim 17 of the present invention is the color conversion processing device according to claim 16,
When the type determination unit determines that the object to be drawn is a character, the type determination unit further determines whether the color of the character corresponds to any of cyan, magenta, yellow, black, red, green, blue, and white. If it is determined that the color of the character corresponds to any of the colors, the color matching processing is not performed on the corresponding drawing color information.

【0026】また,本発明の請求項18に係る色変換処
理方法は,少なくとも1つのオブジェクトを含むカラー
・イメージ情報を入力する入力ステップと,前記入力し
たカラー・イメージ情報にカラー・マッチング処理を施
してカラー画像出力装置に対して送信する送信データに
変換する色変換ステップと,を有する色変換処理方法に
おいて,前記入力したカラー・イメージ情報にカラー・
マッチング方法の指定があるか否かを判定する判定ステ
ップと,前記カラー・マッチング方法の指定がない場
合,前記カラー・イメージ情報中に存在する個々のオブ
ジェクトの種類を判定する種類判定ステップと,前記判
定したオブジェクトの種類を入力し,予め用意したオブ
ジェクトの種類とカラー・マッチング方法との対応関係
情報から,前記判定したオブジェクトの種類に対応した
カラー・マッチング方法を選択する選択ステップと,を
含み,前記色変換ステップが,前記選択ステップで選択
したカラー・マッチング方法を用いて前記オブジェクト
毎のカラー・マッチング処理を実行するものである。
The color conversion processing method according to claim 18 of the present invention performs an input step of inputting color image information including at least one object, and performs a color matching process on the input color image information. A color conversion step of converting the input color image information into color data to be transmitted to a color image output device.
A determination step of determining whether or not a matching method is specified; a type determination step of determining a type of an individual object existing in the color image information if the color matching method is not specified; Selecting the type of the determined object and selecting a color matching method corresponding to the determined type of the object from correspondence information between the type of the object and the color matching method prepared in advance. The color conversion step executes a color matching process for each of the objects using the color matching method selected in the selection step.

【0027】また,本発明の請求項19に係る色変換処
理方法は,請求項18記載の色変換処理方法において,
前記カラー・イメージ情報がデバイス依存の色信号によ
る描画命令である場合,前記選択ステップが,前記デバ
イス依存の色信号による描画命令をデバイス独立の色信
号による描画命令に変換できるように,色空間を設定し
て描画命令を再構築するステップを含み,前記色変換ス
テップが,前記選択ステップで再構築した描画命令を入
力し,前記デバイス依存の描画命令をデバイス独立の描
画命令に変換した後,前記デバイス独立の描画命令をカ
ラー画像出力装置に対して送信する送信データに変換す
るものである。
According to a nineteenth aspect of the present invention, there is provided a color conversion processing method according to the eighteenth aspect.
When the color image information is a drawing command using a device-dependent color signal, the selecting step converts the color space so that the drawing command using the device-dependent color signal can be converted into a drawing command using a device-independent color signal. Setting and reconstructing a drawing command, wherein the color conversion step inputs the drawing command reconstructed in the selecting step, converts the device-dependent drawing command into a device-independent drawing command, It converts a device-independent drawing command into transmission data to be transmitted to the color image output device.

【0028】また,本発明の請求項20に係る色変換処
理方法は,請求項19記載の色変換処理方法において,
前記選択ステップが,ビットマップ画像の描画命令中に
階調保存型のカラー・マッチング処理の実行を指定する
ものである。
According to a twentieth aspect of the present invention, there is provided a color conversion processing method according to the nineteenth aspect.
In the selection step, execution of a gradation preserving type color matching process is specified in a bitmap image drawing command.

【0029】また,本発明の請求項21に係る色変換処
理方法は,請求項19記載の色変換処理方法において,
前記選択ステップが,ビットマップ画像以外の描画命令
の再構築を行わないものである。
A color conversion processing method according to a twenty-first aspect of the present invention is the color conversion processing method according to the nineteenth aspect,
The selecting step does not reconstruct a drawing command other than a bitmap image.

【0030】また,本発明の請求項22に係る色変換処
理方法は,請求項19記載の色変換処理方法において,
前記選択ステップが,単色のオブジェクトの描画命令中
に彩度保存型のカラー・マッチング処理の実行を指定す
るものである。
A color conversion processing method according to claim 22 of the present invention is the color conversion processing method according to claim 19, wherein
In the selecting step, execution of a color preservation type color matching process is designated during a drawing instruction of a single color object.

【0031】また,本発明の請求項23に係る色変換処
理方法は,請求項19記載の色変換処理方法において,
前記選択ステップが,複数の色を含む所定のパターンの
描画命令中に彩度保存型と階調保存型の中間のカラー・
マッチング処理の実行を指定するものである。
A color conversion processing method according to a twenty-third aspect of the present invention is the color conversion processing method according to the nineteenth aspect,
The selecting step includes, in a drawing command of a predetermined pattern including a plurality of colors, a color / color intermediate between a saturation preserving type and a gradation preserving type.
This specifies execution of the matching process.

【0032】また,本発明の請求項24に係る色変換処
理方法は,少なくとも1つのオブジェクトを含むカラー
・イメージ情報を入力する入力ステップと,前記入力し
たカラー・イメージ情報にカラー・マッチング処理を施
してカラー画像出力装置に対して送信する送信データに
変換する色変換ステップと,を有する色変換処理方法に
おいて,前記入力したカラー・イメージ情報中に存在す
る個々のオブジェクトにカラー・マッチング方法の属性
の指定があるか否かを判定する判定ステップと,前記オ
ブジェクトに前記カラー・マッチング方法の属性の指定
がない場合,前記オブジェクトの種類を判定する種類判
定ステップと,前記判定したオブジェクトの種類を入力
し,予め用意したオブジェクトの種類とカラー・マッチ
ング方法との対応関係情報から,前記判定したオブジェ
クトの種類に対応したカラー・マッチング方法を選択
し,前記オブジェクトに選択したカラー・マッチング方
法の属性情報を付加する属性情報付加ステップと,を含
み,前記色変換ステップが,前記属性情報付加ステップ
で付加したカラー・マッチング方法の属性情報に基づい
て,前記オブジェクト毎のカラー・マッチング処理を実
行するものである。
In a color conversion method according to a twenty-fourth aspect of the present invention, an input step of inputting color image information including at least one object, and performing a color matching process on the input color image information. A color conversion step of converting the color data into transmission data to be transmitted to a color image output device. A determination step of determining whether or not there is a specification; a type determination step of determining the type of the object if the attribute of the color matching method is not specified for the object; and inputting the type of the determined object , Correspondence between object types prepared in advance and color matching methods An attribute information adding step of selecting a color matching method corresponding to the determined type of the object from the association information, and adding attribute information of the selected color matching method to the object. A color matching process for each object based on the attribute information of the color matching method added in the attribute information adding step.

【0033】また,本発明の請求項25に係る色変換処
理方法は,請求項24記載の色変換処理方法において,
前記オブジェクトがビットマップ画像である場合,前記
属性情報付加ステップが,当該オブジェクトに対して階
調保存型のカラー・マッチング方法に対応する属性情報
を付加するものである。
The color conversion processing method according to claim 25 of the present invention is the same as the color conversion processing method according to claim 24,
When the object is a bitmap image, the attribute information adding step is to add attribute information corresponding to the gradation preserving type color matching method to the object.

【0034】また,本発明の請求項26に係る色変換処
理方法は,請求項24記載の色変換処理方法において,
前記オブジェクトがビットマップ画像以外である場合,
前記属性情報付加ステップが,当該オブジェクトに対し
てカラー・マッチング方法の属性情報を付加しないもの
である。
The color conversion processing method according to claim 26 of the present invention is the same as the color conversion processing method according to claim 24,
If the object is other than a bitmap image,
The attribute information adding step does not add attribute information of the color matching method to the object.

【0035】また,本発明の請求項27に係る色変換処
理方法は,請求項24記載の色変換処理方法において,
前記オブジェクトが単色の場合,前記属性情報付加ステ
ップが,当該オブジェクトに対して彩度保存型のカラー
・マッチング方法に対応する属性情報を付加するもので
ある。
The color conversion processing method according to claim 27 of the present invention is the color conversion processing method according to claim 24,
When the object is a single color, the attribute information adding step adds attribute information corresponding to the saturation preserving type color matching method to the object.

【0036】また,本発明の請求項28に係る色変換処
理方法は,請求項24記載の色変換処理方法において,
前記オブジェクトが複数の色を含む所定のパターンであ
る場合,前記属性情報付加ステップが,当該オブジェク
トに対して彩度保存型と階調保存型の中間のカラー・マ
ッチング方法に対応する属性情報を付加するものであ
る。
A color conversion processing method according to claim 28 of the present invention is the color conversion processing method according to claim 24,
When the object is a predetermined pattern including a plurality of colors, the attribute information adding step adds attribute information corresponding to an intermediate color matching method between a saturation preservation type and a gradation preservation type to the object. Is what you do.

【0037】また,本発明の請求項29に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法は,オ
ペレーティング・システムやアプリケーション・プログ
ラム等の上位モジュールの実行時にリンクされ,前記上
位モジュールから命令を入力し,入力した命令に応じた
処理を実行する動的にリンク可能なプログラムモジュー
ルの機能拡張方法において,前記上位モジュールから前
記プログラムモジュールに出力された第1の命令を入力
し,予め設定された条件に基づいて,入力した第1の命
令中の任意の引数を変更して第2の命令を生成し,生成
した第2の命令を前記プログラムモジュールに出力する
命令生成工程と,前記プログラムモジュールから前記第
2の命令に応じた処理結果を入力し,入力した処理結果
に基づいて,上位モジュール用の処理結果を前記上位モ
ジュールに出力する処理結果出力工程と,を含むもので
ある。
According to a method of extending the function of a dynamically linkable program module according to claim 29 of the present invention, the function is linked when an upper module such as an operating system or an application program is executed, and an instruction is issued from the upper module. In the method for dynamically expanding a function of a dynamically linkable program module for inputting and executing a process according to the input instruction, a first instruction output from the upper module to the program module is input, and a predetermined instruction is input. An instruction generating step of changing an arbitrary argument in the input first instruction to generate a second instruction based on a condition, and outputting the generated second instruction to the program module; A processing result corresponding to the second instruction is input, and a higher order is performed based on the input processing result. A processing result output step of outputting the processing result for Joule to the upper module, is intended to include.

【0038】また,本発明の請求項30に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法は,オ
ペレーティング・システムやアプリケーション・プログ
ラム等の上位モジュールの実行時にリンクされ,前記上
位モジュールから命令を入力し,入力した命令に応じた
処理を実行する動的にリンク可能なプログラムモジュー
ルの機能拡張方法において,前記プログラムモジュール
が備えるルーチン等の命令実行情報と同一名称でかつ内
容の異なる命令実行情報が少なくとも一つ用意されてお
り,前記上位モジュールから前記命令実行情報のいずれ
かを指定した命令を入力すると,該当する命令実行情報
に基づいて前記入力した命令に応じた処理を実行し,実
行した処理結果を前記上位モジュールに出力する命令実
行工程を含むものである。
A function expansion method of a dynamically linkable program module according to claim 30 of the present invention is linked when an upper module such as an operating system or an application program is executed, and an instruction is issued from the upper module. In a method of expanding a function of a dynamically linkable program module for inputting and executing a process according to an input instruction, an instruction execution information having the same name and different content as instruction execution information of a routine or the like included in the program module is provided. At least one is provided, and when an instruction specifying any of the instruction execution information is input from the upper module, a process corresponding to the input instruction is executed based on the corresponding instruction execution information, and the executed process is executed. Including an instruction execution step of outputting a result to the upper module A.

【0039】また,本発明の請求項31に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法は,オ
ペレーティング・システムやアプリケーション・プログ
ラム等の上位モジュールの実行時にリンクされ,前記上
位モジュールから命令を入力し,入力した命令に応じた
処理を実行する動的にリンク可能なプログラムモジュー
ルの機能拡張方法において,前記上位モジュールから指
定可能でかつ前記プログラムモジュールが有しないルー
チン等の命令実行情報が少なくとも一つ用意されてお
り,前記上位モジュールから前記命令実行情報を指定し
た命令を入力すると,該当する命令実行情報に基づいて
所定の処理を実行し,実行した処理結果を前記上位モジ
ュールに出力する命令実行工程を含み,前記命令実行工
程は,前記命令実行情報に応じて前記プログラムモジュ
ールに命令を出力し,前記プログラムモジュールに対し
て前記命令実行情報に基づく処理を実行させる工程を含
むものである。
A function expansion method of a dynamically linkable program module according to claim 31 of the present invention is linked when an upper module such as an operating system or an application program is executed, and an instruction is issued from the upper module. In a method for expanding a function of a dynamically linkable program module for inputting and executing a process in accordance with an input instruction, at least one instruction execution information such as a routine which can be designated by the upper module and which the program module does not have is provided. When a command specifying the command execution information is input from the upper module, a predetermined process is executed based on the corresponding command execution information, and an executed process result is output to the higher module. And the step of executing the instruction includes the step of executing the instruction. And outputs an instruction to the program module in accordance with the distribution, it is intended to include the step of executing a process based on the instruction execution information to the program module.

【0040】また,本発明の請求項32に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法を適用
した色変換処理方法は,前記請求項29〜31のいずれ
か一つに記載の動的にリンク可能なプログラムモジュー
ルの機能拡張方法を適用した色変換処理方法であって,
前記上位モジュールが,カラー画像出力装置に対する描
画処理を制御する描画制御手段であり,前記プログラム
モジュールが,前記描画制御手段から所定のカラー・マ
ッチング方法の属性情報が付加された任意のオブジェク
トの描画命令および前記オブジェクトの描画色を示す描
画色情報を入力すると,前記描画命令を前記カラー画像
出力装置に固有の描画命令に変換すると共に,前記描画
色情報に前記属性情報に応じたカラー・マッチング処理
を施した後,前記描画命令およびカラー・マッチング後
の描画色情報を前記カラー画像出力装置に出力する色変
換手段である場合の色変換処理方法において,前記描画
制御手段から前記描画命令および描画色情報を入力し,
入力した描画命令に基づいて,描画対象のオブジェクト
の種類を判定する種類判定工程と,前記種類判定工程の
判定結果に基づいて,オブジェクトの種類毎に用意され
たそれぞれ異なるカラー・マッチング方法の属性情報か
ら該当する属性情報を選択し,前記描画命令に付加され
ている属性情報を前記選択した属性情報に置き換えて,
前記描画命令および描画色情報を前記色変換手段に出力
する属性情報置換工程と,を含むことにより,前記属性
情報置換手段で置換された属性情報に基づいて,前記色
変換手段で前記描画色情報にカラー・マッチング処理が
施されるものである。
A color conversion processing method to which the method for extending the function of a dynamically linkable program module according to claim 32 of the present invention is applied is a dynamic conversion method according to any one of claims 29 to 31. A color conversion processing method applying a function expansion method of a program module that can be linked to
The upper module is drawing control means for controlling drawing processing for the color image output device, and the program module is a command for drawing an arbitrary object to which attribute information of a predetermined color matching method is added from the drawing control means. And drawing color information indicating the drawing color of the object, the drawing command is converted into a drawing command specific to the color image output device, and a color matching process corresponding to the attribute information is performed on the drawing color information. And applying the rendering command and the rendering color information after the color matching to the color image output device. And enter
A type determination step of determining the type of the object to be rendered based on the input rendering command; and attribute information of different color matching methods prepared for each type of object based on the determination result of the type determination step , And replaces the attribute information added to the drawing command with the selected attribute information.
An attribute information replacement step of outputting the drawing command and the drawing color information to the color conversion means, whereby the color conversion means outputs the drawing color information based on the attribute information replaced by the attribute information replacement means. Is subjected to color matching processing.

【0041】また,本発明の請求項33に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法を適用
した色変換処理方法は,前記請求項29〜31のいずれ
か一つに記載の動的にリンク可能なプログラムモジュー
ルの機能拡張方法を適用した色変換処理方法であって,
前記上位モジュールが,カラー画像出力装置に対する描
画処理を制御する描画制御手段であり,前記プログラム
モジュールが,前記描画制御手段から任意のオブジェク
トの描画命令および前記オブジェクトの描画色を示す描
画色情報を入力し,入力した描画命令をカラー画像出力
装置に固有の描画命令に変換して,前記描画色情報と共
に前記カラー画像出力装置に出力するカラー・マッチン
グ処理に未対応の描画命令変換手段である場合の色変換
処理方法において,前記描画制御手段から所定のカラー
・マッチング方法の属性情報が付加された任意のオブジ
ェクトの描画命令および前記オブジェクトの描画色を示
す描画色情報を入力し,入力した描画命令に基づいて,
描画対象のオブジェクトの種類を判定する種類判定工程
と,前記種類判定工程の判定結果に基づいて,オブジェ
クトの種類毎に用意されたそれぞれ異なるカラー・マッ
チング方法の属性情報から該当する属性情報を選択する
選択工程と,前記選択工程で選択された属性情報に基づ
いて,前記入力した描画色情報にカラー・マッチング処
理を施す色変換工程と,前記入力した描画命令に基づい
て,前記描画命令変換手段に新たな描画命令と共にカラ
ー・マッチング処理後の描画色情報を出力する出力工程
と,を含むことにより,前記出力工程で出力された描画
命令および描画色情報を用いて,前記描画命令変換手段
で前記描画命令がカラー画像出力装置に固有の描画命令
に変換され,前記描画色情報と共に前記カラー画像出力
装置に出力されるものである。
A color conversion processing method to which the method for extending the function of a dynamically linkable program module according to claim 33 of the present invention is applied is a dynamic conversion method according to any one of claims 29 to 31. A color conversion processing method applying a function expansion method of a program module that can be linked to
The upper module is drawing control means for controlling a drawing process for a color image output device, and the program module inputs a drawing command for an arbitrary object and drawing color information indicating a drawing color of the object from the drawing control means. Then, the input drawing command is converted into a drawing command specific to the color image output device, and the drawing command conversion means which does not support the color matching process which is output to the color image output device together with the drawing color information. In the color conversion processing method, a drawing command of an arbitrary object to which attribute information of a predetermined color matching method is added and drawing color information indicating a drawing color of the object are input from the drawing control means, and the input drawing command is input to the input drawing command. On the basis of,
A type determining step of determining the type of the object to be drawn; and, based on the determination result of the type determining step, selecting corresponding attribute information from attribute information of different color matching methods prepared for each type of object. A selection step, a color conversion step of performing a color matching process on the input drawing color information based on the attribute information selected in the selection step, and the drawing command conversion means based on the input drawing command. An output step of outputting the drawing color information after the color matching process together with the new drawing instruction, so that the drawing instruction conversion means uses the drawing instruction and the drawing color information output in the output step to output the drawing instruction. The drawing command is converted into a drawing command unique to the color image output device, and is output to the color image output device together with the drawing color information. Than it is.

【0042】また,本発明の請求項34に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法を適用
した色変換処理方法は,請求項32または33に記載の
動的にリンク可能なプログラムモジュールの機能拡張方
法を適用した色変換処理方法において,さらに,予め設
定された情報に基づいて,前記オブジェクトの種類に応
じた複数の属性情報を生成した後,生成した複数の属性
情報を保持する工程を含むものである。
The color conversion processing method to which the method for extending the function of a dynamically linkable program module according to claim 34 of the present invention is applied is a dynamically linkable program module according to claim 32 or 33. In the color conversion processing method to which the function expansion method is applied, further comprising: generating a plurality of pieces of attribute information according to the type of the object based on preset information, and holding the plurality of pieces of generated attribute information. Is included.

【0043】また,本発明の請求項35に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法を適用
した色変換処理方法は,請求項32〜34のいずれか一
つに記載の動的にリンク可能なプログラムモジュールの
機能拡張方法を適用した色変換処理方法において,前記
オブジェクトの種類は,ビットマップ画像,文字および
その他のグラフィック画像の3種類であるものである。
Also, a color conversion processing method to which the method of extending the function of a dynamically linkable program module according to claim 35 of the present invention is applied is a dynamically converting method according to any one of claims 32 to 34. In the color conversion processing method to which the function expansion method of the linkable program module is applied, the types of the objects are three types: bitmap images, characters, and other graphic images.

【0044】また,本発明の請求項36に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法を適用
した色変換処理方法は,請求項35記載の動的にリンク
可能なプログラムモジュールの機能拡張方法を適用した
色変換処理方法において,前記種類判定工程は,描画対
象のオブジェクトが文字であると判定した場合に,該当
する描画色情報にカラー・マッチング処理が施されない
ようにするものである。
A color conversion processing method to which the method for extending the function of a dynamically linkable program module according to claim 36 of the present invention is applied is a method for extending the function of a dynamically linkable program module according to claim 35. In the color conversion processing method to which the method is applied, in the type determination step, when it is determined that the drawing target object is a character, the color matching processing is not performed on the corresponding drawing color information.

【0045】また,本発明の請求項37に係る動的にリ
ンク可能なプログラムモジュールの機能拡張方法を適用
した色変換処理方法は,請求項36記載の動的にリンク
可能なプログラムモジュールの機能拡張方法を適用した
色変換処理方法において,前記種類判定工程は,描画対
象のオブジェクトが文字であると判定した場合に,さら
に,前記文字の色がシアン,マゼンタ,イエロー,ブラ
ック,レッド,グリーン,ブルーおよびホワイトのいず
れかに該当するかを判定し,前記文字の色が前記各色の
いずれかに該当すると判定した場合に,該当する描画色
情報にカラー・マッチング処理が施されないようにする
ものである。
A color conversion processing method to which the method for extending the function of a dynamically linkable program module according to claim 37 of the present invention is applied is a method for extending the function of a dynamically linkable program module according to claim 36. In the color conversion processing method to which the method is applied, the type determining step further includes, when determining that the object to be rendered is a character, further changing the color of the character to cyan, magenta, yellow, black, red, green, and blue. And white are determined, and if the color of the character is determined to correspond to one of the colors, the color matching processing is not performed on the corresponding drawing color information. .

【0046】また,本発明の請求項38に係るコンピュ
ータ読み取り可能な記録媒体は,前記請求項18〜28
のいずれか一つに記載の色変換処理方法をコンピュータ
に実行させるプログラムを記録したものである。
The computer-readable recording medium according to claim 38 of the present invention is the computer-readable recording medium according to claims 18 to 28.
And a program for causing a computer to execute the color conversion processing method according to any one of the above.

【0047】また,本発明の請求項39に係るコンピュ
ータ読み取り可能な記録媒体は,前記請求項29〜31
のいずれか一つに記載の動的にリンク可能なプログラム
モジュールの機能拡張方法をコンピュータに実行させる
プログラムを記録したものである。
A computer-readable recording medium according to claim 39 of the present invention is the computer-readable recording medium according to claims 29 to 31.
And a program for causing a computer to execute the method for extending the function of a dynamically linkable program module according to any one of the above.

【0048】さらに,本発明の請求項40に係るコンピ
ュータ読み取り可能な記録媒体は,前記請求項32〜3
7のいずれか一つに記載の動的にリンク可能なプログラ
ムモジュールの機能拡張方法を適用した色変換処理方法
をコンピュータに実行させるプログラムを記録したもの
である。
Further, a computer-readable recording medium according to claim 40 of the present invention is a computer-readable recording medium.
7 stores a program for causing a computer to execute a color conversion processing method to which the method for dynamically expanding a function of a program module that can be dynamically linked is described.

【0049】[0049]

【発明の実施の形態】以下,本発明に係る色変換処理装
置およびその方法,動的にリンク可能なプログラムモジ
ュールの拡張方法およびそれを適用した色変換処理方法
並びにそれらの方法をコンピュータに実行させるプログ
ラムを記録したコンピュータ読み取り可能な記録媒体の
実施の形態について,添付の図面を参照しつつ詳細に説
明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, a color conversion processing apparatus and method according to the present invention, a method for expanding a dynamically linkable program module, a color conversion processing method to which the method is applied, and a method for causing a computer to execute those methods are described. An embodiment of a computer-readable recording medium on which a program is recorded will be described in detail with reference to the accompanying drawings.

【0050】〔実施の形態1〕実施の形態1に係る色変
換処理装置および方法は,アプリケーションが描画命令
を使ってカラー・マッチングのONおよびOFFを制御
するシステムにおいて,カラー・マッチングがOFFの
場合であっても,カラー・マッチングをONにした場合
と同様な描画命令に書き換えることを可能にしたもので
ある。なお,実施の形態1においては,モニタに描画さ
れたカラー・イメージをプリンタに出力する場合を例と
して説明する。
[Embodiment 1] The color conversion processing apparatus and method according to Embodiment 1 are used in a system in which an application controls ON and OFF of color matching using a drawing command when color matching is OFF. Can be rewritten to the same drawing command as when the color matching is turned on. In the first embodiment, a case where a color image drawn on a monitor is output to a printer will be described as an example.

【0051】図1は,実施の形態1に係る色変換処理装
置の概略構成を示すブロック図である。図1に示す色変
換処理装置は,アプリケーション12から描画命令を入
力し,モニタおよびプリンタに対する描画処理を管理す
る描画モジュール11と,描画モジュール11から描画
命令を入力し,カラー・マッチング処理を実行して,プ
リンタ14に対して出力する出力データに変換するプリ
ンタ・ドライバ13とから構成されている。
FIG. 1 is a block diagram showing a schematic configuration of the color conversion processing device according to the first embodiment. The color conversion processing device shown in FIG. 1 receives a drawing command from an application 12, draws a drawing command from the drawing module 11 that manages a drawing process for a monitor and a printer, and executes a color matching process. And a printer driver 13 that converts the data into output data to be output to the printer 14.

【0052】図2は,図1に示すプリンタ・ドライバ1
3の概略構成を示すブロック図である。プリンタ・ドラ
イバ13は,カラー・マッチングがOFFの場合に割込
処理モジュールとして起動され,描画モジュール11か
ら出力された描画命令を入力し,カラー・マッチング用
色空間の設定を行ってカラー・マッチングがONの場合
と同様な描画命令に再構築する描画命令変換部21と,
描画命令変換部21で再構築された描画命令を入力し,
カラー・マッチング処理を実行して,カラー画像出力装
置に対して出力する出力データに変換するプリンタ出力
用データ生成部22とを備えている。
FIG. 2 shows the printer driver 1 shown in FIG.
FIG. 3 is a block diagram showing a schematic configuration of No. 3; When the color matching is OFF, the printer driver 13 is activated as an interrupt processing module, inputs a drawing command output from the drawing module 11, sets a color space for color matching, and performs color matching. A rendering command conversion unit 21 for reconstructing a rendering command similar to the ON command;
The drawing command reconstructed by the drawing command converter 21 is input, and
A printer output data generation unit 22 that executes a color matching process and converts the output data into output data to be output to a color image output device.

【0053】描画命令変換部21は,割込処理により,
カラー・マッチング用色空間の設定を行い,カラー・マ
ッチングがOFFの場合の描画命令をカラー・マッチン
グがONの場合の描画命令に再構築する。加えて,描画
命令変換部21は,描画されるオブジェクトの種類を判
定し,判定したオブジェクトの種類に対応したカラー・
マッチング方法を選択し,描画命令の再構築を行う際,
選択したカラー・マッチング方法のパラメータを描画命
令中に設定する。
The rendering command converter 21 performs an interrupt process to
A color space for color matching is set, and a drawing command when color matching is OFF is reconstructed into a drawing command when color matching is ON. In addition, the rendering command converter 21 determines the type of the object to be rendered, and determines the color / color corresponding to the determined type of the object.
When selecting the matching method and reconstructing the drawing instruction,
The parameters of the selected color matching method are set in the drawing command.

【0054】プリンタ出力用データ生成部22は,カラ
ー・マッチングモジュール23を備えている。カラー・
マッチングモジュール23は,デバイスの特性を記述し
たデバイス・プロファイル27と,デバイス・プロファ
イル27を用いてカラー・マッチング処理を実行する複
数の色変換エンジン24〜26とを備えている。プリン
タ出力用データ生成部22は,描画命令変換部21で描
画命令中に設定されたカラー・マッチング方法のパラメ
ータに基づいて,図3に示すように複数の色変換エンジ
ン24〜26の中から例えば色変換エンジン24を起動
させ,デバイス・プロファイル27を用いてカラー・マ
ッチング処理を実行させる。
The printer output data generator 22 has a color matching module 23. Color·
The matching module 23 includes a device profile 27 that describes the characteristics of the device, and a plurality of color conversion engines 24 to 26 that execute a color matching process using the device profile 27. As shown in FIG. 3, the printer output data generation unit 22 selects one of a plurality of color conversion engines 24 to 26 based on the parameters of the color matching method set in the drawing command by the drawing command conversion unit 21. The color conversion engine 24 is activated, and the color matching processing is executed using the device profile 27.

【0055】なお,上述した実施の形態1に係る色変換
処理装置の構成においては,描画命令変換部21が本発
明の判定手段,種類判定手段および選択手段に,プリン
タ出力用データ生成部22が本発明の色変換手段に対応
する(請求項1)。
In the configuration of the color conversion processing device according to the first embodiment, the drawing command conversion unit 21 is used as the determination unit, type determination unit and selection unit of the present invention, and the printer output data generation unit 22 is used as the output unit. This corresponds to the color conversion means of the present invention (claim 1).

【0056】次に,実施の形態1に係る色変換処理装置
の動作を説明する。なお,以下では,説明をより明確に
するため,アプリケーションが描画命令を使ってカラー
・マッチングを制御する方法を説明した後,実施の形態
1に係る色変換処理装置の動作説明を行うことにする。
Next, the operation of the color conversion processing apparatus according to the first embodiment will be described. In the following, in order to clarify the description, a method in which the application controls the color matching using the drawing command will be described, and then the operation of the color conversion processing device according to the first embodiment will be described. .

【0057】(アプリケーションによるカラー・マッチ
ングの制御) (1)イメージの印刷プロセス,(2)オブジェクトの
色指定方法,(3)カラー・マッチング処理の順でアプ
リケーションが描画命令を使ってカラー・マッチングを
制御する方法を説明する。
(Control of Color Matching by Application) The application performs color matching using a drawing command in the order of (1) an image printing process, (2) an object color designation method, and (3) a color matching process. A control method will be described.

【0058】(1)イメージ印刷プロセス 図4は,種々のオブジェクトが含まれたカラー・イメー
ジを示す説明図である。図4に示すカラー・イメージ4
1は,自然画像(ビットマップ画像)42,フォント4
3,線画44,単色の塗りつぶしパターン45を含んで
いる。このような複合文書は,一般的な文書作成アプリ
ケーションで容易に作成可能であり,また,高画質なプ
リントに対する需要も高まっている。以下,このカラー
・イメージを印刷する場合を例にとり,一般的な印刷プ
ロセスについて説明する。
(1) Image Printing Process FIG. 4 is an explanatory diagram showing a color image including various objects. Color image 4 shown in FIG.
1 is a natural image (bitmap image) 42, font 4
3, a line drawing 44, and a monochrome filling pattern 45. Such a composite document can be easily created by a general document creation application, and the demand for high-quality prints is increasing. Hereinafter, a general printing process will be described with an example of printing this color image.

【0059】オペレータは,アプリケーション12に用
意されたツールを用いて画面上に図4に示すカラー・イ
メージ41を描いた後,印刷メニューから印刷を指示す
る。この際,文書作成アプリケーションは描画データを
記憶しておき,印刷が指示されると記憶している描画デ
ータに従ってプリンタ・ドライバ13にデータを送信し
て印刷を実行させる。
The operator draws a color image 41 shown in FIG. 4 on the screen using a tool prepared in the application 12, and then instructs printing from a print menu. At this time, the document creation application stores the drawing data, and when printing is instructed, transmits the data to the printer driver 13 in accordance with the stored drawing data to execute printing.

【0060】通常オペレーティング・システムは,図1
に示す描画モジュール11を備えており,前述したよう
に,描画モジュール11がモニタやプリンタに対する描
画処理を管理している。
The normal operating system is shown in FIG.
And the drawing module 11 manages a drawing process for a monitor or a printer as described above.

【0061】・モニタへの出力 例えば,図4に示すカラー・イメージ41をモニタ上に
描画する場合,オペレータによるアプリケーション12
のツールを用いた描画操作は,アプリケーション12内
で描画モジュール11が解釈可能な描画命令に変換され
て描画モジュール11に送られる。そして,描画モジュ
ール11は,対象モニタ用のドライバへ描画命令を伝
え,モニタのデバイス・ドライバによってモニタ上にイ
メージが描かれる。
Output to Monitor For example, when drawing a color image 41 shown in FIG.
The drawing operation using the tool is converted into a drawing command that can be interpreted by the drawing module 11 in the application 12 and sent to the drawing module 11. Then, the drawing module 11 transmits a drawing command to a driver for the target monitor, and an image is drawn on the monitor by a device driver of the monitor.

【0062】・カラープリンタへの出力 印刷の場合も,モニタ上への描画と同様のプロセスがと
られる。オペレータがアプリケーション12を使ってモ
ニタ上で編集したイメージをプリンタに出力する場合,
アプリケーション12から印刷ジョブを始めるという命
令が描画モジュール11に送信される。描画モジュール
11は,印刷開始のメッセージを受け取ると,モニタに
描画する場合と同様の手順でプリンタ・ドライバ13へ
描画命令の送信を始める。プリンタ・ドライバ13で
は,描画モジュール11からの描画命令を解釈してプリ
ンタが解釈可能な出力データに変換し,ローカル接続あ
るいはネットワーク接続されたプリンタ14にデータを
送信する。印刷が終了すると,アプリケーション12
は,描画モジュール11に印刷終了命令を送信し,オペ
レータが再び編集可能な状態になる。
Output to Color Printer In the case of printing, the same process as for drawing on the monitor is performed. When an operator outputs an image edited on a monitor using the application 12 to a printer,
A command to start a print job is transmitted from the application 12 to the drawing module 11. Upon receiving the print start message, the drawing module 11 starts transmitting a drawing command to the printer driver 13 in the same procedure as when drawing on the monitor. The printer driver 13 interprets a rendering command from the rendering module 11 and converts it into output data that can be interpreted by the printer, and transmits the data to a printer 14 that is locally or network-connected. When printing is completed, the application 12
Transmits a print end command to the drawing module 11, and the operator can edit again.

【0063】例えば,ポストスクリプト・プリンタに出
力する場合,プリンタ・ドライバ13は,ポストスクリ
プト・コードに描画命令を変換する役割を果たすことに
なる。
For example, when outputting to a PostScript printer, the printer driver 13 plays a role of converting a drawing command into PostScript code.

【0064】(2)オブジェクトの色指定方法 次に,種々のオブジェクトに対する主な色の指定方法に
ついて説明する。描画は,描画モジュール11がサポー
トするオブジェクト単位で行われる。ここでいうオブジ
ェクトとは,描画される個々の図形を意味し,例えばビ
ットマップ,フォント,ライン,パターン等がある。こ
れらのオブジェクトに対する色指定の方法は,大きく以
下の3通りに分けることができる。
(2) Object Color Designation Method Next, a method of designating main colors for various objects will be described. Drawing is performed for each object supported by the drawing module 11. Here, the object means an individual figure to be drawn, for example, a bitmap, a font, a line, a pattern, or the like. The method of specifying colors for these objects can be roughly divided into the following three methods.

【0065】・ビットマップ・データの色指定方法 自然画等は,ビットマップ形式のデータ構造をとる。す
なわち,各画素毎にRGBの値を持っており,その画素
値をモニタやプリンタのデバイス・ドライバへ送る。描
画は,まずビットマップを書き込むメモリ領域を確保し
た後,そのメモリへ画素値を転送することによって行わ
れる。
Method of specifying color of bitmap data Natural images and the like have a bitmap data structure. That is, each pixel has an RGB value, and the pixel value is sent to a monitor or a device driver of a printer. Drawing is performed by first securing a memory area for writing a bitmap and then transferring pixel values to the memory.

【0066】・フォント,ラインの色指定方法 フォントやラインは,単色で描画されることが多い。す
なわち,単色のフォントでテキストを表示したり,ライ
ンを書いたりする。また,所定の領域を単色で塗りつぶ
すような場合も,フォントやラインに色指定を行う場合
と同様な方法で色指定を行う。フォントやラインについ
ては,一般に,まず色を指定した後,所定のオブジェク
トでの描画を開始する。例えば,赤色でタイトル文を描
いた後,緑の線を引く場合, 1.ペンを赤色に設定 2.フォントの描画 3.ペンを緑色に設定 4.ラインの描画 というようにペンというオブジェクトが描画の色情報を
記憶し,常にペンの色情報を使って描画を行うという方
法がとられる場合が多い。
Font and line color designation method Fonts and lines are often drawn in a single color. That is, the text is displayed in a single color font, or lines are written. Also, when a predetermined area is filled with a single color, color designation is performed in the same manner as in the case where color designation is performed on fonts and lines. For fonts and lines, generally, a color is first specified, and then drawing with a predetermined object is started. For example, to draw a title line in red and then draw a green line: 1. Set the pen to red. Drawing fonts 3. 3. Set the pen to green. In many cases, an object called a pen stores the color information of the drawing, such as drawing a line, and the drawing is always performed using the color information of the pen.

【0067】・特定パターンの色指定方法 特定パターンとは,所定の領域にグラデーションをつけ
たものや,フォントに模様をつけたりしたものである。
この場合は複数の色を用いて描画が行われる。自然画等
のビットマップ形式と異なるのは,ビットマップが全画
素に対して色情報を持つのに対し,特定パターンの場合
は,小さなビットマップ・パターンを拡大したり,変形
したり,クリッピングしたりして所定の領域に色付けす
る点である。
Method of Designating Color of Specific Pattern The specific pattern is a pattern in which a predetermined area is provided with a gradation or a font is provided with a pattern.
In this case, drawing is performed using a plurality of colors. The difference from bitmap formats such as natural images is that while a bitmap has color information for all pixels, a small bitmap pattern can be enlarged, deformed, or clipped if it is a specific pattern. Is to color a predetermined area.

【0068】ここで,緑から白に変化するグラデーショ
ンで200×1000画素の矩型領域を塗りつぶす場合
を例にして,特定パターンでの描画を説明する。特定パ
ターンでの描画の場合,まず,パターンと呼ばれるオブ
ジェクトを作成する。パターンは,例えば64×64画
素程度の小さなビットマップである。アプリケーション
上で,予め緑から白に変化する64×64画素のビット
マップ・パターンを生成しておき,このビットマップ・
パターンを200×1000画素に拡大して矩型領域を
塗りつぶす。この拡大や塗りつぶし等は,通常,描画モ
ジュール31が自動的に行うものである。このようなパ
ターンによる描画は,塗りつぶし領域の変形が行われた
場合等に便利である。
Here, the drawing of a specific pattern will be described by taking, as an example, a case where a rectangular area of 200 × 1000 pixels is painted with a gradation that changes from green to white. In the case of drawing with a specific pattern, first, an object called a pattern is created. The pattern is a small bitmap of, for example, about 64 × 64 pixels. On the application, a 64 × 64 pixel bitmap pattern that changes from green to white is generated in advance, and this bitmap pattern
The pattern is enlarged to 200 × 1000 pixels to fill the rectangular area. The enlargement, the filling, and the like are normally performed automatically by the drawing module 31. Drawing with such a pattern is convenient when the painted area is deformed.

【0069】(3)カラー・マッチング処理 上述した3通りの色指定方法において用いられる色信号
は,通常RGB信号である。RGB信号は,デバイスに
依存した色信号であるため,そのままではカラー・マッ
チング処理を実現することができない。そこで,RGB
で色指定された場合の処理方法を説明する。
(3) Color Matching Process The color signals used in the above-mentioned three color designation methods are usually RGB signals. Since the RGB signals are color signals depending on the device, the color matching processing cannot be realized as it is. So, RGB
A processing method when a color is designated by the following will be described.

【0070】カラー・マッチングが可能なオペレーティ
ング・システムでは,RGB信号の他にデバイス独立な
色信号を扱うことができるように構成されている。その
アーキテクチャ自体は,オペレーティング・システムに
よって種々異なっている。例えば,アプリケーション側
でカラー・マッチング専用の描画命令を使って描画を行
う場合や,アプリケーション側ではなく,ドライバ側で
カラー・マッチング用のコードを生成する場合等があ
る。前述したように,実施の形態1に係る色変換処理装
置では,アプリケーション側でカラー・マッチング専用
の描画命令を使って描画を行うシステムを前提としてい
る。
An operating system capable of color matching is configured to be able to handle device-independent color signals in addition to RGB signals. The architecture itself varies depending on the operating system. For example, there are a case where drawing is performed using a drawing command dedicated to color matching on the application side, and a case where a code for color matching is generated on the driver side instead of the application side. As described above, the color conversion processing device according to the first embodiment is based on the premise that the application performs drawing using a drawing command dedicated to color matching.

【0071】カラー・マッチングは,図3に示すよう
な,デバイスの特性を記述したデバイス・プロファイル
27と,デバイス・プロファイル27を用いて色変換を
実行する色変換エンジン24とを用いて実行される。
The color matching is performed using a device profile 27 describing the characteristics of the device and a color conversion engine 24 for performing color conversion using the device profile 27, as shown in FIG. .

【0072】デバイス・プロファイル27には,通常C
IE XYZやCIE LAB等のデバイス独立信号と
モニタRGBやプリンタCMYK等のデバイス信号との
物理的な関係が記述されている。例えば,モニタのRG
B信号をプリンタのCMYK信号に変換する場合には,
色変換エンジン24がモニタのプロファイルに基づいて
RGB信号をXYZ信号に変換した後,XYZ信号をプ
リンタのプロファイルに基づいてCMYK信号に変換す
る。このように,中間的にデバイス独立な色信号を用い
ることにより,測色的に一致した色再現が可能となる。
The device profile 27 usually contains C
The physical relationship between device independent signals such as IE XYZ and CIE LAB and device signals such as monitor RGB and printer CMYK is described. For example, monitor RG
When converting the B signal to the CMYK signal of the printer,
After the color conversion engine 24 converts the RGB signals into XYZ signals based on the monitor profile, it converts the XYZ signals into CMYK signals based on the printer profile. As described above, by using a device-independent color signal in the middle, colorimetrically consistent color reproduction can be performed.

【0073】ところが,モニタとプリンタとは,色再現
可能な範囲が異なり,一般にモニタよりもプリンタの方
が色再現範囲が狭い。そのため,モニタで再現可能な色
をプリンタに出力する場合には,プリンタで再現不可能
な色を再現可能な色にマッピング(ガマット・マッピン
グ)することが必要になる。ガマット・マッピングには
種々の方式があるが,一般には自然画像,グラフ,フォ
ント等のような画像の種類に応じて異なった方式を用い
ることが望ましい。そのため,色変換エンジン24は,
各種ガマット・マッピングに対応した複数の色変換方式
を実行できるように構成されることが多い。
However, the monitor and the printer have different color reproducible ranges, and the printer generally has a smaller color reproducible range than the monitor. Therefore, when a color that can be reproduced on a monitor is output to a printer, it is necessary to map a color that cannot be reproduced by the printer to a color that can be reproduced (gamut mapping). Although there are various methods for gamut mapping, it is generally desirable to use different methods depending on the type of image such as a natural image, graph, font, and the like. Therefore, the color conversion engine 24
In many cases, a plurality of color conversion methods corresponding to various gamut mappings can be executed.

【0074】上述したカラー・マッチングを容易に実現
できるようにするため,オペレーティング・システムに
は通常カラー・マッチング用のモジュールが用意されて
いる。このモジュールには,色変換エンジンやデバイス
・プロファイルのアクセス制御のためのインターフェー
スが提供される。
To facilitate the above-described color matching, the operating system usually has a module for color matching. This module provides an interface for color conversion engine and device profile access control.

【0075】次に,カラー・マッチングを行う場合の描
画モジュール11の動作を説明する。カラー・マッチン
グを行う場合には,全てカラー・マッチング用の色空間
を用いてオブジェクトの色指定を行う。そのため描画モ
ジュール11は,まずカラー・マッチングの開始コマン
ドを呼び出す。すなわち,このカラー・マッチングの開
始コマンドを呼び出すことにより,プリンタ・ドライバ
13において,カラー・マッチング処理を実行すること
ができるようにする。
Next, the operation of the drawing module 11 when performing color matching will be described. When performing color matching, the color of an object is specified using a color space for color matching. Therefore, the drawing module 11 first calls a color matching start command. That is, by calling this color matching start command, the printer driver 13 can execute the color matching process.

【0076】描画モジュール11は,続いて,カラー・
マッチング用色空間の設定を行う。カラー・マッチング
用の色空間には,RGB空間,XYZ空間,CMYK空
間等,種々の色空間がある。この色空間には,XYZ信
号等のデバイス独立な色信号との関係を記述するための
属性情報が記述される。したがって,カラー・マッチン
グ用色空間の設定の前に,この属性情報を設定しておく
必要がある。属性情報の設定には,一般に,使用してい
るモニタのプロファイル情報が用いられる。例えば,R
GB色空間を設定する場合には,モニタのR・G・B純
色のXYZ三刺激値やガンマ等が設定される。
The drawing module 11 then proceeds to the color
Set the color space for matching. There are various color spaces such as an RGB space, an XYZ space, and a CMYK space as a color space for color matching. In this color space, attribute information for describing a relationship with a device-independent color signal such as an XYZ signal is described. Therefore, it is necessary to set this attribute information before setting the color space for color matching. Generally, profile information of a monitor being used is used for setting the attribute information. For example, R
When the GB color space is set, XYZ tristimulus values, gamma, and the like of R, G, and B pure colors of the monitor are set.

【0077】色空間が設定されると,続いてオブジェク
トの描画が開始される。オブジェクトの色指定は,作成
した色空間の種類に従う。例えば,XYZ空間が設定さ
れた場合には,XYZ値を用いてオブジェクトが描画さ
れる。
After the color space is set, drawing of the object is started. The color specification of the object follows the type of the created color space. For example, when an XYZ space is set, an object is drawn using XYZ values.

【0078】最後に,カラー・マッチングを終了する場
合には,終了コマンドを呼び出す。この終了コマンドを
呼び出すことにより,カラー・マッチングの終了を指定
することができる。
Finally, when terminating the color matching, an end command is called. By calling this end command, the end of the color matching can be specified.

【0079】以上の描画命令は,描画モジュール11か
らプリンタ・ドライバ13へ送られ,プリンタのコード
情報に変換される。例えば,ポストスクリプト・プリン
タの場合,RGB指定された色信号は,プリンタ・ドラ
イバ13側でCIE BasedColor(キャリブ
レートされた色信号)として解釈され,プリンタに送ら
れる。CIE BasedColorではRGB色空間
の属性情報も一緒に送信されるため,ポストスクリプト
・インタープリタにおいて,プリンタの特性に合わせて
RGBからCMYKへの色変換を行うことが可能とな
り,モニタに表示された通りの色再現が可能となる。
The drawing command described above is sent from the drawing module 11 to the printer driver 13 and is converted into printer code information. For example, in the case of a PostScript printer, a color signal designated as RGB is interpreted by the printer driver 13 as a CIE Based Color (calibrated color signal) and sent to the printer. In the CIE BasedColor, the attribute information of the RGB color space is also transmitted, so that the PostScript interpreter can perform the color conversion from RGB to CMYK in accordance with the characteristics of the printer. Color reproduction becomes possible.

【0080】一方,カラー・マッチングOFF状態の描
画命令は,ポストスクリプト・プリンタ・ドライバでデ
バイス信号として解釈される。デバイス信号として色信
号が送られた場合はプリンタ特性が考慮されないため,
モニタ出力とプリンタ出力との色は一致しない。
On the other hand, the rendering command in the color matching OFF state is interpreted as a device signal by the PostScript printer driver. When a color signal is sent as a device signal, the printer characteristics are not considered.
The colors of the monitor output and the printer output do not match.

【0081】上記ではポストスクリプト・プリンタにつ
いて説明したが,インクジェット・プリンタのようなラ
スタ・イメージ・プリンタの場合であっても,プリンタ
・ドライバが生成するコードのフォーマットが異なるの
みで,基本的には同様に,描画モジュール11から送信
される描画命令に従ってカラー・マッチングを使用した
り,中止したりすることになる。
In the above description, a PostScript printer has been described. However, even in the case of a raster image printer such as an ink jet printer, basically, only the format of the code generated by the printer driver is different. Similarly, color matching is used or stopped according to a drawing command transmitted from the drawing module 11.

【0082】このように,上述したアプリケーション側
でカラー・マッチングを制御するシステムでは,カラー
・マッチングをONにしていない場合,RGBで直接描
画された図形についてはカラー・マッチングが行われな
いことになる。その結果,カラー・マッチングをサポー
トしていないアプリケーションからイメージを出力する
場合には,たとえプリンタ・ドライバがカラー・マッチ
ングに対応していてもカラー・マッチングを実行するこ
とができない。
As described above, in the above-described system for controlling color matching on the application side, when color matching is not turned on, color matching is not performed for a figure directly drawn in RGB. . As a result, when an image is output from an application that does not support color matching, color matching cannot be performed even if the printer driver supports color matching.

【0083】(実施の形態1に係る色変換処理装置の動
作)上述したカラー・マッチングのアーキテクチャで
は,カラー・マッチングがOFFの状態で描画されたオ
ブジェクトは,デバイス信号としてそのままプリンタに
送られてしまう。そこで,実施の形態1に係る色変換処
理装置では,カラー・マッチングがOFFの状態で描画
されたオブジェクトも,カラー・マッチングがONの状
態と同じように扱うことができるようにプリンタ・ドラ
イバ13を拡張するものである。また,実施の形態1に
係る色変換処理装置は,プリンタへの出力コードに描画
命令を変換する際,描画オブジェクトの属性を考慮しな
がら最適なカラー・マッチング処理を実行するようにす
るものである。
(Operation of Color Conversion Processing Apparatus According to First Embodiment) In the above-described color matching architecture, an object drawn in a state where color matching is OFF is sent to a printer as a device signal as it is. . Therefore, the color conversion processing apparatus according to the first embodiment operates the printer driver 13 so that an object drawn with the color matching turned off can be handled in the same manner as the color matching turned on. It is an extension. Further, the color conversion processing device according to the first embodiment performs an optimum color matching process while considering the attributes of a drawing object when converting a drawing command into an output code to a printer. .

【0084】以下に,実施の形態1に係るカラー画像変
換装置の動作を説明する。図5は,実施の形態1に係る
カラー画像変換装置の動作手順を示すフローチャートで
ある。
The operation of the color image converter according to the first embodiment will be described below. FIG. 5 is a flowchart illustrating an operation procedure of the color image conversion device according to the first embodiment.

【0085】ステップS501において,描画モジュー
ル11は,アプリケーション12から受け取った描画命
令をプリンタ・ドライバ13に出力し,プリンタ・ドラ
イバ13は,出力された描画命令を入力する。
In step S501, the drawing module 11 outputs a drawing command received from the application 12 to the printer driver 13, and the printer driver 13 inputs the output drawing command.

【0086】プリンタ・ドライバ13は,入力した描画
命令がカラー・マッチングONであるか否かを判定する
(S502)。カラー・マッチングがONの場合は,ス
テップS507に進み,プリンタ出力用データ生成部2
2が色変換エンジン24〜26の何れかを起動させ,予
め指定されたカラー・マッチング方法を用いてカラー・
マッチング処理を実行する(S508)。
The printer driver 13 determines whether the input drawing command is color matching ON (S502). If the color matching is ON, the process proceeds to step S507, where the printer output data generation unit 2
2 activates one of the color conversion engines 24-26, and uses a color matching method designated in advance to perform color conversion.
A matching process is performed (S508).

【0087】一方,カラー・マッチングがOFFの場
合,RGB色で指定された描画命令がそのまま描画モジ
ュール11からプリンタ・ドライバ13に送信されたこ
とになる。したがって,この場合はカラー・マッチング
処理を実行することができない。そこで,プリンタ・ド
ライバ13は,描画命令変換部21を起動させ(S50
3),割込処理により,前述したカラー・マッチング用
色空間の設定処理を実行させる。
On the other hand, when the color matching is OFF, it means that the drawing command specified in the RGB colors is transmitted from the drawing module 11 to the printer driver 13 as it is. Therefore, in this case, the color matching process cannot be executed. Then, the printer driver 13 activates the drawing command converter 21 (S50).
3) The above-described color matching color space setting processing is executed by interrupt processing.

【0088】描画命令変換部21は,まず,入力した描
画命令がいかなる種類のオブジェクトに対応するものか
を判定する(S504)。
The rendering command converter 21 first determines what kind of object the input rendering command corresponds to (S504).

【0089】オブジェクトの種類を判定した後,描画命
令変換部21は,予め用意したオブジェクトの種類とカ
ラー・マッチング方法との対応関係情報から,オブジェ
クトの種類に対応したカラー・マッチング方法を選択し
(S505),カラー・マッチング用色空間を設定する
と共に,描画命令中のカラー・マッチング方法のパラメ
ータを,選択したカラー・マッチング方法に対応したパ
ラメータに設定する(S506)。
After determining the type of the object, the rendering command conversion unit 21 selects a color matching method corresponding to the type of the object from the correspondence information between the type of the object and the color matching method prepared in advance ( S505), the color space for color matching is set, and the parameter of the color matching method in the drawing command is set to a parameter corresponding to the selected color matching method (S506).

【0090】すなわち,描画命令変換部21は,前述し
たように,カラー・マッチングの開始コマンドを呼び出
し,カラー・マッチング用色空間の設定を行う。色空間
には,XYZ信号等のデバイス独立の色信号との関係を
記述するための属性情報を記述する。そして,例えば,
ビットマップ画像の描画命令を入力した場合には,描画
命令中のカラー・マッチング方法のパラメータを自然画
モードに設定する。また,フォントの描画命令を入力し
た場合には,描画命令中のカラー・マッチング方法のパ
ラメータを単色べたモードに設定する。ただし,オブジ
ェクトの種類に基づくカラー・マッチング方法の選択
は,カラー・マッチングモジュール23中にいかなる種
類のオブジェクトに対応する色変換エンジンが用意され
ているのかに依存する。実施の形態1においては,自然
画用色変換エンジン24,単色べた用色変換エンジン2
5およびパターン用色変換エンジン26が用意されてい
る。
That is, as described above, the rendering command conversion unit 21 calls the color matching start command and sets the color space for color matching. In the color space, attribute information for describing a relationship with a device-independent color signal such as an XYZ signal is described. And, for example,
When a bitmap image drawing command is input, the parameter of the color matching method in the drawing command is set to the natural image mode. When a font drawing command is input, the parameter of the color matching method in the drawing command is set to the solid color mode. However, the selection of the color matching method based on the type of the object depends on what kind of object a color conversion engine is prepared in the color matching module 23. In the first embodiment, the natural image color conversion engine 24 and the solid color solid color conversion engine 2
5 and a pattern color conversion engine 26 are provided.

【0091】描画命令変換部21は,このようにしてR
GB値で指定された描画命令をカラー・マッチングをO
Nにしたときと同じ描画命令に再構築し,再構築した描
画命令をプリンタ出力用データ生成部22に対して出力
する。
The rendering command conversion unit 21 determines the R
Set color matching for drawing command specified by GB value to O
The reconstructed drawing command is reconstructed to the same drawing command as when N was set, and the reconstructed drawing command is output to the printer output data generation unit 22.

【0092】プリンタ出力用データ生成部22は,描画
命令変換部21で再構築した描画命令を入力して解析
し,描画命令中に設定されたカラー・マッチング方法の
パラメータに対応した色変換エンジンをカラー・マッチ
ングモジュール23から選択して起動させる(S50
7)。例えば,カラー・マッチング方法のパラメータが
自然画モードに設定されている場合は,自然画用色変換
エンジン24を選択して起動させる。また,単色べたモ
ードに設定されている場合は,単色べた用色変換エンジ
ン25を選択して起動させる。
The printer output data generation unit 22 inputs and analyzes the drawing command reconstructed by the drawing command conversion unit 21, and executes a color conversion engine corresponding to the parameter of the color matching method set in the drawing command. Select and activate from the color matching module 23 (S50
7). For example, when the parameter of the color matching method is set to the natural image mode, the natural image color conversion engine 24 is selected and activated. If the single color solid mode is set, the single color solid color conversion engine 25 is selected and activated.

【0093】その後,例えば自然画用色変換エンジン2
4を起動させた場合,自然画用色変換エンジン24は,
図3に示すようにデバイス・プロファイル27を参照し
つつ,ビットマップ画像のRGBをプリンタのCMYK
に変換する(S508)。すなわち,自然画用色変換エ
ンジン24は,デバイス・プロファイル27中のモニタ
のプロファイルに基づいて,RGB信号をXYZ信号等
のデバイス独立の色信号に変換した後,プリンタ・プロ
ファイルに基づいて,XYZ信号をCMYK信号に変換
する。加えて,一般にモニタよりプリンタの方が色再現
範囲が狭いため,自然画に適した方法を用いてプリンタ
が再現不可能な色を再現可能な色にマッピングする。
Then, for example, the natural image color conversion engine 2
4 is activated, the natural image color conversion engine 24
Referring to the device profile 27 as shown in FIG.
(S508). That is, the natural image color conversion engine 24 converts the RGB signals into device-independent color signals such as XYZ signals based on the monitor profile in the device profile 27, and then converts the XYZ signals based on the printer profile. Is converted to a CMYK signal. In addition, since the color reproduction range of the printer is generally smaller than that of the monitor, colors that cannot be reproduced by the printer are mapped to reproducible colors using a method suitable for natural images.

【0094】このようにしてプリンタ出力データ生成部
22でカラー・マッチング処理が実行され,生成された
プリンタ出力データは,描画モジュール11に対して出
力される。なお,他のオブジェクトに対しても同様の処
理が行われ,描画モジュール11へ出力データが送信さ
れる。描画モジュール11は,プリンタ・ドライバ13
からの出力データを入力し,プリンタ14との間での描
画ルーチンに入り(S509),カラー・マッチング処
理を終了する。
The color matching processing is executed by the printer output data generation unit 22 in this way, and the generated printer output data is output to the drawing module 11. The same processing is performed on other objects, and output data is transmitted to the drawing module 11. The drawing module 11 includes a printer driver 13
, And enters a drawing routine with the printer 14 (S509), and terminates the color matching processing.

【0095】上述した描画命令変換部21による描画命
令の再構築方法では,オブジェクト毎に最適なカラー・
マッチング処理を実現することができる。その際,オブ
ジェクト毎にどのようなカラー・マッチング方法が適し
ているのかということが重要となってくる。
In the above-described method for reconstructing the drawing command by the drawing command converter 21, the optimum color / color
Matching processing can be realized. At that time, it is important to determine what color matching method is suitable for each object.

【0096】本発明においては,カラー・マッチング方
法の選択方法について何ら制約を設けるわけではない
が,基本的には,描画オブジェクトの階調性に応じて色
変換のモードを切り替えることが望ましい。
In the present invention, there is no restriction on the selection method of the color matching method, but it is basically desirable to switch the color conversion mode according to the gradation of the drawing object.

【0097】すなわち,ビットマップ画像のように,各
画素毎に色が指定されているようなオブジェクトについ
ては階調性が最も重視されるため,階調性を重視したよ
うな色再現を行うようにする。階調性重視の色再現方式
としては,例えば図6に示すような,プリンタが再現で
きない色を色相と明度一定で圧縮する方法等がある。
That is, for an object such as a bitmap image in which a color is specified for each pixel, the gradation is given the highest priority. Therefore, color reproduction that emphasizes the gradation is performed. To As a color reproduction method that emphasizes gradation, for example, there is a method of compressing a color that cannot be reproduced by a printer with a constant hue and brightness as shown in FIG.

【0098】一方,単色のフォントや線画等では,階調
性は関係ないが目立つような色再現が必要となる。特
に,黄色やマゼンダのべた画像は,プリンタでも単色で
再現した方がざらつき感がなく,色の区別がはっきりす
る。そこで,単色べたのオブジェクトに対しては,彩度
を重視したような色再現を行う。彩度を重視した色再現
方法としては,例えば図7に示すような,最も色差の小
さい色にマッピングするような方式がある。
On the other hand, in the case of a single-color font, line drawing, or the like, it is necessary to reproduce conspicuous color regardless of gradation. In particular, a solid image of yellow or magenta has less graininess when reproduced in a single color even with a printer, and the color distinction is clear. Therefore, for solid objects of a single color, color reproduction that emphasizes saturation is performed. As a color reproduction method emphasizing saturation, for example, there is a method of mapping to a color having the smallest color difference as shown in FIG.

【0099】また,べた画像に対してはカラー・マッチ
ングを行わず,そのままデバイス信号とみなして以下の
ような色変換を行っても良い。
Further, the following color conversion may be performed by regarding the solid image as a device signal without performing color matching.

【0100】Cyan=R−min(r,g,b) Magenta=G−min(r,g,b) Yellow=B−min(r,g,b) Black=min(r,g,b)Cyan = R-min (r, g, b) Magenta = G-min (r, g, b) Yellow = B-min (r, g, b) Black = min (r, g, b)

【0101】更に,グラデーション・パターンやデザイ
ン・フォントのように,特定のパターンを用いて描画さ
れるオブジェクトに対しては,彩度と階調性の両方が重
視されるため,上述した2種類の色再現方法の中間的な
色再現を行う。特に,グラデーション・パターン等は,
べた画像と隣接する領域に描画されることが多いため,
その境界ひずみが目立たないようにしなければならな
い。そこで,高彩度の色は単色の場合と同様な変換結果
となるようにしながら,低彩度の色に対してはビットマ
ップと同様な色再現となるようにする。このような色再
現方式の調整は,補間演算により容易に行うことができ
る。
Furthermore, for an object drawn using a specific pattern, such as a gradation pattern or a design font, importance is placed on both the saturation and the gradation. Performs intermediate color reproduction of the color reproduction method. In particular, gradation patterns
Since it is often drawn in the area adjacent to the solid image,
The boundary strain must be inconspicuous. Therefore, while making the color of high saturation a conversion result similar to that of a single color, the color reproduction of low saturation color is made similar to the bitmap. Such adjustment of the color reproduction method can be easily performed by interpolation calculation.

【0102】このように,実施の形態1に係る色変換処
理方法および装置によれば,カラー・マッチングOFF
の場合のRGB値で指定された描画命令を,カラー・マ
ッチングをONにしたときと同じ描画命令に変換するた
め,カラー・マッチングに対応していないアプリケーシ
ョンの場合であっても,プリンタ・ドライバ13上でカ
ラー・マッチング処理を実行可能とすることができる。
また,オブジェクトの種類に応じてカラー・マッチング
の方法を切り替えるため,オブジェクト毎に最適なカラ
ー・マッチング処理を実現することができる。
As described above, according to the color conversion processing method and apparatus according to the first embodiment, color matching OFF
Since the rendering command specified by the RGB value in the case of (1) is converted into the same rendering command as when color matching is turned on, even if the application does not support color matching, the printer driver 13 Above, the color matching process can be performed.
In addition, since the color matching method is switched according to the type of the object, it is possible to realize an optimal color matching process for each object.

【0103】なお,実施の形態1に係る色変換処理装置
においては,カラー・マッチングOFFの場合に割込処
理を実行する描画命令変換部21をプリンタ・ドライバ
13に設けることにしたが,この構成に限定するもので
はなく,図8に示すように,描画モジュール11とプリ
ンタ・ドライバ13との間に設けることもできる。図8
に示すような構成とした場合は,描画モジュール11の
制御により描画命令変換部21を起動させてカラー・マ
ッチング用色空間の設定を行った後,プリンタ・ドライ
バ13に描画命令を送信することになる。
In the color conversion processing device according to the first embodiment, the printer driver 13 is provided with the drawing command conversion unit 21 for executing the interrupt processing when the color matching is OFF. However, the present invention is not limited to this, and it can be provided between the drawing module 11 and the printer driver 13 as shown in FIG. FIG.
In the case of the configuration shown in FIG. 7, the drawing command converter 21 is started under the control of the drawing module 11 to set the color space for color matching, and then the drawing command is transmitted to the printer driver 13. Become.

【0104】また,実施の形態1においては,モニタに
描画されたカラー・イメージをプリンタに出力する場合
を例として用いたが,この場合に限定するものではな
く,本発明に係る色変換処理方法および装置は,カラー
・マッチング処理が必要な如何なる場面にも適用可能な
ことはいうまでもない。
In the first embodiment, the case where the color image drawn on the monitor is output to the printer is used as an example. However, the present invention is not limited to this case, and the color conversion method according to the present invention is not limited to this case. It goes without saying that the device and the apparatus can be applied to any scene where a color matching process is required.

【0105】〔実施の形態2〕実施の形態2に係る色変
換処理方法および装置は,プリンタ・ドライバ側でカラ
ー・マッチングのONおよびOFFの制御が可能である
が,カラー・イメージ中に存在する個々のオブジェクト
に対するカラー・マッチング方法はアプリケーション側
が制御すると共に,カラー・マッチング方法はオブジェ
クトの属性に指定するというシステムに適用される。す
なわち,実施の形態2に係る色変換処理方法および装置
は,カラー・マッチングの属性の指定のない描画オブジ
ェクトを受け取った場合,オブジェクトの種類に応じて
カラー・マッチングの属性情報を付加した後,この属性
情報に従って,カラー出力装置へ送信する送信データを
生成するというものである。なお,実施の形態2におい
ても実施の形態1と同様に,モニタに描画されたカラー
・イメージをプリンタに出力する場合を例として説明す
る。また,実施の形態2の説明において,実施の形態1
に係る色変換処理装置と同一の構成については詳細な説
明を省略する。
[Embodiment 2] The color conversion method and apparatus according to Embodiment 2 can control ON / OFF of color matching on the printer driver side, but exist in a color image. The color matching method for each object is controlled by the application side, and the color matching method is applied to a system in which the color matching method is specified in the attribute of the object. That is, when a color conversion processing method and apparatus according to the second embodiment receives a drawing object having no color matching attribute specified, the color conversion processing method and apparatus add color matching attribute information according to the type of the object. According to the attribute information, transmission data to be transmitted to the color output device is generated. In the second embodiment, as in the first embodiment, a case where a color image drawn on a monitor is output to a printer will be described as an example. In the description of the second embodiment, the first embodiment
A detailed description of the same configuration as that of the color conversion processing device according to the first embodiment will be omitted.

【0106】図9は,実施の形態2に係る色変換処理装
置の構成を示すブロック図である。図9に示す色変換処
理装置は,モニタおよびプリンタ(図示せず)に対する
描画処理を管理する描画モジュール11と,描画モジュ
ール11からイメージ・データを入力し,カラー・マッ
チング処理を実行して,プリンタ14に対して出力する
出力データに変換するプリンタ・ドライバ91とから構
成されている。
FIG. 9 is a block diagram showing a configuration of a color conversion processing device according to the second embodiment. The color conversion processing apparatus shown in FIG. 9 includes a drawing module 11 that manages drawing processing for a monitor and a printer (not shown), and image data input from the drawing module 11, executes color matching processing, and executes a color matching process. And a printer driver 91 which converts the data into output data to be output to the printer 14.

【0107】図10は,図9に示すプリンタ・ドライバ
91の概略構成を示すブロック図である。プリンタ・ド
ライバ91は,カラー・マッチングのONおよびOFF
の制御が可能なものである。このプリンタ・ドライバ9
1は,描画対象となるオブジェクトにカラー・マッチン
グ方法の属性が指定されていない場合,割込処理により
そのオブジェクトにカラー・マッチング方法の属性情報
を付加するCMM(カラー・マッチング・モジュール)
属性設定部92と,CMM属性設定部92で付加された
カラー・マッチング方法の属性情報に従って,オブジェ
クト毎にカラー・マッチング処理を実行し,カラー画像
出力装置に対して出力する出力データに変換するプリン
タ出力用データ生成部93とを備えている。
FIG. 10 is a block diagram showing a schematic configuration of the printer driver 91 shown in FIG. The printer driver 91 turns color matching ON and OFF.
Can be controlled. This printer driver 9
1 is a CMM (color matching module) that adds attribute information of a color matching method to an object to be drawn when the attribute of the color matching method is not specified for the object by an interrupt process.
A printer that executes a color matching process for each object according to the attribute setting unit 92 and the attribute information of the color matching method added by the CMM attribute setting unit 92, and converts the data into output data to be output to a color image output device. An output data generation unit 93 is provided.

【0108】CMM属性設定部92は,描画対象となる
オブジェクトにカラー・マッチング方法の属性が指定さ
れていない場合に,割込モジュールとして起動されるも
のである。このCMM属性設定部92による割込処理に
より,描画対象となるオブジェクトの種類を判定し,判
定したオブジェクトの種類に対応したカラー・マッチン
グ方法を選択し,オブジェクトに選択したカラー・マッ
チング方法の属性情報を付加する。
The CMM attribute setting section 92 is activated as an interrupt module when the attribute of the color matching method is not specified for the object to be rendered. Through the interrupt processing by the CMM attribute setting unit 92, the type of the object to be rendered is determined, a color matching method corresponding to the determined type of the object is selected, and the attribute information of the color matching method selected for the object is determined. Is added.

【0109】プリンタ出力用データ生成部93は,カラ
ー・マッチングモジュール94を備えている。カラー・
マッチングモジュール94は,デバイスの特性を記述し
たデバイス・プロファイル98と,デバイス・プロファ
イル98を用いてカラー・マッチング処理を実行する複
数の色変換エンジン95〜97とを備えている。プリン
タ出力用データ生成部93は,CMM属性設定部92で
付加されたカラー・マッチング方法の属性情報に従っ
て,カラー・マッチングモジュール94の色変換エンジ
ン95〜97から対応する色変換エンジンを起動させ,
デバイス・プロファイル98を用いてカラー・マッチン
グ処理を実行させる。
The printer output data generator 93 has a color matching module 94. Color·
The matching module 94 includes a device profile 98 describing the characteristics of the device, and a plurality of color conversion engines 95 to 97 that execute a color matching process using the device profile 98. The printer output data generation unit 93 activates the corresponding color conversion engine from the color conversion engines 95 to 97 of the color matching module 94 according to the attribute information of the color matching method added by the CMM attribute setting unit 92.
The color matching process is executed using the device profile 98.

【0110】なお,上記実施の形態2に係る色変換処理
装置の構成においては,CMM属性設定部92が本発明
の判定手段,種類判定手段および属性情報付加手段に対
応し,プリンタ出力用データ生成部93が本発明の色変
換手段に対応する(請求項7)。
In the configuration of the color conversion processing apparatus according to the second embodiment, the CMM attribute setting unit 92 corresponds to the determining unit, the type determining unit, and the attribute information adding unit of the present invention, and generates printer output data. The unit 93 corresponds to the color conversion means of the present invention (claim 7).

【0111】以下に,実施の形態2に係る色変換処理装
置の動作を説明する。図11は,実施の形態2に係る色
変換処理装置の動作手順を示すフローチャートである。
The operation of the color conversion processing device according to the second embodiment will be described below. FIG. 11 is a flowchart illustrating an operation procedure of the color conversion processing device according to the second embodiment.

【0112】オペレーティング・システムによっては,
始めからデバイス・ドライバがカラー・マッチングをO
Nにしたり,OFFにしたりできるようにしたものがあ
る。ところが,このようなオペレーティング・システム
においても,各オブジェクトに対する色変換モードはア
プリケーション側での制御を前提としている場合があ
る。
Depending on the operating system,
From the beginning, the device driver turns on color matching
Some are set to N or OFF. However, even in such an operating system, the color conversion mode for each object may be based on the control on the application side.

【0113】上記オペレーティング・システムでは,カ
ラー・マッチングに関する情報はオブジェクトの属性に
記述されることが多い。そして,ドライバ側ではそのオ
ブジェクト属性に従って,カラー・マッチングを切り換
える。ところが,オブジェクトにカラー・マッチング方
法の属性が指定されていない場合には,デフォルトの色
変換方式を用いることになってしまう。
In the above operating system, information on color matching is often described in an attribute of an object. Then, the driver switches color matching according to the object attribute. However, if the attribute of the color matching method is not specified for the object, the default color conversion method will be used.

【0114】実施の形態2に係る色変換処理装置におい
ては,まず,ステップS1101において,描画モジュ
ール11がアプリケーション12から受け取ったイメー
ジ・データをプリンタ・ドライバ91に出力し,プリン
タ・ドライバ91は,出力されたイメージ・データを入
力する。
In the color conversion processing apparatus according to the second embodiment, first, in step S1101, the drawing module 11 outputs the image data received from the application 12 to the printer driver 91, and the printer driver 91 outputs the image data. Enter the entered image data.

【0115】プリンタ・ドライバ91は,入力したイメ
ージ・データ中に存在する個々のオブジェクトにカラー
・マッチング方法の属性の指定があるか否かを判定する
(S1102)。オブジェクトにカラー・マッチング方
法の属性の指定がある場合には,ステップS1107に
進み,プリンタ出力用データ生成部93が色変換エンジ
ン95〜97の何れかを起動させ,予め指定されたカラ
ー・マッチング方法を用いてカラー・マッチング処理を
実行する(S1108)。
The printer driver 91 determines whether an attribute of the color matching method is specified for each object existing in the input image data (S1102). If the attribute of the color matching method is specified for the object, the process proceeds to step S1107, where the printer output data generation unit 93 activates one of the color conversion engines 95 to 97, and sets the color matching method designated in advance. Is used to execute a color matching process (S1108).

【0116】オブジェクトにカラー・マッチング方法の
属性の指定がない場合,プリンタ・ドライバ91は,割
込処理としてCMM属性設定部92を起動させる(S1
103)。
If the attribute of the color matching method is not specified for the object, the printer driver 91 activates the CMM attribute setting unit 92 as an interrupt process (S1).
103).

【0117】CMM属性設定部92は,描画対象のオブ
ジェクトがいかなる種類であるかを判定する(S110
4)。
The CMM attribute setting unit 92 determines what kind of object is to be drawn (S110).
4).

【0118】オブジェクトの種類を判定した後,CMM
属性設定部92は,予め用意したオブジェクトの種類と
カラー・マッチング方法との対応関係情報から,オブジ
ェクトの種類に対応したカラー・マッチング方法を選択
し(S1105),オブジェクトに選択したカラー・マ
ッチング方法の属性情報を付加する(S1106)。
After determining the type of the object, the CMM
The attribute setting unit 92 selects a color matching method corresponding to the object type from the correspondence information between the object type and the color matching method prepared in advance (S1105), and determines the color matching method selected for the object. The attribute information is added (S1106).

【0119】プリンタ出力用データ生成部93は,CM
M属性設定部92で付加されたカラー・マッチング方法
の属性情報に従って,対応する色変換エンジンをカラー
・マッチングモジュール94から選択して起動させ(S
1107),カラー・マッチング処理を実行する(S1
108)。
The printer output data generation unit 93 outputs the CM
According to the attribute information of the color matching method added by the M attribute setting unit 92, the corresponding color conversion engine is selected from the color matching module 94 and activated (S
1107), a color matching process is executed (S1).
108).

【0120】このようにしてプリンタ出力データ生成部
93でカラー・マッチング処理が実行され,生成された
プリンタ出力データは,描画モジュール11に対して出
力される。なお,他のオブジェクトに対しても同様の処
理が行われ,描画モジュール11へ出力データが送信さ
れる。描画モジュール11は,プリンタ・ドライバ13
からの出力データを入力し,プリンタ14との間での描
画ルーチンに入り(S1109),カラー・マッチング
処理を終了する。
The color matching processing is executed by the printer output data generation section 93 in this way, and the generated printer output data is output to the drawing module 11. The same processing is performed on other objects, and output data is transmitted to the drawing module 11. The drawing module 11 includes a printer driver 13
, And enters a drawing routine with the printer 14 (S1109), ending the color matching process.

【0121】なお,オブジェクトの種類と色変換方式の
対応関係は前述した実施の形態1の場合と同様であるた
め,その詳細な説明は省略する。
Since the correspondence between the type of object and the color conversion method is the same as in the first embodiment, detailed description thereof will be omitted.

【0122】このように,実施の形態2に係る色変換処
理方法および装置によれば,オブジェクトにカラー・マ
ッチングの属性が指定されていない場合であっても,個
々のオブジェクトに対し,そのオブジェクトの種類に対
応したカラー・マッチング方法の属性情報を付加するこ
とにより,イメージ・データ中に存在する個々のオブジ
ェクト毎に最適なカラー・マッチング処理を実行するこ
とができる。
As described above, according to the color conversion processing method and apparatus according to the second embodiment, even when an attribute of color matching is not specified for an object, the object is not assigned to each object. By adding the attribute information of the color matching method corresponding to the type, it is possible to execute the optimum color matching processing for each object existing in the image data.

【0123】なお,実施の形態2に係る色変換処理装置
においては,個々のオブジェクトにカラー・マッチング
方法の属性の指定がない場合に割込処理を実行するCM
M属性設定部92をプリンタ・ドライバ91に設けるこ
とにしたが,この構成に限定するものではなく,図12
に示すように,描画モジュール11とプリンタ・ドライ
バ91との間にCMM属性設定部92を設けることもで
きる。図12に示すような構成とした場合は,描画モジ
ュール11の制御によりCMM属性設定部92を起動さ
せて個々のオブジェクトにカラー・マッチング方法の属
性情報を付加した後,プリンタ・ドライバ91にイメー
ジ・データを送信することになる。
In the color conversion processing device according to the second embodiment, a CM for executing an interrupt process when the attribute of the color matching method is not specified for each object.
Although the M attribute setting unit 92 is provided in the printer driver 91, the present invention is not limited to this configuration.
As shown in (1), a CMM attribute setting unit 92 can be provided between the drawing module 11 and the printer driver 91. In the case of the configuration shown in FIG. 12, the CMM attribute setting unit 92 is started under the control of the drawing module 11 to add attribute information of the color matching method to each object, and then the image driver is sent to the printer driver 91. The data will be sent.

【0124】また,実施の形態2においては,モニタに
描画されたカラー・イメージをプリンタに出力する場合
を例として用いたが,この場合に限定するものではな
く,本発明に係る色変換処理方法および装置は,カラー
・マッチング処理が必要な如何なる場面にも適用可能な
ことはいうまでもない。
In the second embodiment, the case where the color image drawn on the monitor is output to the printer is used as an example. However, the present invention is not limited to this case, and the color conversion processing method according to the present invention is not limited to this case. It goes without saying that the device and the apparatus can be applied to any scene where a color matching process is required.

【0125】〔実施の形態3〕実施の形態3は,新たな
プリンタ・ドライバを作成するのではなく,現存するプ
リンタ・ドライバの機能を拡張することによって,プリ
ンタ・ドライバ側でオブジェクトの種類に応じたカラー
・マッチング処理を施すこができるようにするための方
法を説明するものである。
[Third Embodiment] In the third embodiment, instead of creating a new printer driver, the functions of the existing printer driver are extended, so that the printer driver can handle the type of object in accordance with the type of the object. This is a description of a method for enabling a color matching process to be performed.

【0126】今日のパーソナルコンピュータ環境にあっ
て,プリンタ・ドライバは,動的にリンク可能なプログ
ラムモジュール(後述するDLL等)という形態で提供
される。そこで,実施の形態3では,この動的にリンク
可能なプログラムモジュールの機能を拡張するための方
法を提案することにより,この方法を現存するプリンタ
・ドライバに適用して,オブジェクト毎に異なるカラー
・マッチング方法を適用できるようにする。ただし,こ
の方法は,プリンタ・ドライバの機能拡張のためにのみ
ならず,他の動的にリンク可能なプログラムモジュール
の機能拡張のために使用できることはいうまでもない。
In today's personal computer environment, the printer driver is provided in the form of a dynamically linkable program module (such as a DLL described later). In view of this, the third embodiment proposes a method for extending the function of the dynamically linkable program module, and applies this method to an existing printer driver. Make the matching method applicable. However, it goes without saying that this method can be used not only for extending the functions of the printer driver but also for extending the functions of other dynamically linkable program modules.

【0127】図13に示すように,ソフトウェアにおい
ては,上位モジュール130が下位のモジュール131
(例えばライブラリ)をコールし,コールされた下位モ
ジュール131が所定の処理を行って,その処理の結果
(戻り値)を上位モジュール130に返すという処理が
行われる。
As shown in FIG. 13, in the software, the upper module 130 is replaced by the lower module 131.
(For example, a library), the called lower module 131 performs a predetermined process, and the result (return value) of the process is returned to the upper module 130.

【0128】そして,マルチタスク環境,即ち,複数の
プログラムが同時に稼働する環境においては,各アプリ
ケーション間(上位モジュール130間)で共通に使用
するライブラリを重複してメモリにロードするという無
駄を避けるため,ライブラリを動的にリンク可能なプロ
グラムモジュールとして,複数のアプリケーション間で
共有することが一般的である。ここで,動的にリンク可
能なプログラムモジュールとは,例えばWindows
やUNIXにおいてDLL(DynamicLink
Library)と,Macintoshではコンポー
ネントと呼ばれているものである(Windowsはマ
イクロソフト社の登録商標,UNIXはX/OPENカ
ンパニーリミテッドがライセンスしている登録商標,M
acintoshはアップル・コンピュータ社の登録商
標である)。なお,以下に説明する実施の形態3〜5に
おいては,動的にリンク可能なプログラムモジュールを
DLLとして説明することにする。
In a multitask environment, that is, an environment in which a plurality of programs run simultaneously, in order to avoid wasteful loading of the library commonly used between the applications (between the upper modules 130) into the memory in duplicate. Generally, a library is shared as a dynamically linkable program module among a plurality of applications. Here, the dynamically linkable program module is, for example, Windows.
And UNIX with DLL (Dynamic Link)
(Library) and Macintosh are called components (Windows is a registered trademark of Microsoft Corporation, UNIX is a registered trademark licensed by X / OPEN Company Limited, M
acintosh is a registered trademark of Apple Computer Inc.). In the following third to fifth embodiments, a dynamically linkable program module will be described as a DLL.

【0129】DLLとは,他のモジュールから動的にリ
ンクされ,コールされることが可能なルーチンの集合で
あり,一般にDLLファイルのヘッダには,他のモジュ
ールからコールされることが可能なルーチン名の一覧が
記載されている。ここで,他のモジュールからコールさ
れることが可能ということは,「エキスポートされてい
る」と呼ばれる。その結果,上位モジュールは,DLL
ファイルのファイル名およびルーチン名(またはルーチ
ン番号)を指定することにより,エキスポートされてい
るルーチンをコールすることができる。
A DLL is a set of routines that can be dynamically linked and called from another module. Generally, the header of a DLL file contains a routine name that can be called from another module. Is listed. Here, being able to be called from another module is called "exported". As a result, the upper module is DLL
By specifying the file name and the routine name (or routine number) of the file, the exported routine can be called.

【0130】従来,上記DLLの機能を拡張するには,
図14に示すように,そのソースプログラムを編集し直
し,コンパイルして新たなDLLを作成し,古いDLL
と置き換える処理を行う必要があった。ところが,古い
DLLが他人の作成した既成のものであり,そのソース
プログラムが手元にない場合(例えば,オペレーティン
グ・システムの一部として提供されたものの場合)に
は,このDLLを1から作るか,または拡張をあきらめ
るしかなかった。ただし,DLLを1から作る場合に
は,上位モジュールとDLLとのインターフェイス,即
ち,エキスポートされているルーチンの引数および戻り
値の型がわかっていなければならない。
Conventionally, to extend the functions of the above DLL,
As shown in FIG. 14, the source program is re-edited, compiled and a new DLL is created, and the old DLL is created.
It was necessary to perform a process to replace with. However, if the old DLL is an existing DLL created by another person and the source program is not at hand (for example, if it is provided as part of the operating system), create this DLL from scratch, Or had to give up the expansion. However, when a DLL is created from one, the interface between the higher-level module and the DLL, that is, the types of arguments and return values of the exported routine must be known.

【0131】以下では,上位モジュールとDLLとのイ
ンターフェイス,即ち,エキスポートされているルーチ
ンの引数および戻り値の型が既知であることを前提にし
て,実施の形態3の動的にリンク可能なプログラムモジ
ュールの拡張方法を説明する。
In the following, on the assumption that the interface between the higher-level module and the DLL, that is, the types of the arguments and return values of the routine to be exported, are known, the link of the third embodiment can be dynamically linked. A method for extending a program module will be described.

【0132】図15は,実施の形態3に係る動的にリン
ク可能なプログラムモジュールの拡張方法の第1の例を
説明する説明図である。図15において,130は上述
した上位モジュールを,150は機能が拡張される対象
であるDLLを,151はDLL150の機能拡張のた
めの拡張DLLをそれぞれ示している。
FIG. 15 is an explanatory diagram for explaining a first example of a method for expanding a dynamically linkable program module according to the third embodiment. In FIG. 15, 130 indicates the above-described upper module, 150 indicates a DLL whose function is to be extended, and 151 indicates an extended DLL for extending the function of the DLL 150.

【0133】また,図15においては,DLL150の
ファイル名を他のファイル名に変更し,拡張DLL15
1にDLL150の元のファイル名をつけることにして
いる。そして,拡張DLL151は,DLL150がエ
キスポートしているルーチンの全てをエキスポートして
おり,上位モジュール130からDLL150に含まれ
るルーチンに対して発行されるコールの全てを受け付け
ることができるようになっている。したがって,上位モ
ジュール130がDLL150のファイル名を指定して
コールすると,結果的に拡張DLL151内の同名のル
ーチンがコールされることになる。そして,拡張DLL
151は,DLL150の機能を拡張することができる
ように,そのコールの任意の引数を必要に応じて変更
し,DLL150をコールする。
In FIG. 15, the file name of DLL 150 is changed to another file name, and
1 is given the original file name of the DLL 150. The extended DLL 151 exports all routines exported by the DLL 150, and can receive all calls issued from the upper module 130 to the routines included in the DLL 150. I have. Therefore, when the upper module 130 specifies and calls the file name of the DLL 150, the routine having the same name in the extended DLL 151 is called as a result. And the extended DLL
The 151 calls the DLL 150 by changing any argument of the call as necessary so that the function of the DLL 150 can be extended.

【0134】次に,拡張DLL151の動作を図16の
概略フローチャートを用いて説明する。まず,上位モジ
ュール130がDLL150のファイル名およびルーチ
ン名を指定してコールAを出力すると,拡張DLL15
1がそのコールAを入力する(S1601)。
Next, the operation of the extended DLL 151 will be described with reference to the schematic flowchart of FIG. First, when the upper module 130 outputs the call A by specifying the file name and the routine name of the DLL 150, the extended DLL 15
1 inputs the call A (S1601).

【0135】そして,拡張DLL151は,予め設定さ
れた条件に基づいて,入力したコールA中の引数の変更
が必要か否かを判定する(S1602)。引数の変更が
不要な場合はステップS1604に進み,引数を変更す
ることなくコールAをコールBとしてDLL150に出
力する。
Then, the extended DLL 151 determines whether it is necessary to change the argument in the input call A based on a preset condition (S1602). If it is not necessary to change the argument, the process advances to step S1604 to output the call A as the call B to the DLL 150 without changing the argument.

【0136】一方,引数の変更が必要な場合は,所定の
手順に基づいて,コールA中の引数の一部を変更して新
たなコールBを生成し(S1603),生成したコール
BをDLL150に出力する(S1604)。変更され
る引数は,DLL150の機能の拡張に必要なものであ
り,この引数は,予め拡張DLL151に設定されてい
る。
On the other hand, when it is necessary to change the argument, a new call B is generated by changing a part of the argument in the call A based on a predetermined procedure (S1603), and the generated call B is stored in the DLL 150. (S1604). The argument to be changed is necessary for extending the function of the DLL 150, and the argument is set in the extension DLL 151 in advance.

【0137】その後,DLL150がコールBに基づい
て所定の処理を実行し,処理の結果である戻り値Aを拡
張DLL151に出力する。拡張DLL151は,DL
L150から戻り値Aを入力し,入力した戻り値Aをそ
のまま上位モジュール130に出力して処理を終了する
(S1605)。なお,この戻り値Aは,拡張DLL1
51が出力したコールBに対するものであるため,上位
モジュール130が出力したコールAに対する戻り値と
は異なったものとなる。ただし,拡張DLL151は,
入力した戻り値Aを別の戻り値Bとして上位モジュール
130に出力することにしても良い。また,拡張DLL
151から上位モジュール130に返す戻り値は,DL
L150がコールBに対して返した戻り値Aをそのまま
戻り値Aとして返しても良いし,前述したように別の戻
り値Bを返しても良い。この際,戻り値Bが,上位モジ
ュール130のコールAに対する本来の値でも良い。ま
た,図16のステップS1602およびS1604にお
いて,引数の変更が不要であると判定してコールBをD
LL150に出力した場合の戻り値は,コールAに対す
る戻り値となる。
After that, the DLL 150 executes a predetermined process based on the call B, and outputs a return value A as a result of the process to the extended DLL 151. The extension DLL 151 is DL
The return value A is input from L150, and the input return value A is output as it is to the upper module 130, and the process ends (S1605). The return value A is the extended DLL1
Since this is for call B output by 51, it is different from the return value for call A output by upper module 130. However, the extended DLL 151 is
The input return value A may be output to the upper module 130 as another return value B. In addition, extended DLL
The return value returned from 151 to the upper module 130 is DL
The return value A returned by L150 to call B may be returned as it is, or another return value B may be returned as described above. At this time, the return value B may be an original value for the call A of the upper module 130. In addition, in steps S1602 and S1604 in FIG. 16, it is determined that no
The return value when output to LL 150 is the return value for call A.

【0138】このように,拡張DLL151が,上位モ
ジュール130からDLL150へのコールAを途中で
変更した結果,上位モジュール130には異なる戻り値
が戻されるため,上位モジュール130とっては結果的
にDLL150が新たなDLLに置き換えられたことと
同様な処理結果を得ることができる。
As described above, as a result of the extension DLL 151 changing the call A from the upper module 130 to the DLL 150 in the middle, a different return value is returned to the upper module 130, and as a result, the DLL 150 Can be obtained as in the case where is replaced with a new DLL.

【0139】また,図17は,実施の形態3の動的にリ
ンク可能なプログラムモジュールの拡張方法の第2の例
を説明する説明図である。図17に示す拡張DLL17
0は,DLL150のルーチンRと同一名の新たなルー
チンR’を実装しており,上位モジュール130からD
LL150に出力されたルーチンRを指定するコールを
入力すると,ルーチンR’に基づく処理を実行して,D
LL150のルーチンRに基づく戻り値と異なる戻り値
を上位モジュール130に出力するというものである。
FIG. 17 is an explanatory diagram for explaining a second example of the method of extending a dynamically linkable program module according to the third embodiment. Extended DLL 17 shown in FIG.
0 implements a new routine R ′ having the same name as the routine R of the DLL 150.
When a call designating the routine R output to the LL 150 is input, a process based on the routine R 'is executed, and
A return value different from the return value based on the routine R of the LL 150 is output to the upper module 130.

【0140】次に,拡張DLL170の動作を図18の
概略フローチャートを用いて説明する。まず,上位モジ
ュール130がDLL150のファイル名およびルーチ
ンRを指定してコールを出力すると,拡張DLL151
がそのコールを入力する(S1801)。
Next, the operation of the extended DLL 170 will be described with reference to the schematic flowchart of FIG. First, when the upper module 130 outputs a call by specifying the file name of the DLL 150 and the routine R, the extended DLL 151
Inputs the call (S1801).

【0141】そして,拡張DLL170は,コールで指
定されたルーチンRに対応するルーチンR’に基づく処
理を実行する(S1802)。なお,ルーチンR’中
に,DLL150をコールして,所定の処理を実行させ
る工程を含めることもできる(図17中の波線矢印17
1参照)。
Then, the extension DLL 170 executes a process based on the routine R 'corresponding to the routine R specified by the call (S1802). It should be noted that the routine R ′ may include a step of calling the DLL 150 and executing a predetermined process (the dotted arrow 17 in FIG. 17).
1).

【0142】その後,拡張DLL170は,ルーチン
R’に基づく処理の結果である戻り値を上位モジュール
130に出力して処理を終了する(S1803)。な
お,DLL150に所定の処理を実行させた場合は,そ
の戻り値を入力し(図17中の波線矢印172参照),
入力した戻り値を用いて上位モジュール130に出力す
る戻り値を生成する。
Thereafter, the extended DLL 170 outputs a return value as a result of the processing based on the routine R 'to the upper module 130, and ends the processing (S1803). When the DLL 150 is caused to execute a predetermined process, the return value is input (see a broken arrow 172 in FIG. 17).
A return value to be output to the upper module 130 is generated using the input return value.

【0143】このように,拡張DLL170にDLL1
50と同一の名のルーチンを実装させることにより,よ
り直接かつ自由にDLL150の機能を拡張することが
できる。
As described above, the DLL1 is added to the extended DLL 170.
By implementing a routine having the same name as that of the DLL 50, the function of the DLL 150 can be expanded more directly and freely.

【0144】さらに,図19は,実施の形態3の動的に
リンク可能なプログラムモジュールの拡張方法の第3の
例を説明する説明図である。図19に示す拡張DLL1
90は,上位モジュール130とDLL150とのイン
ターフェイス以外のインターフェイス,即ち,DLL1
50にはないが上位モジュール130がコールすること
が可能な新たなルーチンを実装しており,このルーチン
がエキスポートされているものである。
FIG. 19 is an explanatory diagram for explaining a third example of the method of extending a dynamically linkable program module according to the third embodiment. Extended DLL1 shown in FIG.
Reference numeral 90 denotes an interface other than the interface between the upper module 130 and the DLL 150, that is, DLL1.
A new routine which is not present in 50 but can be called by the upper module 130 is implemented, and this routine has been exported.

【0145】次に,拡張DLL190の動作を図20の
概略フローチャートを用いて説明する。まず,拡張DL
L190は,上位モジュール130から新たに実装され
たルーチン(拡張DLL190独自なルーチン)を指定
したコールを入力すると(S2001),指定されたル
ーチンに基づく処理を実行する(S2002)。なお,
ルーチン中に,DLL150をコールして,所定の処理
を実行させる工程を含めることもできる(図19中の波
線矢印191参照)。
Next, the operation of the extended DLL 190 will be described with reference to the schematic flowchart of FIG. First, extended DL
When the L190 inputs a call designating a newly implemented routine (routine unique to the extended DLL 190) from the upper module 130 (S2001), it executes processing based on the designated routine (S2002). In addition,
The routine may include a step of calling the DLL 150 to execute a predetermined process (see a wavy arrow 191 in FIG. 19).

【0146】その後,拡張DLL190は,ルーチンに
基づく処理の結果である戻り値を上位モジュール130
に出力して処理を終了する(S2003)。なお,DL
L150に所定の処理を実行させた場合は,その戻り値
を入力し(図19中の波線矢印192参照),入力した
戻り値を用いて上位モジュール130に出力する戻り値
を生成する。
After that, the extended DLL 190 sends the return value, which is the result of the routine-based processing, to the upper module 130.
And the process ends (S2003). Note that DL
When the predetermined process is executed by the L150, the return value is input (see the dashed arrow 192 in FIG. 19), and the return value to be output to the upper module 130 is generated using the input return value.

【0147】このように,拡張DLL190にDLL1
50にはないルーチンを実装することにより,そのルー
チンに基づく処理を実行できる分,DLL150の機能
を拡張することができる。
As described above, the DLL1 is added to the extended DLL 190.
By implementing a routine that is not provided in the routine 50, the function of the DLL 150 can be expanded by the amount that the processing based on the routine can be executed.

【0148】なお,上記第1〜第3の例の説明におい
て,「戻り値」は,当然「出力引数(コールされたDL
Lによって書き込まれる引数)」であっても良く,ま
た,第1〜第3の例を組み合わせた拡張DLLを構成す
ることも可能である。また,拡張DLLには,DLLが
エキスポートしている全てのルーチンがエキスポートさ
れていると説明したが,DLLの機能中に不要なものが
生じた場合等には,必要なルーチンのみを拡張DLLに
エキスポートすれば良い。
In the description of the first to third examples, “return value” is naturally replaced with “output argument (called DL
(Argument written by L)), and it is also possible to configure an extended DLL combining the first to third examples. Also, it has been described that all routines exported by the DLL are exported to the extended DLL. However, when unnecessary functions occur in the functions of the DLL, only the necessary routines are extended. What is necessary is just to export to DLL.

【0149】以下の実施の形態4および5では,上述し
た動的にリンク可能なプログラムモジュールの拡張方法
を適用した色変換処理装置およびその方法について説明
する。
In the following fourth and fifth embodiments, a description will be given of a color conversion processing apparatus to which the above-described method for expanding a dynamically linkable program module is applied and a method thereof.

【0150】〔実施の形態4〕実施の形態4では,カラ
ー・マッチングには対応しているが,オブジェクト単位
でカラー・マッチング方法の指定をすることが不可能な
現存するプリンタ・ドライバの機能を拡張することを例
として,実施の形態3で説明した動的にリンク可能なプ
ログラムモジュールの拡張方法を適用した色変換処理装
置およびその方法を説明する。
[Embodiment 4] In the embodiment 4, the function of the existing printer driver which supports the color matching but cannot specify the color matching method for each object is used. A color conversion processing apparatus to which the dynamically linkable program module expansion method described in the third embodiment is applied and a method thereof will be described by taking expansion as an example.

【0151】図21は,実施の形態4の色変換処理装置
およびその方法で使用されるプリンタ・ドライバにおい
て,カラー・マッチングの有無を指定するための設定画
面の一例を示す説明図であり(一般的なオペレーティン
グシステムにおいて標準で使用されるポストスクリプト
プリンタ・ドライバの設定画面に基づいている),図2
2は,カラー・マッチングの方法(図22においてはレ
ンダリングと表記されている)を指定するための設定画
面の一例を示す説明図である。図21および図22に示
す設定画面を用いることにより,カラー・マッチングを
する/しないという設定と,彩度保存やコントラスト保
存等のカラー・マッチングの方法(色変換パラメータ)
の設定を行うことができる。ところが,図21および図
22を見ると,描画対象の指定欄がないことがわかる。
これは,現状のプリンタ・ドライバにおいては,カラー
・マッチングの指定を行う際に,描画対象毎にカラー・
マッチング方法を設定(色変換パラメータの設定)する
ことはできず,画面全体に対して1つのカラー・マッチ
ング方法が指定できるのみであるということを表してい
る。そこで,実施の形態4の色変換処理装置およびその
方法では,カラー・マッチングには対応しているが,オ
ブジェクト単位でのカラー・マッチングには対応してい
ないプリンタ・ドライバの機能を拡張することにより,
描画対象となる文字やビットマップ画像(オブジェク
ト)毎に最適なカラー・マッチング処理を行うことがで
きるようにするものである。
FIG. 21 is an explanatory diagram showing an example of a setting screen for designating the presence or absence of color matching in the color conversion processing device and the printer driver used in the method according to the fourth embodiment. (Based on the settings screen of the PostScript printer driver used as standard in typical operating systems), FIG.
2 is an explanatory diagram showing an example of a setting screen for designating a color matching method (denoted as rendering in FIG. 22). By using the setting screens shown in FIGS. 21 and 22, the setting of whether or not to perform color matching and the method of color matching such as preserving saturation and preserving contrast (color conversion parameters)
Can be set. However, it can be seen from FIGS. 21 and 22 that there is no designated field for the drawing target.
This is because, in the current printer driver, when specifying color matching, the color
This means that a matching method cannot be set (color conversion parameter setting), and only one color matching method can be designated for the entire screen. Therefore, the color conversion processing apparatus and method according to the fourth embodiment support the color matching, but extend the functions of the printer driver which does not support the color matching on an object basis. ,
This is to enable optimal color matching processing to be performed for each character or bitmap image (object) to be drawn.

【0152】図23は,実施の形態4に係る色変換処理
装置のブロック構成図である。図23において,210
はアプリケーションを,211は実施の形態3で説明し
た上位モジュール130に該当する描画モジュールを,
212は実施の形態3で説明した拡張DLL151,1
70,190に該当する拡張プリンタ・ドライバを,2
13は実施の形態3で説明したDLL150に該当する
プリンタ・ドライバを,214はモニタプロファイル2
15とプリンタプロファイル216とに基づいてカラー
・マッチング処理を実行する色変換エンジンを,217
はプリンタを示している。
FIG. 23 is a block diagram of a color conversion processing device according to the fourth embodiment. In FIG. 23, 210
Denotes an application, 211 denotes a drawing module corresponding to the upper module 130 described in the third embodiment,
Reference numeral 212 denotes the extended DLL 151, 1 described in the third embodiment.
The extended printer drivers corresponding to 70 and 190 are
13, a printer driver corresponding to the DLL 150 described in the third embodiment; 214, a monitor profile 2
217, a color conversion engine that executes a color matching process based on the printer profile 216 and the printer profile 216.
Indicates a printer.

【0153】描画モジュール211は,アプリケーショ
ン210から任意のオブジェクトの描画命令(プリント
命令)およびそのオブジェクトの描画色を示す描画色情
報を入力し,後述する初期化処理で生成したカラー・マ
ッチング方法に対応したパラメータ(以下「色変換パラ
メータ」という)を入力した描画命令に付加し,その描
画命令と描画色情報とを拡張プリンタ・ドライバ212
に出力する。なお,この描画モジュール211で描画命
令に付加される色変換パラメータは,描画対象である各
オブジェクトに共通のものである。
The drawing module 211 inputs a drawing command (print command) of an arbitrary object and drawing color information indicating a drawing color of the object from the application 210, and supports a color matching method generated by initialization processing described later. The added parameters (hereinafter referred to as “color conversion parameters”) are added to the input drawing command, and the drawing command and the drawing color information are added to the extended printer driver 212.
Output to Note that the color conversion parameter added to the drawing command by the drawing module 211 is common to each object to be drawn.

【0154】また,拡張プリンタ・ドライバ212は,
描画モジュール211とプリンタ・ドライバ213との
間に設けられており,描画モジュール211によってコ
ールされるものである。なお,実施の形態3ではDLL
150のファイル名を拡張DLL151等のファイル名
とすることにして上位モジュール130からコールでき
るようにしたが,プリンタ・ドライバをコンピュータに
インストールする場合には,描画モジュール211から
コールされるDLLファイル名を指定できることが通常
であるため,指定するファイル名を拡張プリンタ・ドラ
イバ212のファイル名とすることで,描画モジュール
211から拡張プリンタ・ドライバ212をコールでき
るようにすることができる。
Also, the extended printer driver 212
It is provided between the drawing module 211 and the printer driver 213, and is called by the drawing module 211. In the third embodiment, the DLL
Although the file name of the file 150 is made a file name of the extended DLL 151 or the like so that it can be called from the upper module 130, when the printer driver is installed in the computer, the DLL file name called from the drawing module 211 is changed. Since it is usually possible to specify the file name, the file name to be specified is set as the file name of the extended printer driver 212, so that the extended printer driver 212 can be called from the drawing module 211.

【0155】この拡張プリンタ・ドライバ212は,描
画モジュール211から描画命令および描画色情報を入
力し,入力した描画命令に基づいて,描画命令がいかな
る種類のオブジェクトの描画命令であるかを判定し,判
定結果に基づいて,後述する初期化処理で生成したオブ
ジェクトの種類に応じて用意された複数の色変換パラメ
ータから該当する種類の色変換パラメータを選択し,描
画命令に付加されている属色変換パラメータを選択した
色変換パラメータに置き換えて,描画色情報と共にプリ
ンタ・ドライバ213に出力する。
The extended printer driver 212 inputs a drawing command and drawing color information from the drawing module 211, and determines what kind of object the drawing command is based on the input drawing command. Based on the determination result, a color conversion parameter of a corresponding type is selected from a plurality of color conversion parameters prepared according to the type of the object generated in the initialization processing described later, and the genus color conversion added to the drawing command is selected. The parameters are replaced with the selected color conversion parameters and output to the printer driver 213 together with the drawing color information.

【0156】また,プリンタ・ドライバ213は,上述
したようにカラー・マッチングに対応したものである。
すなわち,色変換パラメータが付加された描画命令を受
け取ることができるものである(パラメータ用の引数を
有している)。図21および図22で説明したように,
ユーザは,このプリンタ・ドライバ213を用いてカラ
ー・マッチングの有無および方法(オブジェクト単位で
はない)を指定することができる。
The printer driver 213 supports color matching as described above.
That is, it can receive a drawing command to which a color conversion parameter is added (having a parameter argument). As described with reference to FIGS. 21 and 22,
The user can use this printer driver 213 to specify the presence / absence of color matching and the method (not for each object).

【0157】プリンタ・ドライバ213は,拡張プリン
タ・ドライバ212から描画命令および描画色情報を入
力すると,色変換パラメータを付加した色変換命令と描
画色情報とを色変換エンジン214に出力する。そし
て,描画命令をプリンタ217固有の描画命令に変換す
ると共に,色変換エンジン214からカラー・マッチン
グ処理が施された描画色情報を入力し,描画命令および
描画色情報をプリンタ217に出力する。
When the drawing command and the drawing color information are input from the extended printer driver 212, the printer driver 213 outputs the color conversion command to which the color conversion parameter is added and the drawing color information to the color conversion engine 214. Then, the rendering command is converted into a rendering command unique to the printer 217, the rendering color information subjected to the color matching processing is input from the color conversion engine 214, and the rendering command and the rendering color information are output to the printer 217.

【0158】さらに,色変換エンジン214は,プリン
タ・ドライバ213から色変換パラメータが付加された
色変換命令と描画色情報とを入力し,入力デバイスの色
特性情報であるモニタプロファイル215と出力デバイ
スの色特性情報であるプリンタプロファイル216に基
づいて,描画色情報にカラー・マッチング処理を施す。
なお,色変換エンジン214によるカラー・マッチング
処理の詳細については,実施の形態1で説明した通りで
あるため,ここではその説明を省略する。
Further, the color conversion engine 214 receives the color conversion command added with the color conversion parameter and the drawing color information from the printer driver 213, and monitors the monitor profile 215 as the color characteristic information of the input device and the output device. Based on the printer profile 216, which is color characteristic information, color matching processing is performed on the drawing color information.
Note that the details of the color matching processing by the color conversion engine 214 are as described in the first embodiment, and a description thereof will be omitted here.

【0159】なお,上述した実施の形態4に係る色変換
処理装置の構成において,拡張プリンタ・ドライバ21
2が本発明の種類判定手段および属性情報置換手段に,
プリンタ・ドライバ213および色変換エンジン214
が色変換手段にそれぞれ該当する(請求項12)。
In the configuration of the color conversion processing device according to the fourth embodiment, the extended printer driver 21
2 is a type determining means and an attribute information replacing means of the present invention,
Printer driver 213 and color conversion engine 214
Correspond to the color conversion means (claim 12).

【0160】次に,実施の形態4の色変換処理方法につ
いて,(1)ドライバ初期化時の処理,(2)拡張プリ
ンタ・ドライバによる描画命令発行処理の順でフローチ
ャートを参照しつつ説明する。
Next, the color conversion processing method according to the fourth embodiment will be described with reference to flowcharts in the order of (1) processing at the time of driver initialization, and (2) drawing command issuing processing by the extended printer driver.

【0161】(1)ドライバ初期化時の処理 図24は,実施の形態4の色変換処理方法におけるドラ
イバ初期化時の処理手順を示すフローチャートである。
(1) Processing at the time of driver initialization FIG. 24 is a flowchart showing a processing procedure at the time of driver initialization in the color conversion processing method according to the fourth embodiment.

【0162】描画モジュール211は,プリンタ・ドラ
イバ213に対してカラー・マッチングの有無等に関す
るプリンタ情報・ドライバ情報の問い合わせを行い,プ
リンタ情報・ドライバ情報を取得する(S2401)。
具体的には,まず,拡張プリンタ・ドライバ212が描
画モジュール211からの問い合わせを受け取り,受け
取った問い合わせをそのままプリンタ・ドライバ213
に渡す。そして,拡張プリンタ・ドライバ212は,プ
リンタ・ドライバ213からプリンタ情報・ドライバ情
報に関する戻り値を受け取り,受け取った戻り値をその
まま描画モジュール211に渡す。その結果,描画モジ
ュール211は,通常と同様にプリンタ・ドライバ21
3からプリンタ情報・ドライバ情報を取得することがで
きる。
The drawing module 211 inquires of the printer driver 213 about printer information / driver information regarding the presence / absence of color matching and acquires printer information / driver information (S2401).
Specifically, first, the extended printer driver 212 receives an inquiry from the drawing module 211, and receives the received inquiry as it is as the printer driver 213.
Pass to. Then, the extended printer driver 212 receives a return value related to printer information and driver information from the printer driver 213, and passes the received return value to the drawing module 211 as it is. As a result, the drawing module 211 executes the printer driver 21 as usual.
3, printer information and driver information can be obtained.

【0163】そして,描画モジュール211は,取得し
たプリンタ情報・ドライバ情報に基づいて,プリンタ・
ドライバ213がカラー・マッチングに対応しており,
かつ,カラー・マッチングありの指定を受けているかを
判定する(S2402)。プリンタ・ドライバ213は
上述した通りカラー・マッチングに対応しており,一
方,カラー・マッチングありの指定は,上述した図21
および図22に示す設定画面で指定される。
Then, based on the acquired printer information and driver information, the drawing module 211
The driver 213 supports color matching,
In addition, it is determined whether or not designation of color matching has been received (S2402). The printer driver 213 supports color matching as described above. On the other hand, the designation with color matching is performed as shown in FIG.
And on the setting screen shown in FIG.

【0164】ステップS2402において,プリンタ・
ドライバ213がカラー・マッチングに対応していない
と判定した場合,またはカラー・マッチングに対応して
いるがカラー・マッチングありの指定がないと判定した
場合には,そのまま初期化処理を終了する。
At step S2402, the printer
If the driver 213 determines that it does not support color matching, or determines that the driver 213 supports color matching but does not specify that there is color matching, the initialization process ends.

【0165】一方,ステップS2402において,プリ
ンタ・ドライバ213がカラー・マッチングに対応して
おり,かつ,カラー・マッチングありの指定があると判
定した場合,描画モジュール211は,プリンタ・ドラ
イバ213へ色変換パラメータ生成命令を発行する(S
2403)。
On the other hand, if the printer driver 213 determines in step S2402 that the printer driver 213 supports color matching and that there is a designation that color matching is to be performed, the drawing module 211 performs color conversion to the printer driver 213. Issue a parameter generation instruction (S
2403).

【0166】拡張プリンタ・ドライバ212は,描画モ
ジュール211から色変換パラメータ生成命令を入力
し,予め設定された条件に基づいて,プリンタ・ドライ
バ213に描画対象となる3種類のオブジェクト毎に色
変換パラメータを生成する色変換パラメータ生成命令を
発行する(S2404)。ここで,3種類のオブジェク
トとは,ビットマップ画像,文字およびその他のグラフ
ィック画像のことである。このように3種類のオブジェ
クトとしたのは,一般的なコンピュータの環境で使用さ
れる描画命令の名称が,ビットマップ画像,文字および
その他のグラフィックの場合でそれぞれ異なっているこ
とに基づくものである。また,ここでいうビットマップ
画像およびその他のグラフィック画像は,図22に示す
レンダリングの欄の「プレゼンテーションなどのグラフ
ィックス」および「グラフィックイメージ」にそれぞれ
相当する。
The extended printer driver 212 receives a color conversion parameter generation command from the drawing module 211 and sends a color conversion parameter to the printer driver 213 for each of the three types of objects to be drawn based on preset conditions. Is issued (S2404). Here, the three types of objects are bitmap images, characters, and other graphic images. The three types of objects are based on the fact that the names of drawing instructions used in a general computer environment are different for bitmap images, characters, and other graphics. . In addition, the bitmap image and the other graphic images here correspond to “graphics such as presentation” and “graphic image” in the rendering column shown in FIG. 22, respectively.

【0167】そして,プリンタ・ドライバ213は,拡
張プリンタ・ドライバ212から色変換パラメータ生成
命令を入力し,入力した色変換パラメータ生成命令を色
変換エンジン214に出力する(S2505)。
Then, the printer driver 213 receives the color conversion parameter generation command from the extended printer driver 212, and outputs the input color conversion parameter generation command to the color conversion engine 214 (S2505).

【0168】色変換エンジン214は,プリンタ・ドラ
イバ213から色変換パラメータ生成命令を入力する
と,ビットマップ画像の色変換パラメータ,文字の色変
換パラメータおよびその他のグラフィック画像の色変換
パラメータをそれぞれ生成し,生成した3種類の色変換
パラメータをプリンタ・ドライバ213に出力する(S
2406)。
When a color conversion parameter generation command is input from the printer driver 213, the color conversion engine 214 generates a color conversion parameter for a bitmap image, a color conversion parameter for a character, and a color conversion parameter for another graphic image. The generated three types of color conversion parameters are output to the printer driver 213 (S
2406).

【0169】プリンタ・ドライバ213は,色変換エン
ジン214から3種類の色変換パラメータを入力する
と,入力した3種類の色変換パラメータをそのまま拡張
プリンタ・ドライバ212に出力する(S2407)。
When three types of color conversion parameters are input from the color conversion engine 214, the printer driver 213 outputs the input three types of color conversion parameters as they are to the extended printer driver 212 (S2407).

【0170】続いて,拡張プリンタ・ドライバ212
は,プリンタ・ドライバ213から3種類の色変換パラ
メータを入力し,入力した3種類の色変換パラメータを
保持すると共に,そのうちの1つの色変換パラメータを
描画モジュール211に出力する(S2408,S24
09)。ここで,1つの色変換パラメータのみを描画モ
ジュール211に出力する理由は,一般的なコンピュー
タ環境における描画モジュール211では,描画対象と
なる複数種類のオブジェクトに共通のカラー・マッチン
グ方法の指定のみを行え,オブジェクト毎にカラー・マ
ッチング方法の指定をすることができないからである。
なお,出力する1つの色変換パラメータは,例えば,図
23に示す設定画面の設定に従って決定されるようにす
ることができる。
Subsequently, the extended printer driver 212
Receives three types of color conversion parameters from the printer driver 213, holds the three types of input color conversion parameters, and outputs one of the color conversion parameters to the drawing module 211 (S2408, S24).
09). Here, the reason that only one color conversion parameter is output to the drawing module 211 is that the drawing module 211 in a general computer environment can only specify a color matching method common to a plurality of types of objects to be drawn. This is because the color matching method cannot be designated for each object.
One color conversion parameter to be output can be determined according to the setting on the setting screen shown in FIG. 23, for example.

【0171】そして,描画モジュール211は,拡張プ
リンタ・ドライバ212から1つの色変換パラメータを
入力して保持し,初期化処理を終了する(S241
0)。描画モジュール211は,実際に描画命令を出力
する際に,保持した色変換パラメータを付加する。
Then, the drawing module 211 receives and holds one color conversion parameter from the extended printer driver 212, and ends the initialization processing (S241).
0). The drawing module 211 adds the held color conversion parameters when actually outputting the drawing command.

【0172】なお,上述した説明においては,説明の便
宜上,拡張プリンタ・ドライバ212から色変換エンジ
ン214の間における3種類の色変換パラメータの生成
処理を同時に行うように説明したが,実際には,色変換
パラメータ生成命令の出力と色変換パラメータの生成を
オブジェクトの種類毎に行うことになる。すなわち,上
述した3種類のオブジェクトについて色変換パラメータ
を生成する場合には,図24に示すステップS2404
〜S2408の処理を3回繰り返すことになる。
In the above description, for the sake of convenience, the processing of generating three types of color conversion parameters between the extended printer driver 212 and the color conversion engine 214 is performed simultaneously. The output of the color conversion parameter generation command and the generation of the color conversion parameter are performed for each type of object. That is, when generating color conversion parameters for the three types of objects described above, step S2404 shown in FIG.
Steps S2408 to S2408 are repeated three times.

【0173】このように,実施の形態3で説明した動的
にリンク可能なプログラムモジュールの拡張方法を適用
した拡張プリンタ・ドライバ212を設けたことによ
り,通常は1つの色変換パラメータ生成命令に応じて1
つの色変換パラメータのみしか生成されないところを,
3つの色変換パラメータを生成することができるよう
に,プリンタ・ドライバ213の機能を拡張することが
できる。
As described above, by providing the extended printer driver 212 to which the method of extending a program module that can be dynamically linked described in the third embodiment is applied, normally, one color conversion parameter generation instruction is provided. 1
Where only one color conversion parameter is generated,
The function of the printer driver 213 can be extended so that three color conversion parameters can be generated.

【0174】(2)拡張プリンタ・ドライバによる描画
命令発行処理 続いて,拡張プリンタ・ドライバ212による描画命令
発行処理について説明する。図25は,実施の形態4の
色変換処理方法において,拡張プリンタ・ドライバ21
2による描画命令発行手順を示すフローチャートであ
る。
(2) Drawing Command Issuing Process by Extended Printer Driver Next, the drawing command issuing process by the extended printer driver 212 will be described. FIG. 25 shows the extended printer driver 21 in the color conversion processing method according to the fourth embodiment.
4 is a flowchart showing a drawing command issuing procedure according to No. 2;

【0175】描画モジュール211は,アプリケーショ
ン210から描画命令(印刷命令)と描画色情報を入力
すると,描画命令に上記初期化処理で生成した色変換パ
ラメータを付加し,色変換パラメータが付加された描画
命令および描画色情報を出力する。拡張プリンタ・ドラ
イバ212は,描画モジュール211から描画命令およ
び描画色情報を入力すると,入力した描画命令がいかな
る種類のオブジェクトの描画命令であるかを判定する
(S2501,S2503,S2505)。
When the drawing module 211 receives a drawing command (printing command) and drawing color information from the application 210, the drawing module 211 adds the color conversion parameter generated in the initialization processing to the drawing command, and draws the image with the color conversion parameter added. Outputs command and drawing color information. Upon input of the drawing command and the drawing color information from the drawing module 211, the extended printer driver 212 determines what kind of object the input drawing command is for (S2501, S2503, S2505).

【0176】ここで,拡張プリンタ・ドライバ212に
よるオブジェクトの種類の判定処理について説明する。
拡張プリンタ・ドライバ212は,描画命令に基づい
て,描画対象のオブジェクトがビットマップ画像か,グ
ラフィック画像か,または文字であるかを判定する。こ
のように3種類としたのは,上述したように,一般的な
コンピュータ環境において用いられる描画命令の名称が
ビットマップ画像,グラフィック画像およびテキストで
異なるため,上記3種類のオブジェクトに区別すること
が便利であるからである。
Here, the process of determining the type of an object by the extended printer driver 212 will be described.
The extended printer driver 212 determines whether the object to be rendered is a bitmap image, a graphic image, or a character based on the rendering command. The reason why these three types are used is that, as described above, the names of the drawing instructions used in a general computer environment are different for bitmap images, graphic images, and texts. Because it is convenient.

【0177】一般に,描画モジュールからプリンタ・ド
ライバに対して発行される描画命令を含む一連の命令に
は,例えばDDI(Device Driver In
terface)関数と呼ばれるものがあり,この関数
を機能別に分類すると図26のように分類することがで
きる。そして,拡張プリンタ・ドライバ212にこれら
のDDI関数をエキスポートし,かつ所望の分類,即
ち,ビットマップの描画,テキストの描画およびグラフ
ィックスの描画に相当するDDIを見つけ出してオブジ
ェクトの種類を判定させる。ここで,オブジェクトの種
類を判定ためには,描画命令の名称を用いる。オブジェ
クトの種類の判定後には,後述するように,初期化処理
で生成した3種類の色変換パラメータのうち,該当する
種類のものを描画命令に付加することができるようにす
れば,後段のプリンタ・ドライバ212および色変換エ
ンジン214において,オブジェクト単位のカラー・マ
ッチング処理が可能となる。
In general, a series of commands including a drawing command issued from the drawing module to the printer driver includes, for example, a DDI (Device Driver In).
There is a function called a "terface" function, and this function can be classified as shown in FIG. 26 when classified by function. Then, the DDI function is exported to the extended printer driver 212, and DDI corresponding to desired classification, that is, bitmap drawing, text drawing, and graphics drawing is found, and the type of the object is determined. . Here, the name of the drawing command is used to determine the type of the object. After the determination of the type of the object, if the corresponding type of the three types of color conversion parameters generated in the initialization processing can be added to the drawing command, as described later, a printer at the subsequent stage can be used. In the driver 212 and the color conversion engine 214, color matching processing can be performed for each object.

【0178】再び図25の説明に戻る。拡張プリンタ・
ドライバ212は,描画モジュールから描画命令および
描画色情報を入力し,入力した描画命令に基づいて,描
画命令がビットマップ画像の描画命令であるか否かを判
定する(S2501)。
Returning to the description of FIG. Extended printer
The driver 212 inputs a drawing command and drawing color information from the drawing module, and determines whether or not the drawing command is a command for drawing a bitmap image based on the input drawing command (S2501).

【0179】ステップS2501において,ビットマッ
プ画像の描画命令であると判定した場合,拡張プリンタ
・ドライバ212は,初期化処理で生成して保持してい
る3種類の色変換パラメータからビットマップ画像用の
色変換パラメータを選択し,描画モジュール211が付
加した色変換パラメータを選択した色変換パラメータに
置換して,ビットマップ画像用の色変換パラメータ付き
描画命令を生成し,描画色情報と共にプリンタ・ドライ
バ213に出力して処理を終了する(S2502)。
If it is determined in step S2501 that the command is a bitmap image drawing command, the extended printer driver 212 uses the three types of color conversion parameters generated and held in the initialization process to generate a bitmap image. A color conversion parameter is selected, the color conversion parameter added by the drawing module 211 is replaced with the selected color conversion parameter, a drawing command with a color conversion parameter for a bitmap image is generated, and the printer driver 213 is generated together with the drawing color information. And the process is terminated (S2502).

【0180】一方,ステップS2501において,ビッ
トマップ画像の描画命令ではないと判定した場合,拡張
プリンタ・ドライバ212は,入力した描画命令がグラ
フィック画像の描画命令であるか否かを判定する(S2
503)。
On the other hand, if it is determined in step S2501 that the command is not a bitmap image drawing command, the extended printer driver 212 determines whether the input drawing command is a graphic image drawing command (S2).
503).

【0181】ステップS2503において,グラフィッ
ク画像の描画命令であると判定した場合,拡張プリンタ
・ドライバ212は,初期化処理で生成して保持してい
る3種類の色変換パラメータからグラフィック画像用の
色変換パラメータを選択し,描画モジュール211が付
加した色変換パラメータを選択した色変換パラメータに
置換して,グラフィック画像用の色変換パラメータ付き
描画命令を生成し,描画色情報と共にプリンタ・ドライ
バ213に出力して処理を終了する(S2504)。
If it is determined in step S2503 that the instruction is a graphic image drawing instruction, the extended printer driver 212 converts the color conversion parameters for the graphic image from the three types of color conversion parameters generated and held in the initialization processing. A parameter is selected, the color conversion parameter added by the drawing module 211 is replaced with the selected color conversion parameter, a drawing command with a color conversion parameter for a graphic image is generated, and output to the printer driver 213 together with the drawing color information. Then, the process ends (S2504).

【0182】また,ステップS2503において,グラ
フィック画像の描画命令ではないと判定した場合,拡張
プリンタ・ドライバ212は,入力した描画命令が文字
の描画命令であるか否かを判定する(S2505)。
If it is determined in step S2503 that the command is not a graphic image drawing command, the extended printer driver 212 determines whether the input drawing command is a character drawing command (S2505).

【0183】ステップS2505において,文字の描画
命令であると判定した場合,拡張プリンタ・ドライバ2
12は,初期化処理で生成して保持している3種類の色
変換パラメータから文字用の色変換パラメータを選択
し,描画モジュール211が付加した色変換パラメータ
を選択した色変換パラメータに置換して,文字用の色変
換パラメータ付き描画命令を生成し,描画色情報と共に
プリンタ・ドライバ213に出力して処理を終了する
(S2504)。
If it is determined in step S2505 that the command is a character drawing command, the extended printer driver 2
In step 12, a character color conversion parameter is selected from the three types of color conversion parameters generated and held in the initialization processing, and the color conversion parameter added by the drawing module 211 is replaced with the selected color conversion parameter. Then, a rendering command with a color conversion parameter for characters is generated and output to the printer driver 213 together with the rendering color information, and the process ends (S2504).

【0184】一方,ステップ2505において,文字の
描画命令ではないと判定した場合,拡張プリンタ・ドラ
イバ212は,その引数に何ら変更を加えることなく,
そのままプリンタ・ドライバ213に出力して処理を終
了する。すなわち,拡張プリンタ・ドライバ212は,
オブジェクトの種類の判定および色変換パラメータの置
換以外には,プリンタ・ドライバ213と互換性を有し
ているのである。
On the other hand, if it is determined in step 2505 that the command is not a character drawing command, the extended printer driver 212 does not change its argument without any change.
The data is output to the printer driver 213 as it is, and the process is terminated. That is, the extended printer driver 212
In addition to the determination of the type of the object and the replacement of the color conversion parameter, it is compatible with the printer driver 213.

【0185】その後,プリンタ・ドライバ213は,拡
張プリンタ・ドライバ212から描画命令および描画色
情報を入力し,描画命令に付加された色変換パラメータ
を色変換命令に付加して色変換エンジン214に出力す
る。色変換エンジン214は,付加された色変換パラメ
ータに基づいて,描画色情報にカラー・マッチング処理
を施し,カラー・マッチング処理後の描画色情報をプリ
ンタ・ドライバ213に出力する。プリンタ・ドライバ
213は,描画命令をプリンタ217に対応した描画命
令に変換すると共に,色変換エンジン214から描画色
情報を入力し,変換した描画命令と共にプリンタ217
に出力する。
After that, the printer driver 213 receives the drawing command and the drawing color information from the extended printer driver 212, adds the color conversion parameter added to the drawing command to the color conversion command, and outputs it to the color conversion engine 214. I do. The color conversion engine 214 performs a color matching process on the drawing color information based on the added color conversion parameters, and outputs the drawing color information after the color matching process to the printer driver 213. The printer driver 213 converts the drawing command into a drawing command corresponding to the printer 217, inputs drawing color information from the color conversion engine 214, and outputs the drawing command together with the converted drawing command.
Output to

【0186】このように,実施の形態4の色変換処理装
置およびその方法によれば,オブジェクトの種類に応じ
た色変換パラメータを描画命令に付加する拡張プリンタ
・ドライバ212を設けたため,拡張プリンタ・ドライ
バ212を設けるのみで,カラー・マッチングに対応し
てはいるが,描画対象の種類を判別する機能を有しない
プリンタ・ドライバの機能の拡張を図ることができ,オ
ブジェクトの種類に応じて適切なカラー・マッチング処
理を実行することができる。
As described above, according to the color conversion processing apparatus and method of the fourth embodiment, the extended printer driver 212 for adding the color conversion parameter corresponding to the type of the object to the drawing command is provided. By simply providing the driver 212, it is possible to expand the functions of a printer driver that supports color matching but does not have a function of determining the type of drawing target, and can perform appropriate processing according to the type of object. A color matching process can be performed.

【0187】なお,実施の形態4では,拡張プリンタ・
ドライバ212が保持する3種類の色変換パラメータを
ドライバの初期化時に生成することにしたが,これを描
画命令が発行され,その描画命令がいかなる種類のオブ
ジェクトの描画命令であるかを判定した後,判定した種
類に応じて生成することもできる。
In the fourth embodiment, the extended printer
Although the three types of color conversion parameters held by the driver 212 are generated at the time of initialization of the driver, a rendering command is issued, and after it is determined what kind of object the rendering command is. , Can be generated according to the determined type.

【0188】また,拡張プリンタ・ドライバ212は,
描画命令がビットマップ画像,グラフィック画像または
文字のいずれの描画命令であるかを判定することにした
が,これら3種類に限らず,さらに細分化または再分類
化して判定処理を行うことにしても良い。
Further, the extended printer driver 212
It is determined whether the drawing command is a bitmap image, a graphic image, or a character drawing command. However, the determination is not limited to these three types. good.

【0189】さらに,ここで実施の形態4の色変換処理
方法およびその装置の第1および第2の変形例を説明す
る。
Further, here, first and second modified examples of the color conversion processing method and apparatus according to the fourth embodiment will be described.

【0190】(第1の変形例)上記拡張プリンタ・ドラ
イバ212は,描画命令がビットマップ画像,グラフィ
ック画像,文字のいずれの描画命令かを判定し,判定結
果に応じて,描画命令に付加されていた色変換パラメー
タをオブジェクトの種類に応じた色変換パラメータに置
換することにしている。ところで,特定のオブジェク
ト,例えば,プレゼンテーション用のグラフィックス内
の文字については,モニタ画面に近い色よりも,プレゼ
ンテーション用として訴求力のある色が求められること
がある。一般に,色変換しない場合のプリント出力は,
モニタ画面よりも濃く鮮やか目に出力されることが多い
ことから,第1の変形例では,文字の描画命令であると
判定した場合には,色変換パラメータを置換することな
く,元々付加されていた色変換パラメータをクリアし,
カラー・マッチング処理が施されることのないようにす
る。
(First Modification) The extended printer driver 212 determines whether the drawing command is a drawing command of a bitmap image, a graphic image, or a character, and adds the drawing command to the drawing command according to the determination result. Is replaced with a color conversion parameter corresponding to the type of the object. By the way, with respect to a specific object, for example, a character in graphics for presentation, a color more appealing for presentation may be required than a color close to a monitor screen. Generally, the print output without color conversion is
In many cases, the image is output to the eyes that are darker and brighter than the monitor screen. Therefore, in the first modification, when it is determined that the instruction is a character drawing instruction, the color conversion parameter is originally added without replacement. Clear the color conversion parameters
Prevent color matching processing from being performed.

【0191】図27は,第1の変形例の処理手順を示す
フローチャートである。なお,図27において,図25
と同一のステップについては同一のステップ番号を付
し,その説明を省略する。
FIG. 27 is a flowchart showing the processing procedure of the first modification. In FIG. 27, FIG.
The same steps as those described above are denoted by the same step numbers, and description thereof is omitted.

【0192】上述した色変換パラメータをクリアする処
理は,ステップS2701で実行される。その結果,拡
張プリンタ・ドライバ212からプリンタ・ドライバ2
13へ色変換パラメータのない描画命令が出力されるこ
とになり,描画色情報にカラー・マッチング処理を施す
ことなくそのままプリンタ・ドライバ213を介してプ
リンタ217に出力される。なお,色変換パラメータを
クリアする処理は,描画対象のオブジェクトの種類を判
定する際に行うことができる。
The processing for clearing the color conversion parameters described above is executed in step S2701. As a result, the extended printer driver 212 sends the printer driver 2
13 is output to the printer 217 via the printer driver 213 without performing color matching processing on the drawing color information. Note that the process of clearing the color conversion parameters can be performed when determining the type of the object to be drawn.

【0193】(第2の変形例)次に,第2の変形例につ
いて説明する。第2の変形例においても第1の変形例と
同様に,特定の場合に色変換パラメータをクリアするこ
とについて説明する。
(Second Modification) Next, a second modification will be described. In the second modified example, similarly to the first modified example, clearing the color conversion parameter in a specific case will be described.

【0194】シアン,マゼンタ,イエロー,ブラック,
レッド,グリーン,ブルー,ホワイト(ベタおよび低濃
度色を含む)といった原色またはそれに準ずる色(以
下,これらを「特色」という)は,カラー・マッチング
の誤差が大きくなる傾向があるため,積極的に誤差を回
避するという意味で,カラー・マッチングを行わない方
が良い場合がある。そこで,第2の変形例では,文字の
色が上記各色のいずれかである場合に,その文字の描画
色情報についてはカラー・マッチング処理を施さないよ
うにするものである。ただし,グラデーション部でカラ
ー・マッチングを行わないことによる弊害の発生を防止
するため,グラデーションがほとんど適用されない文字
部に上記特色が使用されている場合に限定して,カラー
・マッチングを行わないようにすることが望ましい。
For cyan, magenta, yellow, black,
Primary colors such as red, green, blue, and white (including solid and low-density colors) or colors similar to them (hereinafter referred to as “special colors”) tend to have large errors in color matching. In some cases, it is better not to perform color matching in order to avoid errors. Therefore, in the second modification, when the color of a character is any of the above colors, the color matching processing is not performed on the drawing color information of the character. However, in order to prevent the adverse effects caused by not performing color matching in the gradation part, color matching should not be performed only when the above special color is used in the character part where gradation is hardly applied. It is desirable to do.

【0195】図28は,第2の変形例の処理手順を示す
フローチャートである。なお,図28において,図25
と同一のステップについては同一のステップ番号を付
し,その説明を省略する。
FIG. 28 is a flowchart showing the processing procedure of the second modification. In FIG. 28, FIG.
The same steps as those described above are denoted by the same step numbers, and description thereof is omitted.

【0196】拡張プリンタ・ドライバ212が,図28
のステップS2505において文字の描画命令であると
判定した場合,さらに,描画色情報に基づいて,その文
字の色が上記特色であるか否かを判定する(S280
1)。ステップS2801において,文字が特色ではな
いと判定した場合は,上述したように,描画命令に付加
されている色変換パラメータを文字用の色変換パラメー
タに置換する(S2802)。一方,文字が特色である
と判定した場合は,描画命令に付加されている色変換パ
ラメータをクリアする。その結果,拡張プリンタ・ドラ
イバ212からプリンタ・ドライバ213へ色変換パラ
メータのない描画命令が出力されることになり,描画色
情報にカラー・マッチング処理を施すことなくそのまま
プリンタ・ドライバ213を介してプリンタ217に出
力される。
When the extended printer driver 212
If it is determined in step S2505 that the command is a character drawing command, it is further determined based on the drawing color information whether the character color is the special color (S280).
1). If it is determined in step S2801 that the character is not a spot color, as described above, the color conversion parameter added to the drawing command is replaced with the character color conversion parameter (S2802). On the other hand, if it is determined that the character has a spot color, the color conversion parameter added to the drawing command is cleared. As a result, a rendering command without a color conversion parameter is output from the extended printer driver 212 to the printer driver 213, and the printer driver 213 does not perform the color matching process on the rendering color information. 217.

【0197】〔実施の形態5〕実施の形態5の色変換処
理装置およびその方法は,実施の形態3の動的にリンク
可能なプログラムモジュールの機能拡張方法を適用する
ことにより,カラー・マッチングに対応していないプリ
ンタ・ドライバの機能を拡張して,カラー・マッチング
に対応させるというものである。
[Fifth Embodiment] The color conversion processing apparatus and method according to the fifth embodiment are applied to the color matching by applying the function expansion method of the dynamically linkable program module according to the third embodiment. It expands the functions of printer drivers that do not support it to support color matching.

【0198】プリンタ・ドライバがカラー・マッチング
に対応している場合は,実施の形態4で説明したよう
に,色変換エンジンをコールすることができるが,プリ
ンタ・ドライバがカラー・マッチングに対応していない
場合は,色変換エンジンをコールすることができず,そ
の結果,カラー・マッチング処理を行うことができな
い。そこで,実施の形態5では,色変換エンジンをコー
ルすることができる拡張プリンタ・ドライバをカラー・
マッチングに対応していないプリンタ・ドライバに加え
ることにして,本来不可能であったカラー・マッチング
処理を行うことができるようにする。
If the printer driver supports color matching, the color conversion engine can be called as described in the fourth embodiment, but the printer driver supports color matching. Otherwise, the color conversion engine cannot be called, and as a result, the color matching process cannot be performed. Therefore, in the fifth embodiment, an extended printer driver capable of calling a color conversion engine is provided by a color printer.
By adding to a printer driver that does not support matching, it is possible to perform color matching processing that was originally impossible.

【0199】図29は,実施の形態5の色変換処理装置
のブロック構成図である。図29において,290はア
プリケーションを,291は実施の形態3で説明した上
位モジュール130に該当する描画モジュールを,29
2は実施の形態3で説明した拡張DLL151,17
0,190に該当する拡張プリンタ・ドライバを,29
3はモニタプロファイル294とプリンタプロファイル
295とに基づいてカラー・マッチング処理を実行する
色変換エンジンを,296は実施の形態3で説明したD
LL150に該当するプリンタ・ドライバを,297は
プリンタを示している。
FIG. 29 is a block diagram of a color conversion processing apparatus according to the fifth embodiment. In FIG. 29, reference numeral 290 denotes an application, 291 denotes a drawing module corresponding to the upper module 130 described in the third embodiment,
2 is extended DLLs 151 and 17 described in the third embodiment.
The extended printer driver corresponding to 0, 190
Reference numeral 3 denotes a color conversion engine that executes color matching processing based on the monitor profile 294 and the printer profile 295, and 296 denotes D described in the third embodiment.
A printer driver corresponding to the LL 150 is shown, and 297 is a printer.

【0200】描画モジュール291は,アプリケーショ
ン290から描画命令(プリント命令)および描画色情
報を入力し,後述する初期化処理で生成したカラー・マ
ッチング方法に対応したパラメータ(以下「色変換パラ
メータ」という)を入力した描画命令に付加し,その描
画命令と描画色情報とを拡張プリンタ・ドライバ292
に出力する。
The drawing module 291 receives a drawing command (print command) and drawing color information from the application 290, and sets parameters (hereinafter referred to as “color conversion parameters”) corresponding to a color matching method generated in an initialization process described later. Is added to the input drawing command, and the drawing command and the drawing color information are added to the extended printer driver 292.
Output to

【0201】また,拡張プリンタ・ドライバ292は,
描画モジュール291とプリンタ・ドライバ296との
間に設けられており,描画モジュール291によってコ
ールされる。この拡張プリンタ・ドライバ292は,描
画モジュール291から描画命令および描画色情報を入
力し,入力した描画命令に基づいて,描画命令がいかな
る種類のオブジェクトの描画命令であるかを判定し,判
定結果に基づいて,後述する初期化処理で生成したオブ
ジェクトの種類に応じて用意された複数の色変換パラメ
ータから該当する種類の色変換パラメータを選択し,選
択した色変換パラメータを付加した色変換命令を生成し
て,入力した描画色情報と共に色変換エンジン293へ
出力する。その後,色変換エンジン293からカラー・
マッチング処理が施された描画色情報を入力し,描画命
令と描画色情報とをプリンタ・ドライバ296に出力す
る。
The extended printer driver 292 is
It is provided between the drawing module 291 and the printer driver 296 and is called by the drawing module 291. The extended printer driver 292 receives a drawing command and drawing color information from the drawing module 291 and determines, based on the input drawing command, what kind of object the drawing command is a drawing command of. Based on a plurality of color conversion parameters prepared in accordance with the type of the object generated in the initialization process described later, a corresponding color conversion parameter is selected, and a color conversion command to which the selected color conversion parameter is added is generated. Then, the image data is output to the color conversion engine 293 together with the input drawing color information. After that, color conversion engine 293
The drawing color information subjected to the matching processing is input, and a drawing command and drawing color information are output to the printer driver 296.

【0202】また,色変換エンジン293は,拡張プリ
ンタ・ドライバ292から色変換パラメータが付加され
た色変換命令と描画色情報とを入力し,入力デバイスの
色特性情報であるモニタプロファイル294と出力デバ
イスの色特性情報であるプリンタプロファイル295に
基づいて,描画色情報にカラー・マッチング処理を施す
ものである。なお,色変換エンジン293によるカラー
・マッチング処理の詳細については,実施の形態1で説
明した通りであるため,ここではその説明を省略する。
The color conversion engine 293 receives a color conversion command to which color conversion parameters are added and drawing color information from the extended printer driver 292, and outputs a monitor profile 294, which is color characteristic information of the input device, and an output device. The color matching processing is performed on the drawing color information based on the printer profile 295 which is the color characteristic information of. Note that the details of the color matching processing by the color conversion engine 293 are as described in the first embodiment, and thus description thereof is omitted here.

【0203】さらに,プリンタ・ドライバ296は,上
述したように,カラー・マッチングに対応していないも
のである。このプリンタ・ドライバ296は,拡張プリ
ンタ・ドライバ292から描画命令およびカラー・マッ
チング処理が施された描画色情報を入力すると,描画命
令をプリンタ297固有の描画命令に変換し,描画色情
報と共にプリンタ297に出力する。
Further, as described above, the printer driver 296 does not support color matching. The printer driver 296 receives the drawing command and the drawing color information subjected to the color matching processing from the extended printer driver 292, converts the drawing command into a drawing command unique to the printer 297, and outputs the drawing command together with the drawing color information. Output to

【0204】なお,プリンタ・ドライバ296は,カラ
ー・マッチングに対応していないため,実施の形態4で
説明した図21および図22に示すような設定画面を有
していない。そこで,実施の形態5では,上記設定画面
を拡張プリンタ・ドライバ292に持たせることにし,
ユーザが拡張プリンタ・ドライバ292を介してカラー
・マッチングの有無およびカラー・マッチングの方法を
指定することができるようにしている。
Since the printer driver 296 does not support color matching, it does not have the setting screen as shown in FIGS. 21 and 22 described in the fourth embodiment. Therefore, in the fifth embodiment, the setting screen is provided in the extended printer driver 292.
The user can specify the presence / absence of color matching and the method of color matching via the extended printer driver 292.

【0205】また,上述した実施の形態4に係る色変換
処理装置の構成において,拡張プリンタ・ドライバ29
2が本発明の種類判定手段,選択手段および出力手段
に,色変換エンジン293が色変換手段に,プリンタ・
ドライバ296が描画命令変換手段にそれぞれ該当する
(請求項13)。
Further, in the configuration of the color conversion processing apparatus according to the fourth embodiment, the extended printer driver 29
2 is a type determination unit, a selection unit, and an output unit of the present invention;
The driver 296 corresponds to each of the drawing command conversion means (claim 13).

【0206】次に,実施の形態5の色変換処理方法につ
いて,(1)ドライバ初期化時の処理,(2)オブジェ
クトの種類の判定処理,色変換処理および描画命令発行
処理の順でフローチャートを参照しつつ説明する。
Next, a flowchart of the color conversion processing method according to the fifth embodiment will be described in the order of (1) processing at the time of driver initialization, (2) processing for determining the type of object, color conversion processing, and drawing command issuing processing. It will be described with reference to FIG.

【0207】(1)ドライバ初期化時の処理 図30は,実施の形態5の色変換処理方法におけるドラ
イバ初期化時の処理手順を示すフローチャートである。
(1) Processing at the time of driver initialization FIG. 30 is a flowchart showing a processing procedure at the time of driver initialization in the color conversion processing method according to the fifth embodiment.

【0208】描画モジュール291は,プリンタ・ドラ
イバ296に対してプリンタ情報・ドライバ情報の問い
合わせを行い,プリンタ情報・ドライバ情報を取得する
(S3001)。具体的には,まず,拡張プリンタ・ド
ライバ292が描画モジュール291からの問い合わせ
を受け取り,受け取った問い合わせをプリンタ・ドライ
バ296に渡す。そして,拡張プリンタ・ドライバ29
2は,プリンタ・ドライバ296からプリンタ情報・ド
ライバ情報に関する戻り値を受け取り,受け取った戻り
値にカラー・マッチングに関する情報を付け加えた上
で,戻り値を描画モジュール291に渡す。その結果,
描画モジュール291からは,プリンタ・ドライバ29
6がカラー・マッチングに対応しているように見えるこ
とになる。
The drawing module 291 makes an inquiry about printer information and driver information to the printer driver 296, and acquires printer information and driver information (S3001). Specifically, first, the extended printer driver 292 receives an inquiry from the drawing module 291 and passes the received inquiry to the printer driver 296. Then, the extended printer driver 29
2 receives a return value relating to printer information / driver information from the printer driver 296, adds information relating to color matching to the received return value, and passes the return value to the drawing module 291. as a result,
From the drawing module 291, the printer driver 29
6 would appear to correspond to color matching.

【0209】そして,描画モジュール291は,取得し
たプリンタ情報・ドライバ情報に基づいて,プリンタ・
ドライバ296がカラー・マッチングに対応しており,
かつ,カラー・マッチングありの指定を受けているかを
判定する(S3002)。プリンタ・ドライバ296は
カラー・マッチングに対応していないが,拡張プリンタ
・ドライバがカラー・マッチングに対応している。ま
た,カラー・マッチングありの指定は,拡張プリンタ・
ドライバ292において,上述した図21および図22
に示す設定画面に基づきユーザが行う。
[0209] Then, based on the acquired printer information / driver information, the drawing module 291 outputs
Driver 296 supports color matching,
In addition, it is determined whether or not the color matching is specified (S3002). The printer driver 296 does not support color matching, but the extended printer driver supports color matching. In addition, the specification with color matching is available for extended printers.
21 and 22 described above in the driver 292.
Is performed by the user based on the setting screen shown in FIG.

【0210】ステップS3002において,プリンタ・
ドライバ296がカラー・マッチングに対応していない
と判定した場合,またはカラー・マッチングに対応して
いるがカラー・マッチングありの指定がないと判定した
場合には,そのまま初期化処理を終了する。
In step S3002, the printer
If the driver 296 determines that it does not support color matching, or determines that it supports color matching but does not specify that color matching is to be performed, the initialization process ends.

【0211】一方,ステップS3002において,プリ
ンタ・ドライバ296がカラー・マッチングに対応して
おり,かつ,カラー・マッチングありの指定があると判
定した場合,描画モジュール291は,色変換パラメー
タ生成命令を発行する(S3003)。
On the other hand, if the printer driver 296 determines in step S3002 that the printer driver 296 supports color matching and that there is a designation of color matching, the drawing module 291 issues a color conversion parameter generation command. (S3003).

【0212】拡張プリンタ・ドライバ292は,カラー
・マッチングに対応している,即ち色変換パラメータに
対する引数を有し,色変換命令をエキスポートしている
ため,描画モジュール291から色変換パラメータ生成
命令を入力すると,予め設定された条件に基づいて,色
変換エンジン293に描画対象となる3種類のオブジェ
クト毎に色変換パラメータを生成する色変換パラメータ
生成命令を発行する(S3004)。ここで,3種類の
オブジェクトとは,実施の形態4で説明したように,ビ
ットマップ画像,文字およびその他のグラフィック画像
のことである。
Since the extended printer driver 292 supports color matching, that is, has an argument for a color conversion parameter, and exports a color conversion command, the extended printer driver 292 outputs a color conversion parameter generation command from the drawing module 291. Upon input, a color conversion parameter generation command for generating a color conversion parameter for each of three types of objects to be rendered is issued to the color conversion engine 293 based on preset conditions (S3004). Here, the three types of objects are bitmap images, characters, and other graphic images as described in the fourth embodiment.

【0213】色変換エンジン293は,拡張プリンタ・
ドライバ292から3種類の色変換パラメータ生成命令
を入力すると,ビットマップ画像の色変換パラメータ,
文字の色変換パラメータおよびその他のグラフィックの
色変換パラメータをそれぞれ生成し,生成した3種類の
色変換パラメータを拡張プリンタ・ドライバ292に出
力する(S3005)。
The color conversion engine 293 is an extended printer
When three types of color conversion parameter generation instructions are input from the driver 292, the color conversion parameters of the bitmap image,
A color conversion parameter for characters and a color conversion parameter for other graphics are generated, and the generated three types of color conversion parameters are output to the extended printer driver 292 (S3005).

【0214】拡張プリンタ・ドライバ292は,色変換
エンジン293から3種類の色変換パラメータを入力
し,入力した3種類の色変換パラメータを保持すると共
に,そのうちの1つの色変換パラメータを描画モジュー
ル291に出力する(S3006,S3007)。
The extended printer driver 292 receives three types of color conversion parameters from the color conversion engine 293, holds the three types of input color conversion parameters, and sends one of the color conversion parameters to the drawing module 291. Output (S3006, S3007).

【0215】そして,描画モジュール291は,拡張プ
リンタ・ドライバ292から1つの色変換パラメータを
入力して保持し,初期化処理を終了する(S300
8)。描画モジュール291は,実際に描画命令を出力
する際に,保持している色変換パラメータを付加する。
Then, the drawing module 291 receives and holds one color conversion parameter from the extended printer driver 292, and ends the initialization processing (S300).
8). The drawing module 291 adds the held color conversion parameters when actually outputting the drawing command.

【0216】なお,上述した説明においては,説明の便
宜上,拡張プリンタ・ドライバ292から色変換エンジ
ン293の間における3種類の色変換パラメータの生成
処理を同時に行うように説明したが,実際には,色変換
パラメータ生成命令の出力と色変換パラメータの生成と
をオブジェクトの種類毎に行うことになる。すなわち,
図30に示すステップS3004〜S3006の処理を
3回繰り返すことになる。
In the above description, for the sake of convenience, the processing of generating three types of color conversion parameters between the extended printer driver 292 and the color conversion engine 293 has been described as being performed simultaneously. The output of the color conversion parameter generation command and the generation of the color conversion parameter are performed for each type of object. That is,
The processing of steps S3004 to S3006 shown in FIG. 30 is repeated three times.

【0217】(2)オブジェクトの種類の判定処理,色
変換処理および描画命令発行処理 続いて,オブジェクトの種類の判定処理,色変換処理お
よび描画命令発行処理について説明する。図31は,実
施の形態5の色変換処理方法において,オブジェクトの
種類の判定処理,色変換処理および描画命令発行処理の
手順を示すフローチャートである。
(2) Object Type Judgment Processing, Color Conversion Processing, and Drawing Command Issuing Processing Next, the object type judgment processing, color conversion processing, and drawing instruction issuing processing will be described. FIG. 31 is a flowchart showing the procedure of object type determination processing, color conversion processing, and rendering command issuing processing in the color conversion processing method according to the fifth embodiment.

【0218】描画モジュール291は,アプリケーショ
ン290から描画命令(印刷命令)と描画色情報を入力
すると,描画命令に上述した初期化処理で生成した色変
換パラメータを付加し,色変換パラメータが付加された
描画命令および描画色情報を出力する。拡張プリンタ・
ドライバ292は,実施の形態4で説明したように,描
画命令の名称に基づいて,いかなる種類のオブジェクト
の描画命令であるかを判定するすることができる機能を
有している。したがって,拡張プリンタ・ドライバ29
2は,描画モジュール291から描画命令および描画色
情報を入力すると,入力した描画命令がいかなる種類の
オブジェクトの描画命令であるか否かを判定する(S3
101,S3103,S3105)。
Upon input of a drawing command (print command) and drawing color information from the application 290, the drawing module 291 adds the color conversion parameter generated by the above-described initialization processing to the drawing command, and adds the color conversion parameter. Output drawing command and drawing color information. Extended printer
As described in the fourth embodiment, the driver 292 has a function of determining what kind of object drawing command is based on the name of the drawing command. Therefore, the extended printer driver 29
2 receives the drawing command and the drawing color information from the drawing module 291 and determines whether or not the input drawing command is a drawing command of what kind of object (S3).
101, S3103, S3105).

【0219】すなわち,拡張プリンタ・ドライバ292
は,描画モジュール291から描画命令および描画色情
報を入力し,入力した描画命令の名称に基づいて,描画
命令がビットマップ画像の描画命令であるか否かを判定
する(S3101)。
That is, the extended printer driver 292
Inputs a drawing command and drawing color information from the drawing module 291 and determines whether or not the drawing command is a bitmap image drawing command based on the name of the input drawing command (S3101).

【0220】ステップS3101において,ビットマッ
プ画像の描画命令であると判定した場合,拡張プリンタ
・ドライバ292は,初期化処理で生成して保持してい
る3種類の色変換パラメータからビットマップ画像用の
色変換パラメータを選択し,選択した色変換パラメータ
を付加した色変換命令と描画色情報とを色変換エンジン
293に出力する(S3102)。
If it is determined in step S3101 that the command is a bitmap image drawing command, the extended printer driver 292 uses the three types of color conversion parameters generated and held in the initialization process to generate a bitmap image. The color conversion parameter is selected, and a color conversion command and drawing color information to which the selected color conversion parameter is added are output to the color conversion engine 293 (S3102).

【0221】色変換エンジン293は,拡張プリンタ・
ドライバ292から色変換命令および描画色情報を入力
し,入力した色変換命令に付加されたビットマップ画像
用の色変換パラメータに基づいて,描画色情報にカラー
・マッチング処理を施し,カラー・マッチング処理を施
した描画色情報を拡張プリンタ・ドライバ292に出力
する(S3103)。
The color conversion engine 293 is an extended printer
A color conversion command and drawing color information are input from the driver 292, and a color matching process is performed on the drawing color information based on a bitmap image color conversion parameter added to the input color conversion command. Is output to the extended printer driver 292 (S3103).

【0222】そして,拡張プリンタ・ドライバ292
は,色変換エンジンからカラー・マッチング処理後の描
画色情報を入力し,描画命令と描画色情報とをプリンタ
・ドライバ296に出力して処理を終了する(S310
4)。なお,ここで,色変換パラメータが付加された描
画命令は,カラー・マッチングに未対応のプリンタ・ド
ライバに出力するために新たな描画命令に再生成され
る。
The extended printer driver 292
Inputs the drawing color information after the color matching processing from the color conversion engine, outputs the drawing command and the drawing color information to the printer driver 296, and ends the processing (S310).
4). Here, the drawing command to which the color conversion parameter is added is regenerated as a new drawing command in order to output the drawing command to a printer driver that does not support color matching.

【0223】一方,ステップS3101において,ビッ
トマップ画像の描画命令ではないと判定した場合,拡張
プリンタ・ドライバ292は,入力した描画命令がグラ
フィック画像の描画命令であるか否かを判定する(S3
105)。
On the other hand, if it is determined in step S3101 that the command is not a bitmap image drawing command, the extended printer driver 292 determines whether the input drawing command is a graphic image drawing command (S3).
105).

【0224】ステップS3105において,グラフィッ
ク画像の描画命令であると判定した場合,拡張プリンタ
・ドライバ292は,初期化処理で生成して保持してい
る3種類の色変換パラメータからグラフィック画像用の
色変換パラメータを選択し,選択した色変換パラメータ
を付加した色変換命令と描画色情報とを色変換エンジン
293に出力する(S3106)。
If it is determined in step S3105 that the command is a graphic image drawing command, the extended printer driver 292 converts the three types of color conversion parameters generated and held in the initialization process into color conversion parameters for the graphic image. A parameter is selected, and a color conversion command to which the selected color conversion parameter is added and drawing color information are output to the color conversion engine 293 (S3106).

【0225】色変換エンジン293は,拡張プリンタ・
ドライバ292から色変換命令および描画色情報を入力
し,入力した色変換命令に付加されたグラフィック画像
用の色変換パラメータに基づいて,描画色情報にカラー
・マッチング処理を施し,カラー・マッチング処理を施
した描画色情報を拡張プリンタ・ドライバ292に出力
する(S3107)。
A color conversion engine 293 is an extended printer
A color conversion command and drawing color information are input from the driver 292, and a color matching process is performed on the drawing color information based on a color conversion parameter for a graphic image added to the input color conversion command. The applied drawing color information is output to the extended printer driver 292 (S3107).

【0226】そして,拡張プリンタ・ドライバ292
は,色変換エンジンからカラー・マッチング処理後の描
画色情報を入力し,描画命令と描画色情報とをプリンタ
・ドライバ296に出力して処理を終了する(S310
8)。
Then, the extended printer driver 292
Inputs the drawing color information after the color matching processing from the color conversion engine, outputs the drawing command and the drawing color information to the printer driver 296, and ends the processing (S310).
8).

【0227】また,ステップS3105において,グラ
フィック画像の描画命令ではないと判定した場合,拡張
プリンタ・ドライバ292は,入力した描画命令が文字
の描画命令であるか否かを判定する(S3109)。
If it is determined in step S3105 that the command is not a graphic image drawing command, the extended printer driver 292 determines whether the input drawing command is a character drawing command (S3109).

【0228】ステップS3109において,文字の描画
命令であると判定した場合,拡張プリンタ・ドライバ2
92は,初期化処理で生成して保持している3種類の色
変換パラメータから文字用の色変換パラメータを選択
し,選択した色変換パラメータを付加した色変換命令と
描画色情報とを色変換エンジン293に出力する(S3
110)。
If it is determined in step S3109 that the command is a character drawing command, the extended printer driver 2
92, a color conversion parameter for characters is selected from the three types of color conversion parameters generated and held in the initialization processing, and a color conversion command to which the selected color conversion parameter is added and drawing color information are subjected to color conversion. Output to the engine 293 (S3
110).

【0229】色変換エンジン293は,拡張プリンタ・
ドライバ292から色変換命令および描画色情報を入力
し,入力した色変換命令に付加された文字用の色変換パ
ラメータに基づいて,描画色情報にカラー・マッチング
処理を施し,カラー・マッチング処理を施した描画色情
報を拡張プリンタ・ドライバ292に出力する(S31
11)。
The color conversion engine 293 is an extended printer
A color conversion command and drawing color information are input from the driver 292, and a color matching process is performed on the drawing color information based on the character color conversion parameter added to the input color conversion command, and a color matching process is performed. The resulting drawing color information is output to the extended printer driver 292 (S31).
11).

【0230】そして,拡張プリンタ・ドライバ292
は,色変換エンジンからカラー・マッチング処理後の描
画色情報を入力し,描画命令と描画色情報とをプリンタ
・ドライバ296に出力して処理を終了する(S311
2)。
The extended printer driver 292
Inputs the drawing color information after the color matching processing from the color conversion engine, outputs the drawing command and the drawing color information to the printer driver 296, and ends the processing (S311).
2).

【0231】さらに,ステップS3109において,文
字の描画命令ではないと判定した場合,拡張プリンタ・
ドライバ292は,その引数に何ら変更を加えることな
く,そのままプリンタ・ドライバ296に出力して処理
を終了する。
If it is determined in step S3109 that the command is not a character drawing command, the extended printer
The driver 292 outputs the argument to the printer driver 296 without any change, and ends the process.

【0232】その後,プリンタ・ドライバ296は,拡
張プリンタ・ドライバ292から描画命令および描画色
情報を入力し,入力した描画命令をプリンタ297固有
の描画命令に変換し,描画色情報と共にプリンタ297
に出力する。すなわち,プリンタ・ドライバ296は,
拡張プリンタ・ドライバ292の存在に拘わらず,描画
命令とカラー・マッチング処理後の描画色情報とを受け
取って,通常の処理を実行するのみで良い。
Thereafter, the printer driver 296 inputs a drawing command and drawing color information from the extended printer driver 292, converts the input drawing command into a drawing command specific to the printer 297, and outputs the drawing command together with the drawing color information.
Output to That is, the printer driver 296
Regardless of the presence of the extended printer driver 292, it is only necessary to receive the drawing command and the drawing color information after the color matching processing and execute the normal processing.

【0233】このように,実施の形態5の色変換処理方
法およびその装置によれば,カラー・マッチングに対応
し,かつオブジェクトの種類を判定することができる拡
張プリンタ・ドライバ292を設けたため,カラー・マ
ッチングに対応していないプリンタ・ドライバをカラー
・マッチングに対応しているように拡張することがで
き,かつ,オブジェクトの種類に応じて適切なカラー・
マッチング処理を実行することができる。
As described above, according to the color conversion processing method and the apparatus of the fifth embodiment, since the extended printer driver 292 which supports color matching and can determine the type of object is provided, -Printer drivers that do not support matching can be expanded to support color matching, and appropriate colors can be used depending on the type of object.
A matching process can be performed.

【0234】なお,実施の形態5では,拡張プリンタ・
ドライバ292が保持する3種類の色変換パラメータを
ドライバの初期化時に生成することにしたが,これを描
画命令が発行され,その描画命令がいかなる種類のオブ
ジェクトの描画命令であるかを判定した後,判定した種
類に応じて生成することもできる。
In the fifth embodiment, the extended printer
Although the three types of color conversion parameters held by the driver 292 are generated at the time of initialization of the driver, a rendering command is issued and after it is determined what kind of object the rendering command is. , Can be generated according to the determined type.

【0235】また,拡張プリンタ・ドライバ292は,
描画命令がビットマップ画像,グラフィック画像または
文字のいずれの描画命令であるかを判定することにした
が,これら3種類に限らず,さらに細分化または再分類
化して判定処理を行うことにしても良い。
Further, the extended printer driver 292 is
It is determined whether the drawing command is a bitmap image, a graphic image, or a character drawing command. However, the determination is not limited to these three types. good.

【0236】さらに,ここでは詳細な説明を省略する
が,実施の形態4で説明した第1および第2の変形例を
実施の形態5の色変換処理装置およびその方法に適用す
ることもできる。
Although detailed description is omitted here, the first and second modifications described in the fourth embodiment can be applied to the color conversion processing apparatus and the method in the fifth embodiment.

【0237】最後に,図32に前述した実施の形態1〜
5を実現するハード構成の一例を示す。図において,1
01はCPU,102はROM,103はRAM,10
4はハードディスク,105はフロッピーディスクドラ
イブ装置,106は操作部,107はCD−ROMドラ
イブ装置,108は通信部,109はネットワーク拡張
ボード,110はプリンタをそれぞれ示す。
Finally, Embodiments 1 to 3 described above with reference to FIG.
5 illustrates an example of a hardware configuration that implements No. 5. In the figure, 1
01 is a CPU, 102 is a ROM, 103 is a RAM, 10
Reference numeral 4 denotes a hard disk, 105 denotes a floppy disk drive, 106 denotes an operation unit, 107 denotes a CD-ROM drive, 108 denotes a communication unit, 109 denotes a network expansion board, and 110 denotes a printer.

【0238】以上の構成において,本発明の色変換処理
装置は,プログラムとして実現され,ハードディスク1
04に格納されている。そして,CPU101によって
RAM103中に読み出され,実行されることによって
本発明の色変換処理装置が実現される。
In the above configuration, the color conversion processing device of the present invention is realized as a program,
04. Then, the color conversion processing device of the present invention is realized by being read into the RAM 103 by the CPU 101 and executed.

【0239】また,本発明の色変換処理方法,動的にリ
ンク可能なプログラムモジュールの拡張方法およびそれ
を適用した色変換処理方法をそれぞれプログラム化し,
これらをフロッピーディスク,ハードディスク,CD−
ROM,DVD等のコンピュータが読取可能な記録媒体
に記録することができる。そして,フロッピーディスク
装置105やCD−ROM装置107等を介し,CPU
101がこれらの記録媒体からプログラムを読み出して
実行することにより,上述した処理を行うことができ
る。また,CPU101は,通信部108,ネットワー
ク拡張ボード109等を介して,上記プログラムを送信
または受信することもできる。
Further, the color conversion processing method of the present invention, the method of extending a dynamically linkable program module, and the color conversion processing method to which the method is applied are programmed respectively.
Floppy disk, hard disk, CD-
It can be recorded on a computer-readable recording medium such as a ROM and a DVD. Then, through the floppy disk device 105 and the CD-ROM device 107, the CPU
The above-described processing can be performed by the 101 reading and executing the program from these recording media. Further, the CPU 101 can also transmit or receive the program via the communication unit 108, the network expansion board 109, and the like.

【0240】[0240]

【発明の効果】以上説明したように,本発明に係る色変
換処理装置(請求項1)によれば,少なくとも1つのオ
ブジェクトを含むカラー・イメージ情報を入力し,入力
したカラー・イメージ情報にカラー・マッチング処理を
施してカラー画像出力装置に対して送信する送信データ
に変換する色変換手段を備えた色変換処理装置におい
て,入力したカラー・イメージ情報にカラー・マッチン
グ方法の指定があるか否かを判定する判定手段と,カラ
ー・マッチング方法の指定がない場合,カラー・イメー
ジ情報中に存在する個々のオブジェクトの種類を判定す
る種類判定手段と,判定したオブジェクトの種類を入力
し,予め用意したオブジェクトの種類とカラー・マッチ
ング方法との対応関係情報から,判定したオブジェクト
の種類に対応したカラー・マッチング方法を選択する選
択手段と,を備え,色変換手段が,選択手段で選択した
カラー・マッチング方法を用いてオブジェクト毎のカラ
ー・マッチング処理を実行するため,カラー・マッチン
グ方法が指定されていないカラー・イメージ情報であっ
ても,個々のオブジェクト毎に適切なカラー・マッチン
グ処理を実行することができ,カラー・イメージ情報を
高画質に出力することができる。
As described above, according to the color conversion processing apparatus according to the present invention (claim 1), color image information including at least one object is input, and color information is input to the input color image information. In a color conversion processing device having a color conversion means for performing a matching process and converting the data into transmission data to be transmitted to a color image output device, whether or not a color matching method is designated in the input color / image information If no color matching method is specified, the type determining means for determining the type of each object present in the color image information, and the type of the determined object are input and prepared in advance. From the information on the correspondence between the object type and the color matching method, the Selecting means for selecting a matching method, wherein the color conversion means specifies a color matching method in order to execute color matching processing for each object using the color matching method selected by the selecting means. Even for color image information that is not present, appropriate color matching processing can be executed for each object, and color image information can be output with high image quality.

【0241】また,本発明に係る色変換処理装置(請求
項2)によれば,請求項1記載の色変換処理装置におい
て,カラー・イメージ情報がデバイス依存の色信号によ
る描画命令である場合,選択手段が,デバイス依存の色
信号による描画命令をデバイス独立の色信号による描画
命令に変換できるように,色空間を設定して描画命令を
再構築し,色変換手段が,選択手段で再構築した描画命
令を入力し,デバイス依存の描画命令をデバイス独立の
描画命令に変換した後,デバイス独立の描画命令をカラ
ー画像出力装置に対して送信する送信データに変換する
ため,描画命令を使ってカラー・マッチングを制御する
システムにおいて,カラー・マッチングがOFFの場合
であっても,容易にカラー・マッチングを実行可能にす
ることができる。
According to the color conversion processing device of the present invention, when the color image information is a drawing command based on a device-dependent color signal, A color space is set and the drawing command is reconstructed so that the selecting device can convert the drawing command based on the device-dependent color signal into a drawing command based on the device-independent color signal. After inputting the rendering command, the device-dependent rendering command is converted into a device-independent rendering command, and then the device-independent rendering command is converted into transmission data to be transmitted to the color image output device. In a system for controlling color matching, even when color matching is OFF, color matching can be easily performed.

【0242】また,本発明に係る色変換処理装置(請求
項3)によれば,請求項2記載の色変換処理装置におい
て,選択手段が,ビットマップ画像の描画命令中に階調
保存型のカラー・マッチング処理の実行を指定するた
め,オブジェクトの種類に応じて最適なカラー・マッチ
ング処理を実行することができる。
According to the color conversion processing device of the present invention (claim 3), in the color conversion processing device of claim 2, the selection means includes a gradation preserving type in the bitmap image drawing instruction. Since the execution of the color matching process is specified, the optimum color matching process can be executed according to the type of the object.

【0243】また,本発明に係る色変換処理装置(請求
項4)によれば,請求項2記載の色変換処理装置におい
て,選択手段が,ビットマップ画像以外の描画命令の再
構築を行わないため,オブジェクトの種類に応じて最適
なカラー・マッチング処理を実行することができる。
According to the color conversion processing device of the present invention, the selecting means does not reconstruct a drawing command other than a bitmap image. Therefore, optimal color matching processing can be executed according to the type of the object.

【0244】また,本発明に係る色変換処理装置(請求
項5)によれば,請求項2記載の色変換処理装置におい
て,選択手段が,単色のオブジェクトの描画命令中に彩
度保存型のカラー・マッチング処理の実行を指定するた
め,オブジェクトの種類に応じて最適なカラー・マッチ
ング処理を実行することができる。
According to the color conversion processing device of the present invention, the selecting means may include a saturation preserving type in the drawing instruction of the single color object. Since the execution of the color matching process is specified, the optimum color matching process can be executed according to the type of the object.

【0245】また,本発明に係る色変換処理装置(請求
項6)によれば,請求項2記載の色変換処理装置におい
て,選択手段が,複数の色を含む所定のパターンの描画
命令中に彩度保存型と階調保存型の中間のカラー・マッ
チング処理の実行を指定するため,オブジェクトの種類
に応じて最適なカラー・マッチング処理を実行すること
ができる。
Further, according to the color conversion processing device of the present invention, the selecting means may be arranged such that the selecting means includes a command for drawing a predetermined pattern including a plurality of colors. Since the execution of the color matching process between the saturation preserving type and the gradation preserving type is designated, the optimum color matching process can be executed according to the type of the object.

【0246】また,本発明に係る色変換処理装置(請求
項7)によれば,少なくとも1つのオブジェクトを含む
カラー・イメージ情報を入力し,入力したカラー・イメ
ージ情報にカラー・マッチング処理を施してカラー画像
出力装置に対して送信する送信データに変換する色変換
手段を備えた色変換処理装置において,入力したカラー
・イメージ情報中に存在する個々のオブジェクトにカラ
ー・マッチング方法の属性の指定があるか否かを判定す
る判定手段と,オブジェクトにカラー・マッチング方法
の属性の指定がない場合,オブジェクトの種類を判定す
る種類判定手段と,判定したオブジェクトの種類を入力
し,予め用意したオブジェクトの種類とカラー・マッチ
ング方法との対応関係情報から,判定したオブジェクト
の種類に対応したカラー・マッチング方法を選択し,オ
ブジェクトに選択したカラー・マッチング方法の属性情
報を付加する属性情報付加手段と,を備え,色変換手段
が,属性情報付加手段で付加したカラー・マッチング方
法の属性情報に基づいて,オブジェクト毎のカラー・マ
ッチング処理を実行するため,オブジェクトの属性を使
ってカラー・マッチングを制御するシステムにおいて,
オブジェクトにカラー・マッチング方法の属性が指定さ
れていない場合であっても,容易にオブジェクト毎のカ
ラー・マッチング処理を実行することができる。
Further, according to the color conversion processing device of the present invention (claim 7), color image information including at least one object is input, and the input color image information is subjected to color matching processing. In a color conversion processing device provided with a color conversion means for converting into transmission data to be transmitted to a color image output device, an attribute of a color matching method is specified for each object present in the input color image information. Determination means for determining whether or not the object has not been specified, and if the attribute of the color matching method is not specified for the object, type determination means for determining the type of the object; inputting the determined type of the object; Corresponding to the type of object determined from the correspondence information between the object and the color matching method Attribute information adding means for selecting a color matching method and adding attribute information of the selected color matching method to the object, wherein the color converting means adds the attribute information of the color matching method added by the attribute information adding means. In order to execute the color matching process for each object based on the object, in the system that controls the color matching using the attributes of the object,
Even when the attribute of the color matching method is not specified for the object, the color matching process for each object can be easily executed.

【0247】また,本発明に係る色変換処理装置(請求
項8)によれば,請求項7記載の色変換処理装置におい
て,オブジェクトがビットマップ画像である場合,属性
情報付加手段が,当該オブジェクトに対して階調保存型
のカラー・マッチング方法に対応する属性情報を付加す
るため,オブジェクトの種類に応じて最適なカラー・マ
ッチング処理を実行することができる。
According to the color conversion processing device of the present invention, when the object is a bitmap image, the attribute information adding means can control the object by adding the attribute information. Since attribute information corresponding to the gradation preserving type color matching method is added to the image data, optimal color matching processing can be executed according to the type of the object.

【0248】また,本発明に係る色変換処理装置(請求
項9)によれば,請求項7記載の色変換処理装置におい
て,オブジェクトがビットマップ画像以外である場合,
属性情報付加手段が,当該オブジェクトに対してカラー
・マッチング方法の属性情報を付加しないため,オブジ
ェクトの種類に応じて最適なカラー・マッチング処理を
実行することができる。
According to the color conversion processing apparatus of the present invention, when the object is other than a bitmap image,
Since the attribute information adding means does not add the attribute information of the color matching method to the object, it is possible to execute an optimum color matching process according to the type of the object.

【0249】また,本発明に係る色変換処理装置(請求
項10)によれば,請求項7記載の色変換処理装置にお
いて,オブジェクトが単色の場合,属性情報付加手段
が,当該オブジェクトに対して彩度保存型のカラー・マ
ッチング方法に対応する属性情報を付加するため,オブ
ジェクトの種類に応じて最適なカラー・マッチング処理
を実行することができる。
According to the color conversion processing device of the present invention, when the object is a single color, the attribute information adding means can determine whether the object has a single color. Since the attribute information corresponding to the saturation preserving type color matching method is added, it is possible to execute the optimum color matching processing according to the type of the object.

【0250】また,本発明に係る色変換処理装置(請求
項11)によれば,請求項7記載の色変換処理装置にお
いて,オブジェクトが複数の色を含む所定のパターンで
ある場合,属性情報付加手段が,当該オブジェクトに対
して彩度保存型と階調保存型の中間のカラー・マッチン
グ方法に対応する属性情報を付加するため,オブジェク
トの種類に応じて最適なカラー・マッチング処理を実行
することができる。
According to the color conversion processing device of the present invention, when the object is a predetermined pattern including a plurality of colors, attribute information is added. Means for executing an optimal color matching process according to the type of the object in order to add attribute information corresponding to a color matching method intermediate between the saturation preserving type and the gradation preserving type to the object; Can be.

【0251】また,本発明に係る色変換処理装置(請求
項12)によれば,カラー画像出力装置に対する描画処
理を制御する描画制御手段から所定のカラー・マッチン
グ方法の属性情報が付加された任意のオブジェクトの描
画命令およびオブジェクトの描画色を示す描画色情報を
入力すると,描画命令をカラー画像出力装置に固有の描
画命令に変換すると共に,描画色情報に属性情報に応じ
たカラー・マッチング処理を施した後,描画命令および
カラー・マッチング後の描画色情報をカラー画像出力装
置に出力する色変換手段を備えた色変換処理装置におい
て,入力した描画命令に基づいて,描画対象のオブジェ
クトの種類を判定する種類判定手段と,オブジェクトの
種類毎に用意されたカラー・マッチング方法の属性情報
を複数保持し,種類判定手段の判定結果に基づいて,複
数の属性情報から該当する属性情報を選択し,描画命令
に付加されている属性情報を選択した属性情報に置き換
えて,描画命令および描画色情報を色変換手段に出力す
る属性情報置換手段と,を備え,色変換手段は,属性情
報置換手段で置換された属性情報に基づいて,描画色情
報にカラー・マッチング処理を施すため,カラーマッチ
ングには対応しているが,描画対象となるオブジェクト
の種類を判別することができない色変換手段(プリンタ
・ドライバ)を利用しつつ,オブジェクトの種類に応じ
た適切なカラー・マッチング処理を実行することができ
る。
Further, according to the color conversion processing device of the present invention (claim 12), the arbitrary color information to which the attribute information of the predetermined color matching method is added from the drawing control means for controlling the drawing process for the color image output device. When the drawing command of the object and the drawing color information indicating the drawing color of the object are input, the drawing command is converted into a drawing command specific to the color image output device, and the color matching processing according to the attribute information is performed on the drawing color information. After performing the processing, the color conversion processing device having a color conversion means for outputting the drawing command and the drawing color information after the color matching to the color image output device determines the type of the object to be drawn based on the input drawing command. Holding a plurality of attribute information of a color matching method prepared for each type of object; Based on the judgment result of the judging means, the corresponding attribute information is selected from the plurality of pieces of attribute information, the attribute information added to the drawing command is replaced with the selected attribute information, and the drawing command and the drawing color information are converted into color conversion means. And color conversion means for performing color matching processing on the drawing color information based on the attribute information replaced by the attribute information replacement means. However, it is possible to execute appropriate color matching processing according to the type of the object while using a color conversion unit (printer driver) that cannot determine the type of the object to be drawn.

【0252】また,本発明に係る色変換処理装置(請求
項13)によれば,カラー画像出力装置に対する描画処
理を制御する描画制御手段から任意のオブジェクトの描
画命令およびオブジェクトの描画色を示す描画色情報を
入力し,入力した描画命令をカラー画像出力装置に固有
の描画命令に変換して,描画色情報と共にカラー画像出
力装置に出力するカラー・マッチング処理に未対応の描
画命令変換手段を備えた色変換処理装置であって,描画
制御手段から所定のカラー・マッチング方法の属性情報
が付加された任意のオブジェクトの描画命令およびオブ
ジェクトの描画色を示す描画色情報を入力し,入力した
描画命令に基づいて,描画対象のオブジェクトの種類を
判定する種類判定手段と,オブジェクトの種類毎に用意
されたカラー・マッチング方法の属性情報を複数保持
し,種類判定手段の判定結果に基づいて,複数の属性情
報から該当する属性情報を選択する選択手段と,選択手
段で選択された属性情報に基づいて,入力した描画色情
報にカラー・マッチング処理を施す色変換手段と,入力
した描画命令に基づいて,描画命令変換手段に新たな描
画命令と共にカラー・マッチング処理後の描画色情報を
出力する出力手段と,を備え,描画命令変換手段は,出
力手段から描画命令および描画色情報を入力し,入力し
た描画命令をカラー画像出力装置に固有の描画命令に変
換して,描画色情報と共にカラー画像出力装置に出力す
るため,カラーマッチングに対応していない描画命令変
換手段(プリンタ・ドライバ)を利用しつつ,オブジェ
クトの種類に応じた適切なカラー・マッチング処理を実
行することができる。
According to the color conversion processing device of the present invention, the drawing control means for controlling the drawing process for the color image output device draws an arbitrary object and displays the drawing color of the object. A drawing command conversion unit that does not support color matching processing that inputs color information, converts the input drawing command into a drawing command specific to the color image output device, and outputs the drawing command together with the drawing color information to the color image output device. And inputting a drawing instruction of an arbitrary object to which attribute information of a predetermined color matching method is added and drawing color information indicating a drawing color of the object from the drawing control means. Type determining means for determining the type of the object to be rendered based on the image, and a color mask prepared for each type of the object. A plurality of attribute information of the ching method are held, and a selection means for selecting the corresponding attribute information from the plurality of attribute information based on the determination result of the type determination means, and an input based on the attribute information selected by the selection means. Color conversion means for performing color matching processing on drawing color information; and output means for outputting drawing color information after color matching processing together with a new drawing command to the drawing command conversion means based on the input drawing command. The drawing command conversion means receives a drawing command and drawing color information from the output means, converts the input drawing command into a drawing command unique to the color image output device, and outputs the drawing command together with the drawing color information to the color image output device. Therefore, while using rendering command conversion means (printer driver) that does not support color matching, an appropriate color It may perform quenching process.

【0253】また,本発明に係る色変換処理装置(請求
項14)によれば,請求項12または13に記載の色変
換処理装置において,さらに,予め設定された情報に基
づいて,色変換手段に複数の属性情報の生成を要求し,
色変換手段で生成された複数の属性情報を入力して保持
する保持手段を備えるため,最も簡単な処理で複数の属
性情報を用意することができ,オブジェクトの種類に応
じた適切なカラー・マッチング処理を実行することがで
きる。
According to the color conversion processing apparatus of the present invention, the color conversion processing apparatus according to the twelfth or thirteenth aspect further comprises a color conversion means based on preset information. Request generation of multiple attribute information,
Since a plurality of attribute information generated by the color conversion means is provided and stored, a plurality of pieces of attribute information can be prepared by the simplest processing, and appropriate color matching according to the type of the object can be performed. Processing can be performed.

【0254】また,本発明に係る色変換処理装置(請求
項15)によれば,請求項12〜14のいずれか一つに
記載の色変換処理装置において,オブジェクトの種類
は,ビットマップ画像,文字およびその他のグラフィッ
ク画像の3種類であるため,描画命令の命令によるオブ
ジェクトの種類の判定の容易化を図ることができる。
According to the color conversion processing device of the present invention (claim 15), in the color conversion processing device of any one of claims 12 to 14, the type of the object is a bitmap image, Since there are three types of characters and other graphic images, it is possible to easily determine the type of the object by the drawing command.

【0255】また,本発明に係る色変換処理装置(請求
項16)によれば,請求項15記載の色変換処理装置に
おいて,種類判定手段は,描画対象のオブジェクトが文
字であると判定した場合に,該当する描画色情報にカラ
ー・マッチング処理が施されないようにするため,文字
について,カラー・マッチングよりも濃さ・鮮やかさを
優先するユーザに対し,その要望を満足させることがで
きるカラー・マッチング処理が可能となる。
According to the color conversion processing device of the present invention, in the color conversion processing device according to the fifteenth aspect, the type determining means determines that the object to be drawn is a character. In order to prevent the color matching processing from being performed on the corresponding drawing color information, a color / color that can satisfy the demand for the user who gives priority to the density and vividness of the character over the color matching. Matching processing becomes possible.

【0256】また,本発明に係る色変換処理装置(請求
項17)によれば,請求項16記載の色変換処理装置に
おいて,種類判定手段は,描画対象のオブジェクトが文
字であると判定した場合に,さらに,文字の色がシア
ン,マゼンタ,イエロー,ブラック,レッド,グリー
ン,ブルーおよびホワイトのいずれかに該当するかを判
定し,文字の色が各色のいずれかに該当すると判定した
場合に,該当する描画色情報にカラー・マッチング処理
が施されないようにするため,色の不連続性を回避し,
カラー・マッチングの誤差を抑えた上で,オブジェクト
毎に適切なカラー・マッチング処理が可能となる。
According to the color conversion processing device of the present invention, the type determining means determines that the object to be drawn is a character. Furthermore, it is determined whether the character color corresponds to any of cyan, magenta, yellow, black, red, green, blue, and white. If it is determined that the character color corresponds to any of the colors, To prevent color matching processing from being performed on the relevant drawing color information, avoid color discontinuities,
It is possible to perform an appropriate color matching process for each object while suppressing an error in color matching.

【0257】また,本発明に係る色変換処理方法(請求
項18)によれば,少なくとも1つのオブジェクトを含
むカラー・イメージ情報を入力する入力ステップと,入
力したカラー・イメージ情報にカラー・マッチング処理
を施してカラー画像出力装置に対して送信する送信デー
タに変換する色変換ステップと,を有する色変換処理方
法において,入力したカラー・イメージ情報にカラー・
マッチング方法の指定があるか否かを判定する判定ステ
ップと,カラー・マッチング方法の指定がない場合,カ
ラー・イメージ情報中に存在する個々のオブジェクトの
種類を判定する種類判定ステップと,判定したオブジェ
クトの種類を入力し,予め用意したオブジェクトの種類
とカラー・マッチング方法との対応関係情報から,判定
したオブジェクトの種類に対応したカラー・マッチング
方法を選択する選択ステップと,を含み,色変換ステッ
プが,選択ステップで選択したカラー・マッチング方法
を用いてオブジェクト毎のカラー・マッチング処理を実
行するため,カラー・マッチング方法が指定されていな
いカラー・イメージ情報であっても,個々のオブジェク
ト毎に適切なカラー・マッチング処理を実行することが
でき,カラー・イメージ情報を高画質に出力することが
できる。
According to the color conversion processing method (claim 18) of the present invention, an input step of inputting color image information including at least one object, and a color matching process for the input color image information And a color conversion step of converting the input color image information into color data to be transmitted to a color image output device.
A determining step of determining whether or not a matching method is specified; a type determining step of determining the type of an individual object existing in the color image information if no color matching method is specified; Selecting a color matching method corresponding to the determined object type from the correspondence information between the object type and the color matching method prepared in advance, and selecting a color matching method corresponding to the determined object type. Since the color matching process selected for each object is performed using the color matching method selected in the selection step, even if the color image information for which the color matching method is not specified is appropriate for each object, The color matching process can be executed. It is possible to output the over-character information on the image quality.

【0258】また,本発明に係る色変換処理方法(請求
項19)によれば,請求項18記載の色変換処理方法に
おいて,カラー・イメージ情報がデバイス依存の色信号
による描画命令である場合,選択ステップが,デバイス
依存の色信号による描画命令をデバイス独立の色信号に
よる描画命令に変換できるように,色空間を設定して描
画命令を再構築するステップを含み,色変換ステップ
が,選択ステップで再構築した描画命令を入力し,デバ
イス依存の描画命令をデバイス独立の描画命令に変換し
た後,デバイス独立の描画命令をカラー画像出力装置に
対して送信する送信データに変換するため,描画命令を
使ってカラー・マッチングを制御するシステムにおい
て,カラー・マッチングがOFFの場合であっても,容
易にカラー・マッチングを実行可能にすることができ
る。
According to a color conversion processing method according to the present invention (claim 19), in the color conversion processing method according to claim 18, when the color image information is a drawing command based on a device-dependent color signal, The selecting step includes a step of setting a color space and reconstructing the drawing command so that the drawing command based on the device-dependent color signal can be converted into a drawing command based on the device-independent color signal. After inputting the drawing command reconstructed in step 2, the device-dependent drawing command is converted into a device-independent drawing command, and then the device-independent drawing command is converted into transmission data to be transmitted to the color image output device. In a system that controls color matching using, even when color matching is OFF, color matching can be easily performed. It may enable execution.

【0259】また,本発明に係る色変換処理方法(請求
項20)によれば,請求項19記載の色変換処理方法に
おいて,選択ステップが,ビットマップ画像の描画命令
中に階調保存型のカラー・マッチング処理の実行を指定
するため,オブジェクトの種類に応じて最適なカラー・
マッチング処理を実行することができる。
Further, according to the color conversion processing method of the present invention, the selecting step may include the step of storing a gradation preserving type in the bitmap image drawing instruction. Since the execution of color matching processing is specified, the optimal color
A matching process can be performed.

【0260】また,本発明に係る色変換処理方法(請求
項21)によれば,請求項19記載の色変換処理方法に
おいて,選択ステップが,ビットマップ画像以外の描画
命令の再構築を行わないため,オブジェクトの種類に応
じて最適なカラー・マッチング処理を実行することがで
きる。
According to the color conversion processing method of the present invention, the selecting step does not reconstruct a drawing command other than a bitmap image. Therefore, optimal color matching processing can be executed according to the type of the object.

【0261】また,本発明に係る色変換処理方法(請求
項22)によれば,請求項19記載の色変換処理方法に
おいて,選択ステップが,単色のオブジェクトの描画命
令中に彩度保存型のカラー・マッチング処理の実行を指
定するため,オブジェクトの種類に応じて最適なカラー
・マッチング処理を実行することができる。
According to the color conversion processing method of the present invention, the selecting step may include the step of setting the saturation preserving type in the drawing instruction of the monochrome object. Since the execution of the color matching process is specified, the optimum color matching process can be executed according to the type of the object.

【0262】また,本発明に係る色変換処理方法(請求
項23)によれば,請求項19記載の色変換処理方法に
おいて,選択ステップが,複数の色を含む所定のパター
ンの描画命令中に彩度保存型と階調保存型の中間のカラ
ー・マッチング処理の実行を指定するため,オブジェク
トの種類に応じて最適なカラー・マッチング処理を実行
することができる。
According to the color conversion processing method according to the present invention (claim 23), in the color conversion processing method according to claim 19, the selecting step includes the step of executing a predetermined pattern drawing instruction including a plurality of colors. Since the execution of the color matching process between the saturation preserving type and the gradation preserving type is designated, the optimum color matching process can be executed according to the type of the object.

【0263】また,本発明に係る色変換処理方法(請求
項24)によれば,少なくとも1つのオブジェクトを含
むカラー・イメージ情報を入力する入力ステップと,入
力したカラー・イメージ情報にカラー・マッチング処理
を施してカラー画像出力装置に対して送信する送信デー
タに変換する色変換ステップと,を有する色変換処理方
法において,入力したカラー・イメージ情報中に存在す
る個々のオブジェクトにカラー・マッチング方法の属性
の指定があるか否かを判定する判定ステップと,オブジ
ェクトにカラー・マッチング方法の属性の指定がない場
合,オブジェクトの種類を判定する種類判定ステップ
と,判定したオブジェクトの種類を入力し,予め用意し
たオブジェクトの種類とカラー・マッチング方法との対
応関係情報から,判定したオブジェクトの種類に対応し
たカラー・マッチング方法を選択し,オブジェクトに選
択したカラー・マッチング方法の属性情報を付加する属
性情報付加ステップと,を含み,色変換ステップが,属
性情報付加ステップで付加したカラー・マッチング方法
の属性情報に基づいて,オブジェクト毎のカラー・マッ
チング処理を実行するため,オブジェクトの属性を使っ
てカラー・マッチングを制御するシステムにおいて,オ
ブジェクトにカラー・マッチング方法の属性が指定され
ていない場合であっても,容易にオブジェクト毎のカラ
ー・マッチング処理を実行することができる。
According to the color conversion processing method (claim 24) of the present invention, an input step of inputting color image information including at least one object, and a color matching process for the input color image information And a color conversion step of performing a color conversion process to convert the color data into transmission data to be transmitted to a color image output device. A determination step for determining whether or not there is a specification, and a type determination step for determining the type of the object when the attribute of the color matching method is not specified for the object. From the correspondence information between the type of object and the color matching method. A color matching method corresponding to the type of the selected object, and an attribute information adding step of adding attribute information of the selected color matching method to the object, wherein the color conversion step is added in the attribute information adding step. In order to execute the color matching process for each object based on the attribute information of the color matching method, the attribute of the color matching method is specified for the object in the system that controls the color matching using the attribute of the object. Even when there is no color matching processing, the color matching processing for each object can be easily executed.

【0264】また,本発明に係る色変換処理方法(請求
項25)によれば,請求項24記載の色変換処理方法に
おいて,オブジェクトがビットマップ画像である場合,
属性情報付加ステップが,当該オブジェクトに対して階
調保存型のカラー・マッチング方法に対応する属性情報
を付加するため,オブジェクトの種類に応じて最適なカ
ラー・マッチング処理を実行することができる。
According to a color conversion processing method according to the present invention (claim 25), in the color conversion processing method according to claim 24, when the object is a bitmap image,
Since the attribute information adding step adds attribute information corresponding to the gradation preserving type color matching method to the object, it is possible to execute an optimum color matching process according to the type of the object.

【0265】また,本発明に係る色変換処理方法(請求
項26)によれば,請求項24記載の色変換処理方法に
おいて,オブジェクトがビットマップ画像以外である場
合,属性情報付加ステップが,当該オブジェクトに対し
てカラー・マッチング方法の属性情報を付加しないた
め,オブジェクトの種類に応じて最適なカラー・マッチ
ング処理を実行することができる。
According to the color conversion processing method according to the present invention (claim 26), in the color conversion processing method according to claim 24, if the object is other than a bitmap image, the attribute information adding step includes the step of: Since the attribute information of the color matching method is not added to the object, it is possible to execute the optimum color matching processing according to the type of the object.

【0266】また,本発明に係る色変換処理方法(請求
項27)によれば,請求項24記載の色変換処理方法に
おいて,オブジェクトが単色の場合,属性情報付加ステ
ップが,当該オブジェクトに対して彩度保存型のカラー
・マッチング方法に対応する属性情報を付加するため,
オブジェクトの種類に応じて最適なカラー・マッチング
処理を実行することができる。
According to a color conversion processing method according to the present invention (claim 27), in the color conversion processing method according to claim 24, when the object is a single color, the attribute information adding step includes: To add attribute information corresponding to the saturation preserving color matching method,
Optimal color matching processing can be executed according to the type of object.

【0267】また,本発明に係る色変換処理方法(請求
項28)によれば,請求項24記載の色変換処理方法に
おいて,オブジェクトが複数の色を含む所定のパターン
である場合,属性情報付加ステップが,当該オブジェク
トに対して彩度保存型と階調保存型の中間のカラー・マ
ッチング方法に対応する属性情報を付加するため,オブ
ジェクトの種類に応じて最適なカラー・マッチング処理
を実行することができる。
According to a color conversion processing method according to the present invention (claim 28), in the color conversion processing method according to claim 24, if the object is a predetermined pattern including a plurality of colors, attribute information is added. The step is to execute an optimal color matching process according to the type of the object in order to add attribute information corresponding to an intermediate color matching method between the saturation preservation type and the gradation preservation type to the object. Can be.

【0268】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法(請求項29)によ
れば,オペレーティング・システムやアプリケーション
・プログラム等の上位モジュールの実行時にリンクさ
れ,上位モジュールから命令を入力し,入力した命令に
応じた処理を実行する動的にリンク可能なプログラムモ
ジュールの機能拡張方法において,上位モジュールから
プログラムモジュールに出力された第1の命令を入力
し,予め設定された条件に基づいて,入力した第1の命
令中の任意の引数を変更して第2の命令を生成し,生成
した第2の命令をプログラムモジュールに出力する命令
生成工程と,プログラムモジュールから第2の命令に応
じた処理結果を入力し,入力した処理結果に基づいて,
上位モジュール用の処理結果を上位モジュールに出力す
る処理結果出力工程と,を含むため,プログラムモジュ
ールが既成のものであり,そのソースプログラムが手元
にない場合であっても,最も簡易な形態でプログラムモ
ジュールの機能を拡張・変更することができる。
Further, according to the method of extending the function of a dynamically linkable program module according to the present invention (claim 29), the link is performed at the time of execution of an upper module such as an operating system or an application program, and the upper module is linked. In a method for dynamically expanding a function of a program module capable of inputting an instruction and executing a process according to the input instruction, a first instruction output from a higher-level module to the program module is input, and a predetermined instruction is input. An instruction generating step of generating a second instruction by changing an arbitrary argument in the input first instruction based on a condition, and outputting the generated second instruction to a program module; Input the processing result according to the instruction of the above, based on the input processing result,
And a process result output step of outputting a process result for a higher-level module to a higher-level module. Therefore, even if the program module is already available and its source program is not at hand, the program can be executed in the simplest form. The function of the module can be extended and changed.

【0269】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法(請求項30)によ
れば,オペレーティング・システムやアプリケーション
・プログラム等の上位モジュールの実行時にリンクさ
れ,上位モジュールから命令を入力し,入力した命令に
応じた処理を実行する動的にリンク可能なプログラムモ
ジュールの機能拡張方法において,プログラムモジュー
ルが備えるルーチン等の命令実行情報と同一名称でかつ
内容の異なる命令実行情報が少なくとも一つ用意されて
おり,上位モジュールから命令実行情報のいずれかを指
定した命令を入力すると,該当する命令実行情報に基づ
いて入力した命令に応じた処理を実行し,実行した処理
結果を上位モジュールに出力する命令実行工程を含むた
め,プログラムモジュールが既成のものであり,そのソ
ースプログラムが手元にない場合であっても,プログラ
ムモジュールの機能を拡張・変更することができる。
According to the method of extending the function of a dynamically linkable program module according to the present invention (claim 30), the link is performed when an upper module such as an operating system or an application program is executed, and the upper module is linked from the upper module. A method for expanding a function of a dynamically linkable program module for inputting an instruction and executing a process corresponding to the input instruction, the instruction execution information having the same name as the instruction execution information of a routine or the like included in the program module and having a different content. At least one is provided, and when an instruction that specifies any of the instruction execution information is input from the upper module, processing corresponding to the input instruction is executed based on the corresponding instruction execution information, and the executed processing result is displayed. Since it includes an instruction execution step to output to the upper module, Lumpur are of established, even when the source program is not at hand, it is possible to extend or change the functionality of the program modules.

【0270】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法(請求項31)によ
れば,オペレーティング・システムやアプリケーション
・プログラム等の上位モジュールの実行時にリンクさ
れ,上位モジュールから命令を入力し,入力した命令に
応じた処理を実行する動的にリンク可能なプログラムモ
ジュールの機能拡張方法において,上位モジュールから
指定可能でかつプログラムモジュールが有しないルーチ
ン等の命令実行情報が少なくとも一つ用意されており,
上位モジュールから命令実行情報を指定した命令を入力
すると,該当する命令実行情報に基づいて所定の処理を
実行し,実行した処理結果を上位モジュールに出力する
命令実行工程を含み,命令実行工程は,命令実行情報に
応じてプログラムモジュールに命令を出力し,プログラ
ムモジュールに対して命令実行情報に基づく処理を実行
させる工程を含むため,プログラムモジュールが既成の
ものであり,そのソースプログラムが手元にない場合で
あっても,最も自由度の大きい形態でプログラムモジュ
ールの機能を拡張・変更することができる。
According to the method of extending the function of a dynamically linkable program module according to the present invention (claim 31), the link is performed at the time of execution of a higher-level module such as an operating system or an application program, and the higher-level module is linked. In a method for expanding a function of a dynamically linkable program module for inputting an instruction and executing a process according to the input instruction, at least one instruction execution information such as a routine that can be specified from a higher-level module and has no program module is provided. Are prepared,
When an instruction specifying instruction execution information is input from the upper module, a predetermined process is executed based on the corresponding instruction execution information, and an instruction execution step of outputting the executed processing result to the upper module is included. Including the step of outputting instructions to the program module according to the instruction execution information and causing the program module to execute processing based on the instruction execution information, so that the program module is already available and the source program is not available Even in this case, the function of the program module can be extended and changed in a form having the greatest degree of freedom.

【0271】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法を適用した色変換処
理方法(請求項32)によれば,請求項29〜31のい
ずれか一つに記載の動的にリンク可能なプログラムモジ
ュールの機能拡張方法を適用した色変換処理方法であっ
て,上位モジュールが,カラー画像出力装置に対する描
画処理を制御する描画制御手段であり,プログラムモジ
ュールが,描画制御手段から所定のカラー・マッチング
方法の属性情報が付加された任意のオブジェクトの描画
命令およびオブジェクトの描画色を示す描画色情報を入
力すると,描画命令をカラー画像出力装置に固有の描画
命令に変換すると共に,描画色情報に属性情報に応じた
カラー・マッチング処理を施した後,描画命令およびカ
ラー・マッチング後の描画色情報をカラー画像出力装置
に出力する色変換手段である場合の色変換処理方法にお
いて,描画制御手段から描画命令および描画色情報を入
力し,入力した描画命令に基づいて,描画対象のオブジ
ェクトの種類を判定する種類判定工程と,種類判定工程
の判定結果に基づいて,オブジェクトの種類毎に用意さ
れたそれぞれ異なるカラー・マッチング方法の属性情報
から該当する属性情報を選択し,描画命令に付加されて
いる属性情報を選択した属性情報に置き換えて,描画命
令および描画色情報を色変換手段に出力する属性情報置
換工程と,を含むことにより,属性情報置換手段で置換
された属性情報に基づいて,色変換手段で描画色情報に
カラー・マッチング処理が施されるため,カラーマッチ
ングには対応しているが,描画対象となるオブジェクト
の種類を判別することができない色変換手段(プリンタ
・ドライバ)を利用しつつ,オブジェクトの種類に応じ
た適切なカラー・マッチング処理を実行することができ
る。
According to a color conversion processing method to which the method of extending the function of a dynamically linkable program module according to the present invention is applied (claim 32), the color conversion processing method according to any one of claims 29 to 31 is provided. A color conversion processing method to which a function expansion method of a dynamically linkable program module is applied, wherein a higher-level module is a drawing control unit for controlling a drawing process for a color image output device, and the program module is a drawing control unit. When a drawing instruction of an arbitrary object to which attribute information of a predetermined color matching method is added and drawing color information indicating a drawing color of an object are input from the user, the drawing instruction is converted into a drawing instruction specific to the color image output device. After applying color matching processing according to attribute information to drawing color information, drawing instruction and color matching In the color conversion processing method in which the color conversion means outputs the drawing color information to the color image output device, a drawing instruction and drawing color information are input from the drawing control means, and the drawing target is determined based on the input drawing instruction. A type determining step of determining the type of the object; and, based on the determination result of the type determining step, selecting the corresponding attribute information from the attribute information of the different color matching methods prepared for each type of the object. Replacing the attached attribute information with the selected attribute information and outputting a drawing command and drawing color information to the color conversion means. Color matching is performed on the drawing color information by the color conversion means based on the Made while using the color conversion means can not determine the type of object (printer driver) can perform a proper color matching process according to the type of object.

【0272】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法を適用した色変換処
理方法(請求項33)によれば,請求項29〜31のい
ずれか一つに記載の動的にリンク可能なプログラムモジ
ュールの機能拡張方法を適用した色変換処理方法であっ
て,上位モジュールが,カラー画像出力装置に対する描
画処理を制御する描画制御手段であり,プログラムモジ
ュールが,描画制御手段から任意のオブジェクトの描画
命令およびオブジェクトの描画色を示す描画色情報を入
力し,入力した描画命令をカラー画像出力装置に固有の
描画命令に変換して,描画色情報と共にカラー画像出力
装置に出力するカラー・マッチング処理に未対応の描画
命令変換手段である場合の色変換処理方法において,描
画制御手段から所定のカラー・マッチング方法の属性情
報が付加された任意のオブジェクトの描画命令およびオ
ブジェクトの描画色を示す描画色情報を入力し,入力し
た描画命令に基づいて,描画対象のオブジェクトの種類
を判定する種類判定工程と,種類判定工程の判定結果に
基づいて,オブジェクトの種類毎に用意されたそれぞれ
異なるカラー・マッチング方法を示す複数の属性情報か
ら該当する属性情報を選択する選択工程と,選択工程で
選択された属性情報に基づいて,入力した描画色情報に
カラー・マッチング処理を施す色変換工程と,入力した
描画命令に基づいて,描画命令変換手段に新たな描画命
令と共にカラー・マッチング処理後の描画色情報を出力
する出力工程と,を含むことにより,出力工程で出力さ
れた描画命令および描画色情報を用いて,描画命令変換
手段で描画命令がカラー画像出力装置に固有の描画命令
に変換され,描画色情報と共にカラー画像出力装置に出
力されるため,カラーマッチングに対応していない描画
命令変換手段(プリンタ・ドライバ)を利用しつつ,オ
ブジェクトの種類に応じた適切なカラー・マッチング処
理を実行することができる。
According to a color conversion processing method to which the method of extending the function of a dynamically linkable program module according to the present invention is applied (claim 33), the color conversion processing method according to any one of claims 29 to 31 is provided. A color conversion processing method to which a function expansion method of a dynamically linkable program module is applied, wherein a higher-level module is a drawing control unit for controlling a drawing process for a color image output device, and the program module is a drawing control unit. Input drawing command of an arbitrary object and drawing color information indicating the drawing color of the object from, convert the input drawing command into a drawing command specific to the color image output device, and output the drawing command together with the drawing color information to the color image output device. In the color conversion processing method when the rendering command conversion means does not support the color matching processing to be performed, Inputting a drawing instruction of an arbitrary object to which attribute information of the color matching method is added and drawing color information indicating a drawing color of the object, and determining a type of an object to be drawn based on the input drawing instruction A determination step, a selection step of selecting corresponding attribute information from a plurality of pieces of attribute information indicating different color matching methods prepared for each type of object based on a determination result of the type determination step, and a selection step. A color conversion step of performing a color matching process on the input drawing color information based on the input attribute information, and drawing after the color matching process together with a new drawing command to the drawing command conversion means based on the input drawing command. And an output step of outputting color information, so that the drawing command and the drawing color information output in the output step can be used. The drawing command conversion means converts the drawing command into a drawing command unique to the color image output device, and outputs the drawing command together with the drawing color information to the color image output device. (Driver) while executing appropriate color matching processing according to the type of object.

【0273】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法を適用した色変換処
理方法(請求項34)によれば,請求項32または33
に記載の動的にリンク可能なプログラムモジュールの機
能拡張方法を適用した色変換処理方法において,さら
に,予め設定された情報に基づいて,オブジェクトの種
類に応じた複数の属性情報を生成した後,生成した複数
の属性情報を保持する工程を含むため,最も簡単な処理
で複数の属性情報を用意することができ,オブジェクト
の種類に応じた適切なカラー・マッチング処理を実行す
ることができる。
Further, according to the color conversion processing method to which the method of extending the function of the dynamically linkable program module according to the present invention is applied (claim 34),
In the color conversion processing method to which the function expansion method of the dynamically linkable program module described in (1) is applied, furthermore, after generating a plurality of attribute information according to the type of the object based on preset information, Since the method includes a step of holding the generated plurality of pieces of attribute information, the plurality of pieces of attribute information can be prepared by the simplest processing, and appropriate color matching processing according to the type of the object can be performed.

【0274】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法を適用した色変換処
理方法(請求項35)によれば,請求項32〜34のい
ずれか一つに記載の動的にリンク可能なプログラムモジ
ュールの機能拡張方法を適用した色変換処理方法におい
て,オブジェクトの種類は,ビットマップ画像,文字お
よびその他のグラフィック画像の3種類であるため,描
画命令の命令によるオブジェクトの種類の判定の容易化
を図ることができる。
According to the color conversion processing method (claim 35) to which the function expansion method of the dynamically linkable program module according to the present invention is applied, any one of claims 32-34. In the color conversion processing method to which the function expansion method of the dynamically linkable program module is applied, there are three types of objects: bitmap images, characters, and other graphic images. It is possible to easily determine the type.

【0275】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法を適用した色変換処
理方法(請求項36)によれば,請求項35記載の動的
にリンク可能なプログラムモジュールの機能拡張方法を
適用した色変換処理方法において,種類判定工程は,描
画対象のオブジェクトが文字であると判定した場合に,
該当する描画色情報にカラー・マッチング処理が施され
ないようにするため,文字について,カラー・マッチン
グよりも濃さ・鮮やかさを優先するユーザに対し,その
要望を満足させることができるカラー・マッチング処理
が可能となる。
According to a color conversion processing method to which the method of extending the function of a dynamically linkable program module according to the present invention is applied (claim 36), the dynamically linkable program module according to claim 35 is provided. In the color conversion processing method to which the function expansion method of the above is applied, in the type determination step, when it is determined that the object to be drawn is a character,
A color matching process that satisfies the needs of users who prioritize darkness and vividness over color matching for characters so that color matching processing is not performed on the corresponding drawing color information. Becomes possible.

【0276】また,本発明に係る動的にリンク可能なプ
ログラムモジュールの機能拡張方法を適用した色変換処
理方法(請求項37)によれば,請求項36記載の動的
にリンク可能なプログラムモジュールの機能拡張方法を
適用した色変換処理方法において,種類判定工程は,描
画対象のオブジェクトが文字であると判定した場合に,
さらに,文字の色がシアン,マゼンタ,イエロー,ブラ
ック,レッド,グリーン,ブルーおよびホワイトのいず
れかに該当するかを判定し,文字の色が各色のいずれか
に該当すると判定した場合に,該当する描画色情報にカ
ラー・マッチング処理が施されないようにするため,色
の不連続性を回避し,カラー・マッチングの誤差を抑え
た上で,オブジェクト毎に適切なカラー・マッチング処
理が可能となる。
According to the color conversion processing method to which the method of extending the function of a dynamically linkable program module according to the present invention is applied (claim 37), the dynamically linkable program module according to claim 36 is provided. In the color conversion processing method to which the function expansion method of the above is applied, in the type determination step, when it is determined that the object to be drawn is a character,
Furthermore, it is determined whether the color of the character corresponds to any of cyan, magenta, yellow, black, red, green, blue, and white. In order to prevent the color matching processing from being performed on the drawing color information, it is possible to avoid the color discontinuity, suppress the error of the color matching, and perform the appropriate color matching processing for each object.

【0277】また,本発明に係るコンピュータ読み取り
可能な記録媒体(請求項38)によれば,請求項18〜
28のいずれか一つに記載の色変換処理方法をコンピュ
ータに実行させるプログラムを記録したため,これをコ
ンピュータに実行させることにより,カラー・マッチン
グ方法が指定されていないカラー・イメージ情報であっ
ても,個々のオブジェクト毎に適切なカラー・マッチン
グ処理を実行することができ,カラー・イメージ情報を
高画質に出力することができ,また,オブジェクトの属
性を使ってカラー・マッチングを制御するシステムにお
いて,オブジェクトにカラー・マッチング方法の属性が
指定されていない場合であっても,容易にオブジェクト
毎のカラー・マッチング処理を実行することができる。
According to the computer-readable recording medium of the present invention (claim 38), claims 18 to
28, a program for causing a computer to execute the color conversion processing method described in any one of 28 is recorded. By causing the computer to execute the program, even if color image information for which a color matching method is not specified, Appropriate color matching processing can be performed for each object, color image information can be output with high image quality, and in a system that controls color matching using object attributes, Even if the attribute of the color matching method is not specified in, the color matching processing for each object can be easily executed.

【0278】また,本発明に係るコンピュータ読み取り
可能な記録媒体(請求項39)によれば,請求項29〜
31のいずれか一つに記載の動的にリンク可能なプログ
ラムモジュールの機能拡張方法をコンピュータに実行さ
せるプログラムを記録したため,これをコンピュータに
実行させることにより,プログラムモジュールが既成の
ものであり,そのソースプログラムが手元にない場合で
あっても,プログラムモジュールの機能を拡張・変更す
ることができる。
According to the computer-readable recording medium of the present invention (Claim 39), Claims 29 to
31 has recorded a program for causing a computer to execute the method for dynamically expanding the function of a dynamically linkable program module described in any one of the items 31. By executing the program on a computer, the program module is a ready-made program module. Even if the source program is not at hand, the functions of the program module can be extended and changed.

【0279】さらに,本発明に係るコンピュータ読み取
り可能な記録媒体(請求項40)によれば,請求項32
〜37のいずれか一つに記載の動的にリンク可能なプロ
グラムモジュールの機能拡張方法を適用した色変換処理
方法をコンピュータに実行させるプログラムを記録した
ため,これをコンピュータに実行させることにより,カ
ラーマッチングには対応しているが,描画対象となるオ
ブジェクトの種類を判別することができない色変換手段
(プリンタ・ドライバ)を利用しつつ,オブジェクトの
種類に応じた適切なカラー・マッチング処理を実行する
ことができ,また,カラーマッチングに対応していない
描画命令変換手段(プリンタ・ドライバ)を利用しつ
つ,オブジェクトの種類に応じた適切なカラー・マッチ
ング処理を実行することができる。
Furthermore, according to the computer-readable recording medium of the present invention (claim 40), claim 32
37, a program for causing a computer to execute a color conversion processing method to which the method of extending a function of a dynamically linkable program module described in any one of the above-described embodiments is applied. , But using color conversion means (printer driver) that cannot determine the type of object to be rendered, and performing appropriate color matching processing according to the type of object In addition, it is possible to execute appropriate color matching processing according to the type of the object while using a drawing command conversion unit (printer driver) that does not support color matching.

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

【図1】実施の形態1に係る色変換処理装置の概略構成
を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a color conversion processing device according to a first embodiment.

【図2】図1に示すプリンタ・ドライバの概略構成を示
すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of the printer driver shown in FIG.

【図3】図1に示すプリンタ出力用データ生成部の動作
を説明する説明図である。
FIG. 3 is an explanatory diagram illustrating an operation of a printer output data generation unit illustrated in FIG. 1;

【図4】種々の図形が含まれたカラー・イメージの一例
を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a color image including various graphics.

【図5】実施の形態1に係るカラー画像変換装置の動作
手順を示すフローチャートである。
FIG. 5 is a flowchart showing an operation procedure of the color image conversion apparatus according to the first embodiment.

【図6】オブジェクトがビットマップ画像である場合,
プリンタが再現できない色を色相と明度一定でマッピン
グする方法を示す説明図である。
FIG. 6 shows a case where an object is a bitmap image.
FIG. 4 is an explanatory diagram illustrating a method of mapping colors that cannot be reproduced by a printer with constant hue and brightness.

【図7】オブジェクトが単色のフォントや線画である場
合,プリンタが再現できない色を最も色差の小さい色に
マッピングする方法を示す説明図である。
FIG. 7 is an explanatory diagram showing a method of mapping a color that cannot be reproduced by a printer to a color having the smallest color difference when an object is a monochromatic font or a line drawing.

【図8】実施の形態1に係る色変換処理装置の変形例を
示すブロック図である。
FIG. 8 is a block diagram showing a modification of the color conversion processing device according to the first embodiment.

【図9】実施の形態2に係る色変換処理装置の概略構成
を示すブロック図である。
FIG. 9 is a block diagram illustrating a schematic configuration of a color conversion processing device according to a second embodiment.

【図10】図1に示すプリンタ・ドライバの概略構成を
示すブロック図である。
FIG. 10 is a block diagram showing a schematic configuration of the printer driver shown in FIG.

【図11】実施の形態2に係るカラー画像変換装置の動
作手順を示すフローチャートである。
FIG. 11 is a flowchart showing an operation procedure of the color image conversion device according to the second embodiment.

【図12】実施の形態2に係る色変換処理装置の変形例
を示すブロック図である。
FIG. 12 is a block diagram showing a modification of the color conversion processing device according to the second embodiment.

【図13】実施の形態3に係る動的にリンク可能なプロ
グラムモジュールの拡張方法を説明するための説明図で
ある。
FIG. 13 is an explanatory diagram for explaining a method of expanding a dynamically linkable program module according to the third embodiment.

【図14】実施の形態3に係る動的にリンク可能なプロ
グラムモジュールの拡張方法を説明するための説明図で
ある。
FIG. 14 is an explanatory diagram for explaining a method of expanding a dynamically linkable program module according to the third embodiment.

【図15】実施の形態3に係る動的にリンク可能なプロ
グラムモジュールの拡張方法の第1の例を説明する説明
図である。
FIG. 15 is an explanatory diagram illustrating a first example of a method for expanding a dynamically linkable program module according to the third embodiment.

【図16】実施の形態3に係る動的にリンク可能なプロ
グラムモジュールの拡張方法の第1の例を説明する概略
フローチャートである。
FIG. 16 is a schematic flowchart illustrating a first example of a method of expanding a dynamically linkable program module according to the third embodiment.

【図17】実施の形態3に係る動的にリンク可能なプロ
グラムモジュールの拡張方法の第2の例を説明する説明
図である。
FIG. 17 is an explanatory diagram illustrating a second example of the method of extending a dynamically linkable program module according to the third embodiment.

【図18】実施の形態3に係る動的にリンク可能なプロ
グラムモジュールの拡張方法の第2の例を説明する概略
フローチャートである。
FIG. 18 is a schematic flowchart illustrating a second example of the method of extending a dynamically linkable program module according to the third embodiment.

【図19】実施の形態3に係る動的にリンク可能なプロ
グラムモジュールの拡張方法の第3の例を説明する説明
図である。
FIG. 19 is an explanatory diagram illustrating a third example of the method of extending a dynamically linkable program module according to the third embodiment.

【図20】実施の形態3に係る動的にリンク可能なプロ
グラムモジュールの拡張方法の第3の例を説明する概略
フローチャートである。
FIG. 20 is a schematic flowchart illustrating a third example of the method of extending a dynamically linkable program module according to the third embodiment;

【図21】実施の形態4に係る色変換処理装置におい
て,カラー・マッチングの有無を指定するための設定画
面の一例を示す説明図である。
FIG. 21 is an explanatory diagram showing an example of a setting screen for designating the presence or absence of color matching in the color conversion processing device according to the fourth embodiment.

【図22】実施の形態4に係る色変換処理装置におい
て,カラー・マッチングの方法を指定するための設定画
面の一例を示す説明図である。
FIG. 22 is an explanatory diagram showing an example of a setting screen for designating a color matching method in the color conversion processing device according to the fourth embodiment.

【図23】実施の形態4に係る色変換処理装置のブロッ
ク構成図である。
FIG. 23 is a block diagram of a color conversion processing device according to a fourth embodiment.

【図24】実施の形態4に係る色変換処理方法におい
て,ドライバ初期化時の処理手順を示すフローチャート
である。
FIG. 24 is a flowchart showing a processing procedure at the time of driver initialization in the color conversion processing method according to the fourth embodiment.

【図25】実施の形態4に係る色変換処理方法におい
て,拡張プリンタ・ドライバによる描画命令発行手順を
示すフローチャートである。
FIG. 25 is a flowchart showing a drawing command issuing procedure by an extended printer driver in the color conversion processing method according to the fourth embodiment.

【図26】DDI関数を分類することにより,その機能
を説明するための説明図である。
FIG. 26 is an explanatory diagram for explaining functions of DDI functions by classifying the functions;

【図27】実施の形態4における第1の変形例の処理手
順を示すフローチャートである。
FIG. 27 is a flowchart showing a processing procedure of a first modification of the fourth embodiment.

【図28】実施の形態4における第2の変形例の処理手
順を示すフローチャートである。
FIG. 28 is a flowchart showing a processing procedure of a second modified example in the fourth embodiment.

【図29】実施の形態5に係る色変換処理装置のブロッ
ク構成図である。
FIG. 29 is a block diagram of a color conversion processing device according to a fifth embodiment.

【図30】実施の形態5に係る色変換処理方法におい
て,ドライバ初期化時の処理手順を示すフローチャート
である。
FIG. 30 is a flowchart showing a processing procedure at the time of driver initialization in the color conversion processing method according to the fifth embodiment.

【図31】実施の形態5に係る色変換処理方法におい
て,オブジェクトの種類の判定処理,色変換処理および
描画命令発行処理の手順を示すフローチャートである。
FIG. 31 is a flowchart illustrating a procedure of an object type determination process, a color conversion process, and a drawing command issuing process in the color conversion processing method according to the fifth embodiment;

【図32】本発明(実施の形態1〜5)を実現するハー
ド構成の一例を示す説明図である。
FIG. 32 is an explanatory diagram showing an example of a hardware configuration for realizing the present invention (Embodiments 1 to 5).

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

11,211,291 描画モジュール 12,210,290 アプリケーション 13,91,213,296 プリンタ・ドライバ 14,217,297 プリンタ 21 描画命令変換部 22,93 プリンタ出力用データ生成部 23,94 カラー・マッチングモジュール 24〜26,95〜97,214,293 色変換
エンジン 27,98 デバイス・プロファイル 41 カラー・イメージ 42 自然画像(ビットマップ画像) 43 フォント 44 線画 45 単色の塗りつぶしパターン 92 CMM属性設定部 130 上位モジュール 150 DLL 151,170,190 拡張DLL 212,292 拡張プリンタ・ドライバ 215,294 モニタプロファイル 216,295 プリンタプロファイル
11, 211, 291 Drawing module 12, 210, 290 Application 13, 91, 213, 296 Printer driver 14, 217, 297 Printer 21 Drawing command converter 22, 93 Printer output data generator 23, 94 Color matching module 24 to 26, 95 to 97, 214, 293 Color conversion engine 27, 98 Device profile 41 Color image 42 Natural image (bitmap image) 43 Font 44 Line drawing 45 Monochromatic fill pattern 92 CMM attribute setting unit 130 Upper module 150 DLL 151, 170, 190 Extended DLL 212, 292 Extended Printer Driver 215, 294 Monitor Profile 216, 295 Printer Profile

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 1/46 G06F 15/66 310 H04N 1/46 Z (72)発明者 矢野 隆則 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 (54)【発明の名称】 色変換処理装置およびその方法,動的にリンク可能なプログラムモジュールの拡張方法およびそ れを適用した色変換処理方法並びにそれらの方法をコンピュータに実行させるプログラムを記録 したコンピュータ読み取り可能な記録媒体──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification symbol FI H04N 1/46 G06F 15/66 310 H04N 1/46 Z (72) Inventor Takanori Yano 1-3-6 Nakamagome, Ota-ku, Tokyo No. Ricoh Co., Ltd. (54) [Title of the Invention] Color conversion processing device and method, dynamically linkable program module expansion method, color conversion processing method to which it is applied, and execution of those methods on computer Computer-readable recording medium recording a program to be executed

Claims (40)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1つのオブジェクトを含むカ
ラー・イメージ情報を入力し,前記入力したカラー・イ
メージ情報にカラー・マッチング処理を施してカラー画
像出力装置に対して送信する送信データに変換する色変
換手段を備えた色変換処理装置において,前記入力した
カラー・イメージ情報にカラー・マッチング方法の指定
があるか否かを判定する判定手段と,前記カラー・マッ
チング方法の指定がない場合,前記カラー・イメージ情
報中に存在する個々のオブジェクトの種類を判定する種
類判定手段と,前記判定したオブジェクトの種類を入力
し,予め用意したオブジェクトの種類とカラー・マッチ
ング方法との対応関係情報から,前記判定したオブジェ
クトの種類に対応したカラー・マッチング方法を選択す
る選択手段と,を備え,前記色変換手段が,前記選択手
段で選択したカラー・マッチング方法を用いて前記オブ
ジェクト毎のカラー・マッチング処理を実行することを
特徴とする色変換処理装置。
1. Color conversion for inputting color image information including at least one object, performing color matching processing on the input color image information, and converting the input color image information into transmission data to be transmitted to a color image output device. Means for judging whether or not the input color image information has a color matching method specified therein, and if the color matching method has not been specified, the color conversion processing apparatus comprises: Type determining means for determining the type of each object present in the image information, and inputting the determined type of the object, and performing the determination based on correspondence information between the type of the object prepared in advance and the color matching method. Selection means for selecting a color matching method corresponding to the type of object. A color conversion processing apparatus, wherein the color conversion means executes a color matching process for each object using a color matching method selected by the selection means.
【請求項2】 請求項1記載の色変換処理装置におい
て,前記カラー・イメージ情報がデバイス依存の色信号
による描画命令である場合,前記選択手段が,前記デバ
イス依存の色信号による描画命令をデバイス独立の色信
号による描画命令に変換できるように,色空間を設定し
て描画命令を再構築し,前記色変換手段が,前記選択手
段で再構築した描画命令を入力し,前記デバイス依存の
描画命令をデバイス独立の描画命令に変換した後,前記
デバイス独立の描画命令をカラー画像出力装置に対して
送信する送信データに変換することを特徴とする色変換
処理装置。
2. The color conversion processing device according to claim 1, wherein, if the color image information is a drawing command based on a device-dependent color signal, the selection unit transmits the drawing command based on the device-dependent color signal to the device. A color space is set and the drawing command is reconstructed so that the drawing command can be converted into a drawing command using an independent color signal. The color conversion means inputs the drawing command reconstructed by the selection means and outputs the device-dependent drawing command. A color conversion processing apparatus comprising: converting a command into a device-independent drawing command; and converting the device-independent drawing command into transmission data to be transmitted to a color image output device.
【請求項3】 請求項2記載の色変換処理装置におい
て,前記選択手段が,ビットマップ画像の描画命令中に
階調保存型のカラー・マッチング処理の実行を指定する
ことを特徴とする色変換処理装置。
3. The color conversion processing device according to claim 2, wherein said selection means designates execution of a tone-conserving type color matching process in a bitmap image drawing command. Processing equipment.
【請求項4】 請求項2記載の色変換処理装置におい
て,前記選択手段が,ビットマップ画像以外の描画命令
の再構築を行わないことを特徴とする色変換処理装置。
4. The color conversion processing device according to claim 2, wherein said selection means does not reconstruct a drawing command other than a bitmap image.
【請求項5】 請求項2記載の色変換処理装置におい
て,前記選択手段が,単色のオブジェクトの描画命令中
に彩度保存型のカラー・マッチング処理の実行を指定す
ることを特徴とする色変換処理装置。
5. A color conversion apparatus according to claim 2, wherein said selection means designates execution of a saturation-conserving type color matching process in a rendering command of a single-color object. Processing equipment.
【請求項6】 請求項2記載の色変換処理装置におい
て,前記選択手段が,複数の色を含む所定のパターンの
描画命令中に彩度保存型と階調保存型の中間のカラー・
マッチング処理の実行を指定することを特徴とする色変
換処理装置。
6. The color conversion processing device according to claim 2, wherein said selection means includes a color / color conversion intermediate between a saturation preserving type and a gradation preserving type in a drawing command of a predetermined pattern including a plurality of colors.
A color conversion processing device for designating execution of a matching process.
【請求項7】 少なくとも1つのオブジェクトを含むカ
ラー・イメージ情報を入力し,前記入力したカラー・イ
メージ情報にカラー・マッチング処理を施してカラー画
像出力装置に対して送信する送信データに変換する色変
換手段を備えた色変換処理装置において,前記入力した
カラー・イメージ情報中に存在する個々のオブジェクト
にカラー・マッチング方法の属性の指定があるか否かを
判定する判定手段と,前記オブジェクトに前記カラー・
マッチング方法の属性の指定がない場合,前記オブジェ
クトの種類を判定する種類判定手段と,前記判定したオ
ブジェクトの種類を入力し,予め用意したオブジェクト
の種類とカラー・マッチング方法との対応関係情報か
ら,前記判定したオブジェクトの種類に対応したカラー
・マッチング方法を選択し,前記オブジェクトに選択し
たカラー・マッチング方法の属性情報を付加する属性情
報付加手段と,を備え,前記色変換手段が,前記属性情
報付加手段で付加したカラー・マッチング方法の属性情
報に基づいて,前記オブジェクト毎のカラー・マッチン
グ処理を実行することを特徴とする色変換処理装置。
7. Color conversion for inputting color image information including at least one object, performing color matching processing on the input color image information, and converting the input color image information into transmission data to be transmitted to a color image output device. Means for determining whether an attribute of a color matching method is designated for each object present in the input color image information, and・
If the attribute of the matching method is not specified, the type determining means for determining the type of the object and the type of the determined object are input, and the correspondence information between the previously prepared object type and the color matching method is used. Attribute information adding means for selecting a color matching method corresponding to the determined type of the object and adding attribute information of the selected color matching method to the object; A color conversion processing device for performing a color matching process for each object based on attribute information of a color matching method added by an adding unit.
【請求項8】 請求項7記載の色変換処理装置におい
て,前記オブジェクトがビットマップ画像である場合,
前記属性情報付加手段が,当該オブジェクトに対して階
調保存型のカラー・マッチング方法に対応する属性情報
を付加することを特徴とする色変換処理装置。
8. The color conversion processing device according to claim 7, wherein the object is a bitmap image.
A color conversion processing apparatus, wherein the attribute information adding means adds attribute information corresponding to a tone preserving type color matching method to the object.
【請求項9】 請求項7記載の色変換処理装置におい
て,前記オブジェクトがビットマップ画像以外である場
合,前記属性情報付加手段が,当該オブジェクトに対し
てカラー・マッチング方法の属性情報を付加しないこと
を特徴とする色変換処理装置。
9. The color conversion processing device according to claim 7, wherein when the object is other than a bitmap image, the attribute information adding unit does not add attribute information of a color matching method to the object. A color conversion processing device characterized by the above-mentioned.
【請求項10】 請求項7記載の色変換処理装置におい
て,前記オブジェクトが単色の場合,前記属性情報付加
手段が,当該オブジェクトに対して彩度保存型のカラー
・マッチング方法に対応する属性情報を付加することを
特徴とする色変換処理装置。
10. The color conversion processing device according to claim 7, wherein, when the object is a single color, the attribute information adding means transmits attribute information corresponding to a saturation-preserving color matching method to the object. A color conversion processing device characterized by adding.
【請求項11】 請求項7記載の色変換処理装置におい
て,前記オブジェクトが複数の色を含む所定のパターン
である場合,前記属性情報付加手段が,当該オブジェク
トに対して彩度保存型と階調保存型の中間のカラー・マ
ッチング方法に対応する属性情報を付加することを特徴
とする色変換処理装置。
11. The color conversion processing device according to claim 7, wherein when the object is a predetermined pattern including a plurality of colors, the attribute information adding means determines whether the object has a saturation preserving type and a gradation. A color conversion processing device, wherein attribute information corresponding to a storage type intermediate color matching method is added.
【請求項12】 カラー画像出力装置に対する描画処理
を制御する描画制御手段から所定のカラー・マッチング
方法の属性情報が付加された任意のオブジェクトの描画
命令および前記オブジェクトの描画色を示す描画色情報
を入力すると,前記描画命令をカラー画像出力装置に固
有の描画命令に変換すると共に,前記描画色情報に前記
属性情報に応じたカラー・マッチング処理を施した後,
前記描画命令およびカラー・マッチング後の描画色情報
を前記カラー画像出力装置に出力する色変換手段を備え
た色変換処理装置において,前記入力した描画命令に基
づいて,描画対象のオブジェクトの種類を判定する種類
判定手段と,オブジェクトの種類毎に用意されたカラー
・マッチング方法の属性情報を複数保持し,前記種類判
定手段の判定結果に基づいて,前記複数の属性情報から
該当する属性情報を選択し,前記描画命令に付加されて
いる属性情報を前記選択した属性情報に置き換えて,前
記描画命令および描画色情報を前記色変換手段に出力す
る属性情報置換手段と,を備え,前記色変換手段は,前
記属性情報置換手段で置換された属性情報に基づいて,
前記描画色情報にカラー・マッチング処理を施すことを
特徴とする色変換処理装置。
12. A drawing control unit for controlling a drawing process for a color image output device, a drawing command of an arbitrary object to which attribute information of a predetermined color matching method is added, and drawing color information indicating a drawing color of the object. When input, the rendering command is converted into a rendering command unique to the color image output device, and after performing a color matching process on the rendering color information according to the attribute information,
In a color conversion processing device having a color conversion unit for outputting the drawing command and drawing color information after color matching to the color image output device, a type of an object to be drawn is determined based on the input drawing command. A plurality of attribute information of a color matching method prepared for each type of object, and selecting corresponding attribute information from the plurality of attribute information based on a determination result of the type determining means. And attribute information replacement means for replacing the attribute information added to the drawing command with the selected attribute information and outputting the drawing command and the drawing color information to the color conversion means. , Based on the attribute information replaced by the attribute information replacing means,
A color conversion processing device that performs a color matching process on the drawing color information.
【請求項13】 カラー画像出力装置に対する描画処理
を制御する描画制御手段から任意のオブジェクトの描画
命令および前記オブジェクトの描画色を示す描画色情報
を入力し,入力した描画命令をカラー画像出力装置に固
有の描画命令に変換して,前記描画色情報と共に前記カ
ラー画像出力装置に出力するカラー・マッチング処理に
未対応の描画命令変換手段を備えた色変換処理装置であ
って,前記描画制御手段から所定のカラー・マッチング
方法の属性情報が付加された任意のオブジェクトの描画
命令および前記オブジェクトの描画色を示す描画色情報
を入力し,入力した描画命令に基づいて,描画対象のオ
ブジェクトの種類を判定する種類判定手段と,オブジェ
クトの種類毎に用意されたカラー・マッチング方法の属
性情報を複数保持し,前記種類判定手段の判定結果に基
づいて,前記複数の属性情報から該当する属性情報を選
択する選択手段と,前記選択手段で選択された属性情報
に基づいて,前記入力した描画色情報にカラー・マッチ
ング処理を施す色変換手段と,前記入力した描画命令に
基づいて,前記描画命令変換手段に新たな描画命令と共
にカラー・マッチング処理後の描画色情報を出力する出
力手段と,を備え,前記描画命令変換手段は,前記出力
手段から描画命令および描画色情報を入力し,入力した
描画命令をカラー画像出力装置に固有の描画命令に変換
して,前記描画色情報と共に前記カラー画像出力装置に
出力することを特徴とする色変換処理装置。
13. A drawing command for an arbitrary object and drawing color information indicating a drawing color of the object are input from drawing control means for controlling a drawing process for the color image output device, and the input drawing command is sent to the color image output device. A color conversion processing apparatus comprising: a rendering command conversion unit that does not support a color matching process that is converted into a unique rendering command and output to the color image output device together with the rendering color information. A drawing instruction of an arbitrary object to which attribute information of a predetermined color matching method is added and drawing color information indicating a drawing color of the object are input, and a type of an object to be drawn is determined based on the input drawing instruction. And a plurality of attribute information of color matching methods prepared for each type of object. Selecting means for selecting corresponding attribute information from the plurality of pieces of attribute information based on the determination result of the type determining means; and color-coding the input drawing color information based on the attribute information selected by the selecting means. -Color conversion means for performing matching processing; and output means for outputting drawing color information after color matching processing together with a new drawing command to the drawing command conversion means based on the input drawing command, The drawing command conversion means receives a drawing command and drawing color information from the output means, converts the input drawing command into a drawing command unique to the color image output device, and sends the drawing command together with the drawing color information to the color image output device. A color conversion processing device for outputting.
【請求項14】 請求項12または13に記載の色変換
処理装置において,さらに,予め設定された情報に基づ
いて,前記色変換手段に前記複数の属性情報の生成を要
求し,前記色変換手段で生成された複数の属性情報を入
力して保持する保持手段を備えることを特徴とする色変
換処理装置。
14. The color conversion processing device according to claim 12, further comprising: requesting the color conversion unit to generate the plurality of pieces of attribute information based on preset information. A color conversion processing device, comprising: a holding unit that inputs and holds a plurality of pieces of attribute information generated in (1).
【請求項15】 請求項12〜14のいずれか一つに記
載の色変換処理装置において,前記オブジェクトの種類
は,ビットマップ画像,文字およびその他のグラフィッ
ク画像の3種類であることを特徴とする色変換処理装
置。
15. The color conversion processing device according to claim 12, wherein the types of the objects are three types of bitmap images, characters, and other graphic images. Color conversion processing device.
【請求項16】 請求項15記載の色変換処理装置にお
いて,前記種類判定手段は,描画対象のオブジェクトが
文字であると判定した場合に,該当する描画色情報にカ
ラー・マッチング処理が施されないようにすることを特
徴とする色変換処理装置。
16. The color conversion processing device according to claim 15, wherein the type determination means does not perform color matching processing on the corresponding drawing color information when determining that the drawing target object is a character. A color conversion processing device.
【請求項17】 請求項16記載の色変換処理装置にお
いて,前記種類判定手段は,描画対象のオブジェクトが
文字であると判定した場合に,さらに,前記文字の色が
シアン,マゼンタ,イエロー,ブラック,レッド,グリ
ーン,ブルーおよびホワイトのいずれかに該当するかを
判定し,前記文字の色が前記各色のいずれかに該当する
と判定した場合に,該当する描画色情報にカラー・マッ
チング処理が施されないようにすることを特徴とする色
変換処理装置。
17. The color conversion processing device according to claim 16, wherein said type determining means further determines that the color of the character is cyan, magenta, yellow, black when the object to be drawn is determined to be a character. , Red, green, blue or white, and if it is determined that the color of the character corresponds to any of the above colors, no color matching processing is performed on the corresponding drawing color information. A color conversion processing device.
【請求項18】 少なくとも1つのオブジェクトを含む
カラー・イメージ情報を入力する入力ステップと,前記
入力したカラー・イメージ情報にカラー・マッチング処
理を施してカラー画像出力装置に対して送信する送信デ
ータに変換する色変換ステップと,を有する色変換処理
方法において,前記入力したカラー・イメージ情報にカ
ラー・マッチング方法の指定があるか否かを判定する判
定ステップと,前記カラー・マッチング方法の指定がな
い場合,前記カラー・イメージ情報中に存在する個々の
オブジェクトの種類を判定する種類判定ステップと,前
記判定したオブジェクトの種類を入力し,予め用意した
オブジェクトの種類とカラー・マッチング方法との対応
関係情報から,前記判定したオブジェクトの種類に対応
したカラー・マッチング方法を選択する選択ステップ
と,を含み,前記色変換ステップが,前記選択ステップ
で選択したカラー・マッチング方法を用いて前記オブジ
ェクト毎のカラー・マッチング処理を実行することを特
徴とする色変換処理方法。
18. An input step of inputting color image information including at least one object, and performing color matching processing on the input color image information to convert the input color image information into transmission data to be transmitted to a color image output device. A color conversion processing method comprising the steps of: determining whether a color matching method is specified in the input color image information; and not specifying the color matching method. A type determining step of determining the type of an individual object existing in the color image information; inputting the determined type of the object; and obtaining correspondence information between a previously prepared object type and a color matching method. , Color match corresponding to the determined object type A color conversion process, wherein the color conversion process includes performing a color matching process for each of the objects using the color matching method selected in the selection step. Method.
【請求項19】 請求項18記載の色変換処理方法にお
いて,前記カラー・イメージ情報がデバイス依存の色信
号による描画命令である場合,前記選択ステップが,前
記デバイス依存の色信号による描画命令をデバイス独立
の色信号による描画命令に変換できるように,色空間を
設定して描画命令を再構築するステップを含み,前記色
変換ステップが,前記選択ステップで再構築した描画命
令を入力し,前記デバイス依存の描画命令をデバイス独
立の描画命令に変換した後,前記デバイス独立の描画命
令をカラー画像出力装置に対して送信する送信データに
変換することを特徴とする色変換処理方法。
19. The color conversion processing method according to claim 18, wherein, if the color image information is a drawing command based on a device-dependent color signal, the selecting step includes the step of transmitting the drawing command based on the device-dependent color signal to the device. Setting a color space and reconstructing the drawing command so that the drawing command can be converted into a drawing command using an independent color signal, wherein the color conversion step inputs the drawing command reconstructed in the selecting step, A color conversion processing method comprising: converting a dependent rendering command into a device-independent rendering command; and then converting the device-independent rendering command into transmission data to be transmitted to a color image output device.
【請求項20】 請求項19記載の色変換処理方法にお
いて,前記選択ステップが,ビットマップ画像の描画命
令中に階調保存型のカラー・マッチング処理の実行を指
定することを特徴とするる色変換処理方法。
20. A color conversion method according to claim 19, wherein said selecting step designates execution of a tone preserving type color matching process in a bitmap image drawing command. Conversion processing method.
【請求項21】 請求項19記載の色変換処理方法にお
いて,前記選択ステップが,ビットマップ画像以外の描
画命令の再構築を行わないことを特徴とする色変換処理
方法。
21. The color conversion processing method according to claim 19, wherein said selecting step does not reconstruct a drawing command other than a bitmap image.
【請求項22】 請求項19記載の色変換処理方法にお
いて,前記選択ステップが,単色のオブジェクトの描画
命令中に彩度保存型のカラー・マッチング処理の実行を
指定することを特徴とする色変換処理方法。
22. A color conversion method according to claim 19, wherein said selecting step designates execution of a saturation-preserving type color matching process in a rendering command of a single-color object. Processing method.
【請求項23】 請求項19記載の色変換処理方法にお
いて,前記選択ステップが,複数の色を含む所定のパタ
ーンの描画命令中に彩度保存型と階調保存型の中間のカ
ラー・マッチング処理の実行を指定することを特徴とす
る色変換処理方法。
23. A color conversion processing method according to claim 19, wherein said selecting step includes a color matching process between a saturation preserving type and a gradation preserving type in a drawing command of a predetermined pattern including a plurality of colors. A color conversion processing method, wherein execution of the color conversion is designated.
【請求項24】 少なくとも1つのオブジェクトを含む
カラー・イメージ情報を入力する入力ステップと,前記
入力したカラー・イメージ情報にカラー・マッチング処
理を施してカラー画像出力装置に対して送信する送信デ
ータに変換する色変換ステップと,を有する色変換処理
方法において,前記入力したカラー・イメージ情報中に
存在する個々のオブジェクトにカラー・マッチング方法
の属性の指定があるか否かを判定する判定ステップと,
前記オブジェクトに前記カラー・マッチング方法の属性
の指定がない場合,前記オブジェクトの種類を判定する
種類判定ステップと,前記判定したオブジェクトの種類
を入力し,予め用意したオブジェクトの種類とカラー・
マッチング方法との対応関係情報から,前記判定したオ
ブジェクトの種類に対応したカラー・マッチング方法を
選択し,前記オブジェクトに選択したカラー・マッチン
グ方法の属性情報を付加する属性情報付加ステップと,
を含み,前記色変換ステップが,前記属性情報付加ステ
ップで付加したカラー・マッチング方法の属性情報に基
づいて,前記オブジェクト毎のカラー・マッチング処理
を実行することを特徴とする色変換処理方法。
24. An inputting step of inputting color image information including at least one object, and performing a color matching process on the input color image information to convert the input color image information into transmission data to be transmitted to a color image output device. A color conversion processing method comprising: determining whether an attribute of a color matching method is specified for each object present in the input color image information;
If the attribute of the color matching method is not specified for the object, a type determining step of determining the type of the object, and inputting the determined type of the object, and inputting the type and color
An attribute information adding step of selecting a color matching method corresponding to the determined type of the object from the correspondence information with the matching method, and adding attribute information of the selected color matching method to the object;
Wherein the color conversion step performs a color matching process for each object based on the attribute information of the color matching method added in the attribute information adding step.
【請求項25】 請求項24記載の色変換処理方法にお
いて,前記オブジェクトがビットマップ画像である場
合,前記属性情報付加ステップが,当該オブジェクトに
対して階調保存型のカラー・マッチング方法に対応する
属性情報を付加することを特徴とする色変換処理方法。
25. The color conversion processing method according to claim 24, wherein, when the object is a bitmap image, the attribute information adding step corresponds to a gradation matching type color matching method for the object. A color conversion processing method characterized by adding attribute information.
【請求項26】 請求項24記載の色変換処理方法にお
いて,前記オブジェクトがビットマップ画像以外である
場合,前記属性情報付加ステップが,当該オブジェクト
に対してカラー・マッチング方法の属性情報を付加しな
いことを特徴とする色変換処理方法。
26. The color conversion processing method according to claim 24, wherein when the object is other than a bitmap image, the attribute information adding step does not add attribute information of the color matching method to the object. A color conversion processing method.
【請求項27】 請求項24記載の色変換処理方法にお
いて,前記オブジェクトが単色の場合,前記属性情報付
加ステップが,当該オブジェクトに対して彩度保存型の
カラー・マッチング方法に対応する属性情報を付加する
ことを特徴とする色変換処理方法。
27. The color conversion processing method according to claim 24, wherein, if the object is a single color, the attribute information adding step includes, for the object, attribute information corresponding to a saturation preserving type color matching method. A color conversion processing method characterized by adding.
【請求項28】 請求項24記載の色変換処理方法にお
いて,前記オブジェクトが複数の色を含む所定のパター
ンである場合,前記属性情報付加ステップが,当該オブ
ジェクトに対して彩度保存型と階調保存型の中間のカラ
ー・マッチング方法に対応する属性情報を付加すること
を特徴とする色変換処理方法。
28. The color conversion processing method according to claim 24, wherein, when the object is a predetermined pattern including a plurality of colors, the attribute information adding step includes: A color conversion processing method characterized by adding attribute information corresponding to a storage type intermediate color matching method.
【請求項29】 オペレーティング・システムやアプリ
ケーション・プログラム等の上位モジュールの実行時に
リンクされ,前記上位モジュールから命令を入力し,入
力した命令に応じた処理を実行する動的にリンク可能な
プログラムモジュールの機能拡張方法において,前記上
位モジュールから前記プログラムモジュールに出力され
た第1の命令を入力し,予め設定された条件に基づい
て,入力した第1の命令中の任意の引数を変更して第2
の命令を生成し,生成した第2の命令を前記プログラム
モジュールに出力する命令生成工程と,前記プログラム
モジュールから前記第2の命令に応じた処理結果を入力
し,入力した処理結果に基づいて,上位モジュール用の
処理結果を前記上位モジュールに出力する処理結果出力
工程と,を含むことを特徴とする動的にリンク可能なプ
ログラムモジュールの機能拡張方法。
29. A dynamically linkable program module which is linked when an upper module such as an operating system or an application program is executed, inputs an instruction from the upper module, and executes a process according to the input instruction. In the function expansion method, a first instruction output from the higher-level module to the program module is input, and an arbitrary argument in the input first instruction is changed based on a preset condition to change a second instruction.
An instruction generating step of generating the second instruction and outputting the generated second instruction to the program module; and inputting a processing result corresponding to the second instruction from the program module, based on the input processing result. A process result output step of outputting a process result for a higher-level module to the higher-level module.
【請求項30】 オペレーティング・システムやアプリ
ケーション・プログラム等の上位モジュールの実行時に
リンクされ,前記上位モジュールから命令を入力し,入
力した命令に応じた処理を実行する動的にリンク可能な
プログラムモジュールの機能拡張方法において,前記プ
ログラムモジュールが備えるルーチン等の命令実行情報
と同一名称でかつ内容の異なる命令実行情報が少なくと
も一つ用意されており,前記上位モジュールから前記命
令実行情報のいずれかを指定した命令を入力すると,該
当する命令実行情報に基づいて前記入力した命令に応じ
た処理を実行し,実行した処理結果を前記上位モジュー
ルに出力する命令実行工程を含むことを特徴とする動的
にリンク可能なプログラムモジュールの機能拡張方法。
30. A dynamically linkable program module which is linked when an upper module such as an operating system or an application program is executed, inputs an instruction from the upper module, and executes a process according to the input instruction. In the function expansion method, at least one piece of instruction execution information having the same name and different content as instruction execution information of a routine or the like included in the program module is prepared, and one of the instruction execution information is designated from the upper module. Dynamically linking when an instruction is input, the instruction execution step of executing a process corresponding to the input instruction based on the corresponding instruction execution information and outputting a result of the executed process to the upper module. How to extend the functionality of possible program modules.
【請求項31】 オペレーティング・システムやアプリ
ケーション・プログラム等の上位モジュールの実行時に
リンクされ,前記上位モジュールから命令を入力し,入
力した命令に応じた処理を実行する動的にリンク可能な
プログラムモジュールの機能拡張方法において,前記上
位モジュールから指定可能でかつ前記プログラムモジュ
ールが有しないルーチン等の命令実行情報が少なくとも
一つ用意されており,前記上位モジュールから前記命令
実行情報を指定した命令を入力すると,該当する命令実
行情報に基づいて所定の処理を実行し,実行した処理結
果を前記上位モジュールに出力する命令実行工程を含
み,前記命令実行工程は,前記命令実行情報に応じて前
記プログラムモジュールに命令を出力し,前記プログラ
ムモジュールに対して前記命令実行情報に基づく処理を
実行させる工程を含むことを特徴とする動的にリンク可
能なプログラムモジュールの機能拡張方法。
31. A dynamically linkable program module that is linked when an upper module such as an operating system or an application program is executed, receives an instruction from the upper module, and executes a process according to the input instruction. In the function expansion method, at least one piece of instruction execution information such as a routine that can be specified from the upper module and that the program module does not have is prepared, and when an instruction specifying the instruction execution information is input from the upper module, An instruction execution step of executing a predetermined process based on the corresponding instruction execution information and outputting a result of the executed process to the upper module, wherein the instruction execution step includes an instruction to the program module according to the instruction execution information. Is output to the program module A method of expanding the function of a dynamically linkable program module, comprising a step of executing a process based on the instruction execution information.
【請求項32】 前記請求項29〜31のいずれか一つ
に記載の動的にリンク可能なプログラムモジュールの機
能拡張方法を適用した色変換処理方法であって,前記上
位モジュールが,カラー画像出力装置に対する描画処理
を制御する描画制御手段であり,前記プログラムモジュ
ールが,前記描画制御手段から所定のカラー・マッチン
グ方法の属性情報が付加された任意のオブジェクトの描
画命令および前記オブジェクトの描画色を示す描画色情
報を入力すると,前記描画命令を前記カラー画像出力装
置に固有の描画命令に変換すると共に,前記描画色情報
に前記属性情報に応じたカラー・マッチング処理を施し
た後,前記描画命令およびカラー・マッチング後の描画
色情報を前記カラー画像出力装置に出力する色変換手段
である場合の色変換処理方法において,前記描画制御手
段から前記描画命令および描画色情報を入力し,入力し
た描画命令に基づいて,描画対象のオブジェクトの種類
を判定する種類判定工程と,前記種類判定工程の判定結
果に基づいて,オブジェクトの種類毎に用意されたそれ
ぞれ異なるカラー・マッチング方法の属性情報から該当
する属性情報を選択し,前記描画命令に付加されている
属性情報を前記選択した属性情報に置き換えて,前記描
画命令および描画色情報を前記色変換手段に出力する属
性情報置換工程と,を含むことにより,前記属性情報置
換手段で置換された属性情報に基づいて,前記色変換手
段で前記描画色情報にカラー・マッチング処理が施され
ることを特徴とする動的にリンク可能なプログラムモジ
ュールの機能拡張方法を適用した色変換処理方法。
32. A color conversion processing method to which the function expansion method of a dynamically linkable program module according to any one of claims 29 to 31 is applied, wherein said higher-level module outputs a color image. Drawing control means for controlling a drawing process for an apparatus, wherein the program module indicates a drawing command of an arbitrary object to which attribute information of a predetermined color matching method is added from the drawing control means and a drawing color of the object When the drawing color information is input, the drawing command is converted into a drawing command unique to the color image output device, and the drawing color information is subjected to a color matching process according to the attribute information. Color conversion when the color conversion means outputs drawing color information after color matching to the color image output device In the processing method, the drawing command and the drawing color information are input from the drawing control means, and a type determining step of determining a type of an object to be drawn based on the input drawing command; Based on the attribute information of the different color matching methods prepared for each type of object, and replacing the attribute information added to the drawing instruction with the selected attribute information. An attribute information replacement step of outputting a drawing command and drawing color information to the color conversion means, the color conversion means converting the drawing color information based on the attribute information replaced by the attribute information replacement means. A color change applying a function expansion method of a dynamically linkable program module characterized by being subjected to a color matching process. Processing method.
【請求項33】 前記請求項29〜31のいずれか一つ
に記載の動的にリンク可能なプログラムモジュールの機
能拡張方法を適用した色変換処理方法であって,前記上
位モジュールが,カラー画像出力装置に対する描画処理
を制御する描画制御手段であり,前記プログラムモジュ
ールが,前記描画制御手段から任意のオブジェクトの描
画命令および前記オブジェクトの描画色を示す描画色情
報を入力し,入力した描画命令をカラー画像出力装置に
固有の描画命令に変換して,前記描画色情報と共に前記
カラー画像出力装置に出力するカラー・マッチング処理
に未対応の描画命令変換手段である場合の色変換処理方
法において,前記描画制御手段から所定のカラー・マッ
チング方法の属性情報が付加された任意のオブジェクト
の描画命令および前記オブジェクトの描画色を示す描画
色情報を入力し,入力した描画命令に基づいて,描画対
象のオブジェクトの種類を判定する種類判定工程と,前
記種類判定工程の判定結果に基づいて,オブジェクトの
種類毎に用意されたそれぞれ異なるカラー・マッチング
方法の属性情報から該当する属性情報を選択する選択工
程と,前記選択工程で選択された属性情報に基づいて,
前記入力した描画色情報にカラー・マッチング処理を施
す色変換工程と,前記入力した描画命令に基づいて,前
記描画命令変換手段に新たな描画命令と共にカラー・マ
ッチング処理後の描画色情報を出力する出力工程と,を
含むことにより,前記出力工程で出力された描画命令お
よび描画色情報を用いて,前記描画命令変換手段で前記
描画命令がカラー画像出力装置に固有の描画命令に変換
され,前記描画色情報と共に前記カラー画像出力装置に
出力されることを特徴とする動的にリンク可能なプログ
ラムモジュールの機能拡張方法を適用した色変換処理方
法。
33. A color conversion processing method to which the function linking method of a dynamically linkable program module according to claim 29 is applied, wherein said higher-level module outputs a color image. Drawing control means for controlling drawing processing for the apparatus, wherein the program module inputs a drawing command for an arbitrary object and drawing color information indicating a drawing color of the object from the drawing control means, and converts the input drawing command into a color The color conversion processing method according to claim 1, wherein said rendering command conversion means converts the rendering command into a rendering command specific to the image output device and outputs the rendering command together with the rendering color information to the color image output device. A rendering command for an arbitrary object to which attribute information of a predetermined color matching method is added from the control unit, and Inputting drawing color information indicating the drawing color of the object, determining a type of the object to be drawn based on the input drawing command, and determining the type of the object based on the determination result of the type determining step. A selecting step of selecting the corresponding attribute information from the attribute information of the different color matching methods prepared for each, and based on the attribute information selected in the selecting step,
A color conversion step of performing a color matching process on the input drawing color information; and outputting the drawing color information after the color matching process together with a new drawing command to the drawing command conversion means based on the input drawing command. Output step, using the drawing command and the drawing color information output in the output step, the drawing command conversion means converts the drawing command into a drawing command specific to a color image output device, A color conversion processing method to which a function expansion method of a dynamically linkable program module is applied, which is output to the color image output device together with drawing color information.
【請求項34】 請求項32または33に記載の動的に
リンク可能なプログラムモジュールの機能拡張方法を適
用した色変換処理方法において,さらに,予め設定され
た情報に基づいて,前記オブジェクトの種類に応じた複
数の属性情報を生成した後,生成した複数の属性情報を
保持する工程を含むことを特徴とする動的にリンク可能
なプログラムモジュールの機能拡張方法を適用した色変
換処理方法。
34. A color conversion processing method to which the function linking method of a dynamically linkable program module according to claim 32 or 33 is applied, further comprising the step of determining the type of the object based on preset information. A color conversion processing method applying a function expansion method of a dynamically linkable program module, comprising a step of generating a plurality of pieces of attribute information corresponding to the plurality of pieces of attribute information, and holding the plurality of pieces of generated attribute information.
【請求項35】 請求項32〜34のいずれか一つに記
載の動的にリンク可能なプログラムモジュールの機能拡
張方法を適用した色変換処理方法において,前記オブジ
ェクトの種類は,ビットマップ画像,文字およびその他
のグラフィック画像の3種類であることを特徴とする動
的にリンク可能なプログラムモジュールの機能拡張方法
を適用した色変換処理方法。
35. A color conversion processing method to which the method of extending a function of a dynamically linkable program module according to claim 32 is applied, wherein the type of the object is a bitmap image, a character, And a color conversion processing method to which a function expansion method of a dynamically linkable program module, which is of three types of graphic images, is applied.
【請求項36】 請求項35記載の動的にリンク可能な
プログラムモジュールの機能拡張方法を適用した色変換
処理方法において,前記種類判定工程は,描画対象のオ
ブジェクトが文字であると判定した場合に,該当する描
画色情報にカラー・マッチング処理が施されないように
することを特徴とする動的にリンク可能なプログラムモ
ジュールの機能拡張方法を適用した色変換処理方法。
36. A color conversion processing method to which the method for dynamically expanding a function of a program module capable of dynamically linking according to claim 35 is applied, wherein the type determination step is performed when it is determined that the object to be drawn is a character. A color conversion processing method to which a function expansion method of a dynamically linkable program module is applied, wherein color matching processing is not performed on corresponding drawing color information.
【請求項37】 請求項36記載の動的にリンク可能な
プログラムモジュールの機能拡張方法を適用した色変換
処理方法において,前記種類判定工程は,描画対象のオ
ブジェクトが文字であると判定した場合に,さらに,前
記文字の色がシアン,マゼンタ,イエロー,ブラック,
レッド,グリーン,ブルーおよびホワイトのいずれかに
該当するかを判定し,前記文字の色が前記各色のいずれ
かに該当すると判定した場合に,該当する描画色情報に
カラー・マッチング処理が施されないようにすることを
特徴とする動的にリンク可能なプログラムモジュールの
機能拡張方法を適用した色変換処理方法。
37. A color conversion processing method to which the method of dynamically expanding linkable program modules according to claim 36 is applied, wherein said type determination step is performed when it is determined that the object to be drawn is a character. , And the colors of the characters are cyan, magenta, yellow, black,
It is determined whether the color corresponds to any of red, green, blue, and white. If it is determined that the color of the character corresponds to any of the colors, the color matching processing is not performed on the corresponding drawing color information. A color conversion processing method to which a function expansion method of a dynamically linkable program module is applied.
【請求項38】 前記請求項18〜28のいずれか一つ
に記載の色変換処理方法をコンピュータに実行させるプ
ログラムを記録したコンピュータ読み取り可能な記録媒
体。
38. A computer-readable recording medium recording a program for causing a computer to execute the color conversion processing method according to claim 18.
【請求項39】 前記請求項29〜31のいずれか一つ
に記載の動的にリンク可能なプログラムモジュールの機
能拡張方法をコンピュータに実行させるプログラムを記
録したコンピュータ読み取り可能な記録媒体。
39. A computer-readable recording medium recording a program for causing a computer to execute the method for dynamically expanding a function of a dynamically linkable program module according to any one of claims 29 to 31.
【請求項40】 前記請求項32〜37のいずれか一つ
に記載の動的にリンク可能なプログラムモジュールの機
能拡張方法を適用した色変換処理方法をコンピュータに
実行させるプログラムを記録したコンピュータ読み取り
可能な記録媒体。
40. A computer-readable recording medium storing a program for causing a computer to execute a color conversion processing method to which the method for extending a function of a dynamically linkable program module according to claim 32 is applied. Recording medium.
JP9083172A 1996-09-30 1997-04-01 Color conversion processing unit, its method, extension method for program module linked dynamically, color conversion processing method adopting the method, and recording medium read by computer and recording program to allow the computer to execute the method Pending JPH10155094A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP9083172A JPH10155094A (en) 1996-09-30 1997-04-01 Color conversion processing unit, its method, extension method for program module linked dynamically, color conversion processing method adopting the method, and recording medium read by computer and recording program to allow the computer to execute the method
US09/050,908 US6226011B1 (en) 1997-04-01 1998-03-31 Color conversion method for a color matching, a method for expanding a function of a program module and a color conversion method using the method for expanding a function of a program module

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-258832 1996-09-30
JP25883296 1996-09-30
JP9083172A JPH10155094A (en) 1996-09-30 1997-04-01 Color conversion processing unit, its method, extension method for program module linked dynamically, color conversion processing method adopting the method, and recording medium read by computer and recording program to allow the computer to execute the method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004137860A Division JP3967336B2 (en) 1996-09-30 2004-05-06 Color conversion processing apparatus, color conversion processing method, and computer-readable recording medium storing a program for causing a computer to execute the method

Publications (1)

Publication Number Publication Date
JPH10155094A true JPH10155094A (en) 1998-06-09

Family

ID=26424230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9083172A Pending JPH10155094A (en) 1996-09-30 1997-04-01 Color conversion processing unit, its method, extension method for program module linked dynamically, color conversion processing method adopting the method, and recording medium read by computer and recording program to allow the computer to execute the method

Country Status (1)

Country Link
JP (1) JPH10155094A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007141232A (en) * 2005-11-15 2007-06-07 Xerox Corp Gamut selection in multi-engine systems
CN100378796C (en) * 2004-03-09 2008-04-02 奥林巴斯株式会社 Display control apparatus and display control method
US7375850B2 (en) 2001-12-25 2008-05-20 Canon Kabushiki Kaisha Image output apparatus, method of controlling the image output apparatus, and image output system
US7450755B2 (en) 2004-01-29 2008-11-11 Samsung Electronics Co., Ltd Method and apparatus to generate image forming data using color profile matching image processing application
US7747570B2 (en) 2001-07-04 2010-06-29 Adobe Systems Incorporated Conversion of data for two or three dimensional geometric entities
JP2011035936A (en) * 2010-10-15 2011-02-17 Hitachi Ltd Video signal transmitting device and video signal receiving device
US8064748B2 (en) 2001-03-29 2011-11-22 Hitachi, Ltd. Video signal transmitting apparatus and video signal receiving apparatus
JP2013168112A (en) * 2012-02-17 2013-08-29 Ricoh Co Ltd Function adding program and print control system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8064748B2 (en) 2001-03-29 2011-11-22 Hitachi, Ltd. Video signal transmitting apparatus and video signal receiving apparatus
US8229284B2 (en) 2001-03-29 2012-07-24 Hitachi Ltd. Video signal transmitting apparatus and video signal receiving apparatus
US9336743B2 (en) 2001-03-29 2016-05-10 Hitachi Maxell, Ltd. Video signal transmitting apparatus and video signal receiving apparatus
US9769448B2 (en) 2001-03-29 2017-09-19 Hitachi Maxell, Ltd. Video signal transmitting apparatus and video signal receiving apparatus
US7747570B2 (en) 2001-07-04 2010-06-29 Adobe Systems Incorporated Conversion of data for two or three dimensional geometric entities
US7375850B2 (en) 2001-12-25 2008-05-20 Canon Kabushiki Kaisha Image output apparatus, method of controlling the image output apparatus, and image output system
US7450755B2 (en) 2004-01-29 2008-11-11 Samsung Electronics Co., Ltd Method and apparatus to generate image forming data using color profile matching image processing application
CN100378796C (en) * 2004-03-09 2008-04-02 奥林巴斯株式会社 Display control apparatus and display control method
US7948501B2 (en) 2004-03-09 2011-05-24 Olympus Corporation Display control apparatus and method under plural different color spaces
JP2007141232A (en) * 2005-11-15 2007-06-07 Xerox Corp Gamut selection in multi-engine systems
JP2011035936A (en) * 2010-10-15 2011-02-17 Hitachi Ltd Video signal transmitting device and video signal receiving device
JP2013168112A (en) * 2012-02-17 2013-08-29 Ricoh Co Ltd Function adding program and print control system

Similar Documents

Publication Publication Date Title
US6226011B1 (en) Color conversion method for a color matching, a method for expanding a function of a program module and a color conversion method using the method for expanding a function of a program module
US5615312A (en) Color management system having business graphics rendering mode
JP3902816B2 (en) Color image processing apparatus and method
JP3869910B2 (en) Image processing method and apparatus, and storage medium
US6701011B1 (en) Image processing apparatus and image processing method and storage medium
JP4223708B2 (en) Medium recording color conversion program, color conversion program, color conversion table creation method, color conversion device, and color conversion method
JP4090175B2 (en) Image signal processing method, image signal processing apparatus, and medium on which image signal processing program is recorded
US20030002060A1 (en) Apparatus for generating two color printing data, a method for generating two color printing data and recording media
EP0800310B1 (en) Image processing method and apparatus
JP3764797B2 (en) Color conversion processing apparatus and method, and computer-readable recording medium storing program for causing computer to execute the method
US5949427A (en) Color image processing apparatus and method and color image output apparatus each using a color matching/processing method based on the color imput
EP1589746A2 (en) System and method for gamut mapping control
US8305639B2 (en) Image processing apparatus, image processing method, and computer program product
JP4234287B2 (en) Device image data converter
US6870637B1 (en) Image processing method and image processor using the same
JP2007208531A (en) Multicolor printing apparatus and method of controlling same
JPH10155094A (en) Color conversion processing unit, its method, extension method for program module linked dynamically, color conversion processing method adopting the method, and recording medium read by computer and recording program to allow the computer to execute the method
JP3658123B2 (en) Image processing method and apparatus
JPH1074255A (en) Matrix-based gray component replacement for color halftoning
JPH11196285A (en) Image processing method, device and recording medium
JP3967336B2 (en) Color conversion processing apparatus, color conversion processing method, and computer-readable recording medium storing a program for causing a computer to execute the method
US5655062A (en) Accent color printing
US6275302B1 (en) Color printing yielding a background dependent neutral gray image (i.e. intelligent gray)
JP2015002442A (en) Image processing apparatus and method
JP3679253B2 (en) Color image output method, apparatus and recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040302

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040506

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050329

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051004