JP2002127512A - Imaging apparatus and imaging method - Google Patents
Imaging apparatus and imaging methodInfo
- Publication number
- JP2002127512A JP2002127512A JP2000325318A JP2000325318A JP2002127512A JP 2002127512 A JP2002127512 A JP 2002127512A JP 2000325318 A JP2000325318 A JP 2000325318A JP 2000325318 A JP2000325318 A JP 2000325318A JP 2002127512 A JP2002127512 A JP 2002127512A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- image
- command
- bitmap
- 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
Links
Landscapes
- Storing Facsimile Image Data (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION
【0001】[0001]
【発明の属する技術分野】本発明は、パーソナルコンピ
ュータ等の送信端末から画像情報としてデータを受信
し、当該画像情報をラスタイメージに変換してハードコ
ピーを行う画像形成装置に関し、さらに詳しくは、画像
情報に含まれるコマンドをコマンド処理毎に画像形成装
置のメモリ環境に応じて再構成する場合に適用して有効
な技術に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus which receives data as image information from a transmission terminal such as a personal computer and converts the image information into a raster image to perform a hard copy. The present invention relates to a technique effective when applied to a case where commands included in information are reconfigured in accordance with a memory environment of an image forming apparatus for each command processing.
【0002】[0002]
【従来の技術】従来においては、画像形成装置、例えば
カラーレーザビームプリンタ等のプリンタとホストコン
ピュータとを、イーサネット(登録商標)などの標準イ
ンタフェースを用いて接続している。ここにおいては、
ホストコンピュータ上のアプリケーションはユーザが作
成した画像情報をプリンタドライバに渡し、プリンタド
ライバはこれをプリンタが解釈可能な画像情報(Pri
nter Descripton Language)
(以下、「PDL」という。)に変換し、作成された画
像情報は標準インタフェースを介してプリンタに送信さ
れる。そして、プリンタは画像情報を受信すると、画像
情報を解釈してラスタイメージに展開した後、プリンタ
エンジンへ出力する。プリンタエンジンでは、受信した
ラスタイメージをハードコピー出力する構成となってい
る。2. Description of the Related Art Conventionally, an image forming apparatus, for example, a printer such as a color laser beam printer and a host computer are connected by using a standard interface such as Ethernet (registered trademark). Here,
The application on the host computer passes the image information created by the user to the printer driver, and the printer driver transmits the image information (Pri) which can be interpreted by the printer.
nter Description Language)
(Hereinafter referred to as “PDL”) and the created image information is transmitted to the printer via a standard interface. When the printer receives the image information, it interprets the image information, develops it into a raster image, and outputs it to the printer engine. The printer engine is configured to output a received raster image as a hard copy.
【0003】ところで近年、プリンタにおいては高画質
化が要求されており、データ処理解像度は600dpi
以上が標準となっている。そして、印字解像度が600
dpi、階調が二値、カラーがCMYK、印字サイズが
A4の場合は容量が16MBとなり、コストアップの大
きな要因となっていた。In recent years, printers have been required to have high image quality, and the data processing resolution is 600 dpi.
The above is the standard. And the printing resolution is 600
When the dpi, the gradation is binary, the color is CMYK, and the print size is A4, the capacity is 16 MB, which is a major factor in cost increase.
【0004】この問題は、1ページ分のビットマップメ
モリを持たずに1ページを複数のバンドに分割し、数バ
ンド分のメモリを持ち、バンドメモリ(以下、「バンド
バッファ」という。)にビットマップを順次展開して印
字を行うことで対応することも行われている。The problem is that one page is divided into a plurality of bands without having a bit map memory for one page, a memory for several bands is provided, and a bit is stored in a band memory (hereinafter referred to as a "band buffer"). In some cases, the map is sequentially developed and printed.
【0005】PDLを持つプリンタでは、通常中間言語
もしくは中間画像(DisplayList)(以下、
「DL」という。)と呼ばれる形態にPDLから変換
し、DLからハードウェアラスタライザを用いてバンド
バッファにビットマップ展開することにより、バンドバ
ッファへの展開速度を高速化し、エンジン出力に間に合
わせている。In a printer having a PDL, usually, an intermediate language or an intermediate image (DisplayList)
It is called "DL". ) Is converted from the PDL into a form called ")", and the bitmap is developed from the DL to the band buffer using a hardware rasterizer, so that the speed of the development to the band buffer is increased, and the output is made in time for the engine output.
【0006】[0006]
【発明が解決しようとする課題】しかし、上述した従来
のカラーレーザビームプリンタでは、PDLからビット
マップデータへの展開を高速化するためにDLを作成す
る必要があり、このDLを作成するメモリ容量が大きく
なった場合、メモリ不足となりメモリオーバーフローエ
ラーを発生していた。However, in the above-described conventional color laser beam printer, it is necessary to create a DL in order to speed up the development from the PDL to the bitmap data, and a memory capacity for creating the DL is required. When the size became large, the memory became insufficient and a memory overflow error occurred.
【0007】そこで、本発明は、低コストでメモリオー
バーフローエラーの発生を抑止することのできる画像形
成装置を提供することを目的とする。It is an object of the present invention to provide an image forming apparatus capable of suppressing the occurrence of a memory overflow error at low cost.
【0008】[0008]
【課題を解決するための手段】この課題を解決するため
に、本発明の画像形成装置は、情報処理装置で作成され
た画像情報を解釈してビットマップデータに展開し出力
する画像形成装置であって、画像情報のコマンド毎に中
間画像作成に必要なワークメモリ量と中間画像メモリ量
を算出する必要メモリ算出手段と、利用可能なメモリ量
を求める空きメモリ量取得手段と、必要メモリ算出手段
と空きメモリ量取得手段からメモリ不足であるかを判断
するオーバーフロー判断手段と、オーバーフロー判断手
段の判断結果を元に画像情報のコマンドを再構成するコ
マンド再構成手段と、画像情報から中間画像を作成する
中間画像作成手段とを有する構成としたものである。In order to solve this problem, an image forming apparatus according to the present invention is an image forming apparatus that interprets image information created by an information processing apparatus, develops the information into bitmap data, and outputs the bitmap data. A required memory calculating unit for calculating a work memory amount and an intermediate image memory amount necessary for creating an intermediate image for each command of image information; a free memory amount obtaining unit for obtaining an available memory amount; and a required memory calculating unit Overflow determining means for determining whether there is a memory shortage from the free memory amount acquiring means, a command reconstructing means for reconstructing a command of image information based on a result of the judgment by the overflow determining means, and creating an intermediate image from the image information And an intermediate image creating means.
【0009】このように、空きメモリサイズに応じてコ
マンド情報を再構成しているので、低コストでメモリオ
ーバーフローエラーの発生を抑止することが可能にな
る。As described above, since the command information is reconfigured according to the free memory size, the occurrence of a memory overflow error can be suppressed at low cost.
【0010】[0010]
【発明の実施の形態】本発明の請求項1に記載の発明
は、情報処理装置で作成された画像情報を解釈してビッ
トマップデータに展開し出力する画像形成装置であっ
て、画像情報のコマンド毎に中間画像作成に必要なワー
クメモリ量と中間画像メモリ量を算出する必要メモリ算
出手段と、利用可能なメモリ量を求める空きメモリ量取
得手段と、必要メモリ算出手段と空きメモリ量取得手段
からメモリ不足であるかを判断するオーバーフロー判断
手段と、オーバーフロー判断手段の判断結果を元に画像
情報のコマンドを再構成するコマンド再構成手段と、画
像情報から中間画像を作成する中間画像作成手段とを有
する画像形成装置であり、空きメモリサイズに応じてコ
マンド情報を再構成しているので、低コストでメモリオ
ーバーフローエラーの発生を抑止することが可能になる
という作用を有する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention is an image forming apparatus which interprets image information created by an information processing apparatus, develops it into bitmap data, and outputs it. Necessary memory calculating means for calculating the work memory amount and intermediate image memory amount necessary for creating an intermediate image for each command, a free memory amount obtaining means for obtaining an available memory amount, a necessary memory calculating means and a free memory amount obtaining means Overflow determining means for determining whether there is a memory shortage, a command reconstructing means for reconstructing a command of image information based on a result of the determination by the overflow determining means, and an intermediate image creating means for creating an intermediate image from the image information. Since the command information is reconfigured according to the available memory size, a memory overflow error can be generated at low cost. It has the effect that it is possible to suppress the raw.
【0011】本発明の請求項2に記載の発明は、請求項
1記載の発明において、オーバーフロー判断手段は、画
像情報のうちのビットマップデータもしくはラスタデー
タを処理する場合に機能する画像形成装置であり、メモ
リ消費の少ないベクター系コマンドではコマンド再構成
が適用されないため、処理時間を短縮化することが可能
になるという作用を有する。According to a second aspect of the present invention, in the first aspect of the present invention, the overflow determining means is an image forming apparatus which functions when processing bitmap data or raster data of image information. In addition, since command reconstruction is not applied to a vector command that consumes less memory, the processing time can be shortened.
【0012】本発明の請求項3に記載の発明は、請求項
1または2記載の発明において、コマンド再構成手段
は、ビットマップもしくはラスタ画像情報を副走査方向
に分割する画像形成装置であり、主走査方向の再構成が
行われないので、プログラム構造が複雑にならず処理時
間の短縮とメモリ効率の向上を図ることが可能になると
いう作用を有する。According to a third aspect of the present invention, in the first or second aspect, the command reconstructing means is an image forming apparatus for dividing bitmap or raster image information in the sub-scanning direction. Since the reconstruction in the main scanning direction is not performed, the program structure is not complicated and the processing time can be reduced and the memory efficiency can be improved.
【0013】本発明の請求項4に記載の発明は、請求項
1、2または3記載の発明において、コマンド再構成手
段は、中間画像からビットマップに展開するバッファ情
報を元に分割する画像形成装置であり、バンドバッファ
サイズ情報を考慮して再構成されるので、バンド毎の中
間画像作成処理効率を向上させることが可能になるとい
う作用を有する。According to a fourth aspect of the present invention, in the first, second or third aspect of the present invention, the command reconstructing means is configured to divide an image based on buffer information developed from an intermediate image into a bitmap. Since it is a device and is reconfigured in consideration of band buffer size information, it has an effect that it is possible to improve the intermediate image creation processing efficiency for each band.
【0014】本発明の請求項5に記載の発明は、請求項
1〜4の何れか一項に記載の発明において、中間画像作
成手段は、必要メモリ算出手段で求めた中間画像メモリ
量が空きメモリ量取得手段で求めた利用可能メモリ量以
下である場合、中間画像メモリとしてコマンド再構成前
のメモリ量を確保する画像形成装置であり、中間画像デ
ータが連続領域として1度に確保されるので、メモリ効
率の向上と処理時間の短縮化を図ることが可能になると
いう作用を有する。According to a fifth aspect of the present invention, in the invention according to any one of the first to fourth aspects, the intermediate image creating means has an empty intermediate image memory amount obtained by the necessary memory calculating means. If the available memory amount obtained by the memory amount obtaining means is smaller than the available memory amount, the image forming apparatus secures the memory amount before command reconstruction as the intermediate image memory. Since the intermediate image data is secured as a continuous area at one time, This has the effect of improving memory efficiency and shortening the processing time.
【0015】本発明の請求項6に記載の発明は、請求項
1〜5の何れか一項に記載の発明において、中間画像作
成手段は、オーバーフロー判断手段でメモリ不足と判断
された場合、中間画像メモリとして中間画像の平均圧縮
率を考慮したサイズでメモリ量を確保する画像形成装置
であり、平均圧縮率を考慮したサイズでメモリ確保が行
われるので、メモリ効率を向上させることが可能になる
という作用を有する。According to a sixth aspect of the present invention, in the invention according to any one of the first to fifth aspects, the intermediate image creating means is configured to execute the intermediate image creation when the overflow determining means determines that the memory is insufficient. An image forming apparatus that secures a memory amount in a size that takes into consideration the average compression ratio of an intermediate image as an image memory. Since the memory is secured in a size that takes into account the average compression ratio, memory efficiency can be improved. It has the action of:
【0016】本発明の請求項7に記載の発明は、情報処
理装置で作成された画像情報を解釈してビットマップデ
ータに展開し出力する画像形成方法であって、画像情報
のコマンド毎に中間画像作成に必要なワークメモリ量と
中間画像メモリ量を算出し、利用可能なメモリ量を求
め、ワークメモリ量、中間画像メモリ量および利用可能
なメモリ量からメモリ不足であるかを判断し、メモリ不
足であるかの判断結果を元に画像情報のコマンドを再構
成し、画像情報から中間画像を作成する画像形成方法で
あり、空きメモリサイズに応じてコマンド情報を再構成
しているので、低コストでメモリオーバーフローエラー
の発生を抑止することが可能になるという作用を有す
る。According to a seventh aspect of the present invention, there is provided an image forming method for interpreting image information created by an information processing apparatus, developing the image information into bitmap data, and outputting the bitmap data. Calculate the amount of work memory and intermediate image memory required for image creation, determine the amount of available memory, determine whether there is insufficient memory from the amount of work memory, the amount of intermediate image memory, and the amount of available memory. This is an image forming method in which the command of the image information is reconstructed based on the result of the determination as to whether it is insufficient, and an intermediate image is created from the image information. This has the effect that the occurrence of a memory overflow error can be suppressed at a low cost.
【0017】以下、本発明の実施の形態について、図1
から図7を用いて説明する。なお、これらの図面におい
て同一の部材には同一の符号を付しており、また、重複
した説明は省略されている。Hereinafter, an embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. In these drawings, the same members are denoted by the same reference numerals, and duplicate description is omitted.
【0018】本実施の形態では、本発明を適用するに好
適なカラーレーザビームプリンタを例にとって説明す
る。なお、本発明を適用する画像形成装置はカラーレー
ザビームプリンタに限定されるものではなく、他の種々
のプリンタ等が適用できることは言うまでもない。In the present embodiment, a color laser beam printer suitable for applying the present invention will be described as an example. Note that the image forming apparatus to which the present invention is applied is not limited to a color laser beam printer, and it goes without saying that various other printers and the like can be applied.
【0019】図1は本発明の一実施の形態に係る画像形
成装置の主要部の構成を機能ブロック別に示すブロック
図である。FIG. 1 is a block diagram showing the configuration of main parts of an image forming apparatus according to an embodiment of the present invention for each functional block.
【0020】図1に示すように、画像形成装置101
は、IF部102と、受信バッファ103と、コマンド
解析部104と、中央管理部105と、中間データ生成
部106と、ワークメモリ107と、ビットマップ生成
部108と、バンドバッファ109と、エンジン出力部
110と、エンジン111と、プリンタ設定部112と
を備えている。As shown in FIG. 1, the image forming apparatus 101
Are an IF unit 102, a reception buffer 103, a command analysis unit 104, a central management unit 105, an intermediate data generation unit 106, a work memory 107, a bitmap generation unit 108, a band buffer 109, an engine output A unit 110, an engine 111, and a printer setting unit 112 are provided.
【0021】次に、画像形成装置101の各部の機能を
説明する。Next, the function of each section of the image forming apparatus 101 will be described.
【0022】IF部102は、ホストコンピュータとの
間でデータ送受信の制御を行い、ホストコンピュータか
ら印字情報であるPDLを受信し、受信バッファ103
に受信PDLデータを格納し、コマンド解析部104に
データ受信通知とデータ格納先アドレスとを通知する。The IF unit 102 controls data transmission and reception with the host computer, receives PDL as print information from the host computer, and
Of the received PDL data, and notifies the command analysis unit 104 of the data reception notification and the data storage destination address.
【0023】コマンド解析部104は、受信バッファ1
03に保持されているPDLデータを取り出してコマン
ド解析を行い、印刷ジョブ単位毎に印字動作を設定する
コマンドである場合は中央管理部105に設定を通知
し、描画情報のコマンドである場合は中間データ生成部
106へコマンドを渡す。そして、中央管理部105で
は、印刷ジョブの管理と設定を行う。The command analysis unit 104 receives the data from the reception buffer 1
The PDL data stored in the PDL data is read out, the command is analyzed, and if the command is a command for setting a printing operation for each print job, the setting is notified to the central management unit 105. The command is passed to the data generation unit 106. The central management unit 105 manages and sets the print job.
【0024】中間データ生成部106は、描画コマンド
を受け取り、描画コマンドから中間言語であるDLへ変
換しワークメモリ107に格納する。The intermediate data generator 106 receives the drawing command, converts the drawing command into a DL, which is an intermediate language, and stores it in the work memory 107.
【0025】中間データ生成部106はページの管理を
しており、1ページ分のDL作成が終了すると、中央管
理部105にDL格納先アドレスを含んだDL作成終了
通知を出す。The intermediate data generation unit 106 manages the pages. When the creation of the DL for one page is completed, the intermediate data generation unit 106 issues a DL creation end notification including the DL storage destination address to the central management unit 105.
【0026】中央管理部105は、中間データ生成部1
06からDL作成終了通知を受け取ると、ビットマップ
生成部108にビットマップ生成要求を出す。The central management unit 105 includes the intermediate data generation unit 1
When receiving the DL creation end notification from the server 06, the control unit issues a bitmap generation request to the bitmap generation unit 108.
【0027】ビットマップ生成部108は、中央管理部
105からDL格納先アドレスを含んだビットマップ生
成要求を受け取ると、ワークメモリ107に保持されて
いるDLを取り出してバンドバッファ109にビットマ
ップ展開し、エンジンへのデータ出力が遅れない範囲の
バンドバッファ109上にビットマップ展開が終了する
と、中央管理部105に準備完了通知を出す。そして、
中央管理部105に準備完了通知を出した後、残りのバ
ンドバッファ109に展開を開始する。Upon receiving a bitmap generation request including the DL storage destination address from the central management unit 105, the bitmap generation unit 108 extracts the DL stored in the work memory 107 and develops the bitmap in the band buffer 109. When the bitmap development is completed on the band buffer 109 within a range where the data output to the engine is not delayed, a preparation completion notification is issued to the central management unit 105. And
After issuing a preparation completion notification to the central management unit 105, deployment to the remaining band buffers 109 is started.
【0028】中央管理部105は、ビットマップ生成部
108からの通知を受け取ると、エンジン出力部110
にエンジン出力要求を出す。これを受けて、エンジン出
力部110は、バンドバッファ109から順次ビットマ
ップデータを取り出し、エンジン111へ出力する。When the central management unit 105 receives the notification from the bitmap generation unit 108, the engine output unit 110
Request engine output. In response to this, the engine output unit 110 sequentially extracts bitmap data from the band buffer 109 and outputs the bitmap data to the engine 111.
【0029】エンジン111では、エンジン出力部11
0からの出力データを元にCMYKの画像を感光体上に
形成し、形成した像を紙上に転写して画像を形成する。In the engine 111, the engine output unit 11
A CMYK image is formed on a photoconductor based on output data from 0, and the formed image is transferred onto paper to form an image.
【0030】画像形成が終了して紙が排出されると、エ
ンジン出力部110は中央管理部105に印字完了通知
を出す。プリンタ設定部112はユーザからの設定を受
け付け、ユーザ設定内容を中央管理部105に通知し、
中央管理部105はプリンタの設定を変更する。When the image formation is completed and the paper is discharged, the engine output unit 110 sends a print completion notification to the central management unit 105. The printer setting unit 112 receives settings from the user, notifies the central management unit 105 of the user settings,
The central management unit 105 changes the settings of the printer.
【0031】次に、前記のように構成された本実施のカ
ラーレーザビームプリンタの、ワークメモリの空き容量
に応じてPDLのコマンドを再構成する中間データ生成
部106の構成を図2を用いて、処理手順を図3を用い
て説明する。Next, the configuration of the intermediate data generating unit 106 for reconfiguring the PDL command according to the free space of the work memory in the color laser beam printer of the present embodiment configured as described above will be described with reference to FIG. The processing procedure will be described with reference to FIG.
【0032】中間データ生成部106は、コマンド判別
手段201と、必要メモリ算出手段202と、オーバー
フロー判断手段203と、コマンド再構成手段204
と、バンド情報取得手段205と、空きメモリ量取得手
段206と、ビットマップ系中間画像作成手段(中間画
像作成手段)207と、ベクター系中間画像作成手段2
08とを備えている。The intermediate data generating unit 106 includes a command determining unit 201, a necessary memory calculating unit 202, an overflow determining unit 203, and a command reconstructing unit 204.
Band information obtaining means 205, free memory amount obtaining means 206, bitmap intermediate image generating means (intermediate image generating means) 207, and vector intermediate image generating means 2
08.
【0033】次に、中間データ生成部106の各部の機
能を、図3に示すフローチャートを参照しながら説明す
る。Next, the function of each unit of the intermediate data generation unit 106 will be described with reference to the flowchart shown in FIG.
【0034】コマンド判別手段201はコマンドを解析
し、コマンドがビットマップ系描画コマンドであるか、
ベクター系描画コマンドであるかを判断し処理を行う
(S301)。The command determining means 201 analyzes the command and determines whether the command is a bitmap drawing command.
It is determined whether the command is a vector-based drawing command and processing is performed (S301).
【0035】必要メモリ算出手段202は、コマンドが
ビットマップ系描画である場合に呼び出され、ビットマ
ップ描画に要するDLサイズ情報(以下、「DLSIN
FO」と表記する。)およびDL作成のためのビットマ
ップワークメモリサイズ情報(以下、「BMWINF
O」と表記する。)をビットマップ描画コマンドから算
出する(S302)。なお、DLサイズ情報は処理コマ
ンド単位に関するDLサイズ情報である。The necessary memory calculating means 202 is called when the command is a bitmap drawing, and DL size information (hereinafter "DLSIN") required for bitmap drawing.
FO ". ) And bitmap work memory size information for DL creation (hereinafter, “BMWINF”)
O ". ) Is calculated from the bitmap drawing command (S302). Note that the DL size information is DL size information related to a processing command unit.
【0036】オーバーフロー判断手段203は、空きメ
モリ量取得手段206からワークメモリ107の空きメ
モリサイズ(以下、「AVMS」と表記する。)を取得
し(S303)、必要メモリ算出手段202で求めたD
Lサイズ情報およびDL作成のためのビットマップワー
クメモリサイズ情報との比較を行い、メモリ不足かどう
かを判断する(S304)。The overflow determining means 203 obtains the free memory size of the work memory 107 (hereinafter referred to as “AVMS”) from the free memory amount obtaining means 206 (S 303), and obtains D obtained by the necessary memory calculating means 202.
A comparison is made between the L size information and the bitmap work memory size information for creating the DL to determine whether or not the memory is insufficient (S304).
【0037】コマンド再構成手段204は、オーバーフ
ロー判断手段203でメモリ不足と判断された場合に、
バンド情報取得手段205からバンドバッファサイズ情
報を取得し(S305)、バンドバッファサイズ情報
と、必要メモリ算出手段202で求めたDL作成のため
のビットマップワークメモリサイズ情報およびDLサイ
ズ情報と、空きメモリ量取得手段206で求めたワーク
メモリ107の空きメモリサイズを元に、メモリ不足を
起こさず描画できるようにビットマップ描画コマンドを
再構成する(S306)。When the overflow determining means 203 determines that the memory is insufficient, the command reconstructing means 204
Band buffer size information is obtained from the band information obtaining means 205 (S305), the band buffer size information, bitmap work memory size information and DL size information for DL creation obtained by the necessary memory calculation means 202, and free memory The bitmap drawing command is reconfigured based on the free memory size of the work memory 107 obtained by the amount obtaining means 206 so that drawing can be performed without causing memory shortage (S306).
【0038】ビットマップ系中間画像作成手段207
は、ビットマップ描画コマンドからDLを作成してこれ
をワークメモリ107に格納すると共に、バンド情報取
得手段205からバンドバッファサイズ情報を取得して
関連するバンドおよび領域を算出し、中間データ生成部
106でバンド毎の管理を行うバンド情報管理部(図示
せず)へ登録する(S307)。Bitmap type intermediate image creating means 207
Creates a DL from the bitmap drawing command, stores it in the work memory 107, acquires band buffer size information from the band information acquiring unit 205, calculates the associated band and area, and generates an intermediate data Is registered in a band information management unit (not shown) that manages each band (S307).
【0039】ベクター系中間画像作成手段208は、ベ
クター描画コマンドからDLを作成してこれをワークメ
モリ107に格納すると共に、バンド情報取得手段20
5からバンドバッファサイズ情報を取得して関連するバ
ンドおよび領域を算出し、バンド情報管理部へ登録する
(S310)。The vector-based intermediate image creating means 208 creates a DL from the vector drawing command, stores it in the work memory 107, and stores the DL in the work memory 107.
5 to obtain band buffer size information, calculate related bands and areas, and register them in the band information management unit (S310).
【0040】次に、中間データ生成部106におけるコ
マンド再構成手段204のコマンド再構成手順につい
て、図4のフローチャートを参照して説明する。Next, the command reconstructing procedure of the command reconstructing means 204 in the intermediate data generator 106 will be described with reference to the flowchart of FIG.
【0041】コマンド再構成手段204は、必要メモリ
算出手段202で求めたDL作成のためのビットマップ
ワークメモリサイズ情報およびDLサイズ情報を取得し
(S401)、さらにメモリ量取得手段206で求めた
ワークメモリ107の空きメモリサイズを取得し(S4
02)、DLサイズ情報がワークメモリ107の空きメ
モリサイズよりも小さいかを判断する(S403)。The command reconstructing means 204 obtains bitmap work memory size information and DL size information for DL creation obtained by the necessary memory calculating means 202 (S401), and further obtains the work obtained by the memory amount obtaining means 206. The free memory size of the memory 107 is obtained (S4
02) It is determined whether the DL size information is smaller than the free memory size of the work memory 107 (S403).
【0042】そして、DLサイズ情報がワークメモリ1
07の空きメモリサイズよりも小さいと判断された場
合、DLサイズ情報の大きさでDL用メモリ領域をワー
クメモリエリア107に確保する指示をコマンド情報に
付加する(S404)。The DL size information is stored in the work memory 1
If it is determined that the memory size is smaller than the free memory size of 07, an instruction to secure the DL memory area in the work memory area 107 with the size of the DL size information is added to the command information (S404).
【0043】次に、バンド情報取得手段205で取得し
たバンドバッファサイズ情報を元に、コマンドの描画範
囲に入っているバンドバッファ毎にDL作成に要するビ
ットマップワークメモリサイズ(以下、「BMWINF
O.n」という。nはバンドバッファ番号)を算出し
(S405)、各バンドバッファ毎のBMWINFO.
nがワークメモリ107の空きメモリサイズからDLサ
イズ情報を引いた値よりも小さいかをそれぞれのバンド
バッファ毎に判断する(S406)。Next, based on the band buffer size information acquired by the band information acquisition means 205, a bitmap work memory size (hereinafter, referred to as "BMWINF") required for DL creation for each band buffer included in the command drawing range.
O. n ". n is a band buffer number) (S405), and the BMWINFO.
It is determined for each band buffer whether n is smaller than a value obtained by subtracting the DL size information from the free memory size of the work memory 107 (S406).
【0044】S406で全てのバンドバッファに関して
バンドバッファ毎にDL作成に要するBMWINFO.
nがワークメモリ107の空きメモリサイズからDLサ
イズ情報を引いた値よりも小さいと判断された場合、コ
マンドをバンドバッファ基準に再構成する(S40
7)。また、S406でバンドバッファ毎にDL作成に
要するBMWINFO.nがワークメモリ107の空き
メモリサイズからDLサイズ情報を引いた値よりも1つ
以上のバンドバッファに関して大きいと判断された場
合、DL作成に要するビットマップワークメモリサイズ
をワークメモリ107の空きメモリサイズからDLサイ
ズ情報を引いた値の8割(この割合をαと呼ぶ)のサイ
ズ以内になるようにコマンドを再構成する(S40
8)。なお、αの値は8割に限定されるものではなく、
メモリ不足にならない範囲でシステムに応じて異なる値
を用いてもよい。In S406, for all the band buffers, the BMWINFO.
If it is determined that n is smaller than the value obtained by subtracting the DL size information from the free memory size of the work memory 107, the command is reconfigured based on the band buffer (S40).
7). Also, in S406, the BMW INFO. If it is determined that n is larger than the value obtained by subtracting the DL size information from the free memory size of the work memory 107 for one or more band buffers, the bitmap work memory size required for DL creation is set to the free memory size of the work memory 107. The command is reconfigured so as to be within 80% of the value obtained by subtracting the DL size information from (the ratio is referred to as α) (S40).
8). The value of α is not limited to 80%,
Different values may be used depending on the system as long as the memory is not insufficient.
【0045】また、S403でDLサイズ情報がワーク
メモリ107の空きメモリサイズよりも大きいと判断さ
れた場合、DL作成に要するビットマップワークメモリ
サイズを式1から求めた範囲(式1中Dで表す)に収ま
るように再構成し、DL作成時にはDLのビットマップ
に対して圧縮を行う指示をコマンド情報に付加する(S
409)。If it is determined in step S403 that the DL size information is larger than the free memory size of the work memory 107, the bitmap work memory size required for creating the DL is determined by the range obtained from equation (1). ), And an instruction to compress the DL bitmap is added to the command information when the DL is created (S
409).
【0046】 D+(D×β)×Γ×Λ<(AVMS−DLSINFO×γ)・・・(式1) β:プリンタ解像度への拡大縮小率 Γ:色変換係数(RGBからCMYKへの変換の場合は
4/3) Λ:階調変換係数(各色8ビットから1ビットへ変換の
場合は1/8) γ:平均圧縮率 なお、S403においては、DLサイズ情報がワークメ
モリ107の空きメモリサイズよりも小さいかを判断す
ることとしているが、これにとらわれるものではなく、
たとえばDLサイズ情報がワークメモリ107の空きメ
モリサイズの何割以下であるかによって判断してもよ
い。D + (D × β) × Γ × Λ <(AVMS-DLSINFO × γ) (Expression 1) β: Enlargement / reduction ratio to printer resolution Γ: Color conversion coefficient (for conversion from RGB to CMYK) 4: gradation conversion coefficient (1 /: conversion from 8 bits to 1 bit for each color) γ: average compression ratio In step S403, the DL size information indicates the free memory size of the work memory 107. Is determined to be smaller, but this is not a limitation.
For example, the determination may be made based on what percentage or less of the free memory size of the work memory 107 is the DL size information.
【0047】次に、図5および図6を用いて、コマンド
再構成の一例として、図4におけるS408の例を説明
する。Next, an example of S408 in FIG. 4 will be described with reference to FIGS. 5 and 6 as an example of command reconfiguration.
【0048】図5において、符号501は中間データ生
成部106でビットマップ描画コマンドを受信した際に
作成するビットマップコマンド情報である。図示するよ
うに、ビットマップコマンド情報501は、コマンド座
標系におけるビットマップの左上座標であるXpoti
on502、Ypotion503と、ビットマップの
幅を表すsrcWidth504と、ビットマップの高
さを表すsrcHeight505と、プリンタ解像度
で描画後のビットマップの幅を表すdestWidth
506と、プリンタ解像度で描画後のビットマップの高
さを表すdestHeight507と、ビットマップ
データへのポインタであるpSrcBitmap508
と、コマンドが再構成されているか否かを示すReco
nfig509と、再構成されている場合の分割数を表
すTotalSepnum510と、該ビットマップコ
マンド情報が分割された何番目の情報であるかを示すS
epnum511と、DL作成用メモリを再構成前のサ
イズで確保するかを示すDL_org512と、DLの
ビットマップ領域を圧縮するかどうかを示すDL_Co
mp513と、コマンド再構成前のコマンド座標系にお
けるビットマップの左上座標であるorgXpotio
n514、orgYpotion515と、コマンド再
構成前のビットマップの幅を表すsorgrcWidt
h516と、コマンド再構成前のビットマップの高さを
表すorgsrcHeight517と、コマンド再構
成前のプリンタ解像度で描画後のビットマップの幅を表
すorgdestWidth518と、コマンド再構成
前のプリンタ解像度で描画後のビットマップの高さを表
すorgdestHeight519と、コマンド再構
成前のビットマップデータへのポインタであるporg
SrcBitmap520とを備えている。In FIG. 5, reference numeral 501 denotes bitmap command information created when the intermediate data generating unit 106 receives a bitmap drawing command. As shown in the figure, the bitmap command information 501 includes Xpoti, which is the upper left coordinate of the bitmap in the command coordinate system.
on502, Ypotion 503, srcWidth 504 representing the width of the bitmap, srcHeight 505 representing the height of the bitmap, and destWidth representing the width of the bitmap after drawing at the printer resolution.
506, destHeight 507 indicating the height of the bitmap after drawing at printer resolution, and pSrcBitmap 508 which is a pointer to bitmap data
And Reco indicating whether the command has been reconstructed or not.
nfig 509, TotalSepnum 510 indicating the number of divisions in the case of reconfiguration, and S indicating the number of the divided bitmap command information.
epnum 511, DL_org 512 indicating whether the memory for DL creation is to be secured at the size before reconfiguration, and DL_Co indicating whether to compress the bit map area of the DL.
mp513 and orgXpotio, which is the upper left coordinate of the bitmap in the command coordinate system before command reconstruction.
n514, orgYpotion 515, and srcrcWidt representing the width of the bitmap before command reconstruction
h516, orgsrc Height 517 representing the height of the bitmap before command reconstruction, orgdestWidth 518 representing the width of the bitmap after rendering at the printer resolution before command reconstruction, and bits after rendering at the printer resolution before command reconstruction. OrgdestHeight 519 indicating the height of the map, and porg as a pointer to bitmap data before command reconstruction
SrcBitmap 520.
【0049】また、図6において、符号601は受信し
たビットマップデータを示したものであり、符号602
は印刷ページ領域を表しており、符号603から符号6
09はページ領域をバンドバッファに分割した際のバン
ド境界を示しており、符号610は受信したビットマッ
プデータ601をプリンタ解像度で描画した際の領域を
示しており、符号611はビットマップの描画開始位置
を示しており、符号612および符号613はS406
でバンドバッファ毎にDL作成に要するBMWINF
O.nがワークメモリ107の空きメモリサイズからD
Lサイズ情報を引いた値よりも大きいと判断されたとし
た場合、S408においてバンド基準よりもさらに小さ
い領域で再構成した際の再構成境界を示している。In FIG. 6, reference numeral 601 denotes the received bitmap data.
Represents a print page area, and reference numerals 603 to 6
Reference numeral 09 denotes a band boundary when the page area is divided into band buffers, reference numeral 610 denotes an area when the received bitmap data 601 is drawn at the printer resolution, and reference numeral 611 denotes the start of bitmap drawing. The reference numerals 612 and 613 indicate S406.
BMWINF required for DL creation for each band buffer
O. n is D from the free memory size of the work memory 107
If it is determined that the value is larger than the value obtained by subtracting the L size information, it indicates a reconstruction boundary when reconstruction is performed in an area smaller than the band reference in S408.
【0050】ビットマップ描画コマンドを受信すると、
ビットマップコマンド情報501を作成し、ビットマッ
プ描画コマンドからビットマップコマンド情報501内
の各パラメーターを設定し、受信したビットマップデー
タ601へのポインタをpSrcBitmap508に
設定する。Upon receiving the bitmap drawing command,
Bitmap command information 501 is created, each parameter in the bitmap command information 501 is set from the bitmap drawing command, and a pointer to the received bitmap data 601 is set in pSrcBitmap 508.
【0051】そして、ビットマップコマンド情報501
より前述したS401からS404の処理を行い、S4
05においてバンド3(符号605と符号606で表さ
れる領域)とバンド4(符号606と符号607で表さ
れる領域)領域に展開する際のビットマップワークメモ
リ量がワークメモリ107の空きメモリサイズからDL
サイズ情報を引いた値よりも大きかったと仮定すると、
S408では、バンド3とバンド4に関し半分の領域で
作成した場合のビットマップワークメモリ量がワークメ
モリ107の空きメモリサイズからDLサイズ情報を引
いた値の8割よりも小さくなるかを判断し、小さくなる
場合は再構成情報としてバンド2とバンド3に関してバ
ンドの半分のサイズで再構成すると決定し、再構成数を
6として順次再構成を行う。Then, the bitmap command information 501
The processing of S401 to S404 described above is performed, and S4
In FIG. 05, the amount of bitmap work memory when expanded into band 3 (areas represented by reference numerals 605 and 606) and band 4 (areas represented by reference numbers 606 and 607) is determined by the free memory size of the work memory 107. To DL
Assuming it was larger than the size information minus
In step S408, it is determined whether the bitmap work memory amount when the band 3 and the band 4 are created in half the area is smaller than 80% of a value obtained by subtracting the DL size information from the free memory size of the work memory 107, If it becomes smaller, it is determined that band 2 and band 3 are to be reconfigured with half the size of the band as the reconfiguration information, and the number of reconfigurations is set to 6, and the reconfiguration is performed sequentially.
【0052】先ず、バンド2(符号604と符号605
で表される領域)に含まれるビットマップ領域を対象と
したビットマップコマンド情報501を作成し、このビ
ットマップコマンド情報501のXpotion50
2、503にはバンド2領域に含まれるビットマップの
コマンド座標系でのビットマップ左上座標を設定し、s
rcWidth504にはバンド2領域に含まれるビッ
トマップの幅を設定し、srcHeight505には
バンド2領域に含まれるビットマップの高さを設定し、
destWidth506にはバンド領域2に含まれる
プリンタ解像度で描画後のビットマップの幅を設定し、
destHeight507にはバンド領域2に含まれ
るプリンタ解像度で描画後のビットマップの高さを設定
し、pSrcBitmap508にはビットマップデー
タへのポインタをそのまま設定し、Reconfig5
09には再構成されていることを示す値(TRUE)を
設定し、TotalSepnum510には6個に再構
成されているため6を設定し、Sepnum511には
最初であることを示す1を設定し、DL_org512
にはS403よりDLサイズを元の大きさで確保しても
よいことを示す値(TRUE)を設定し、DL_Com
pにはDLのビットマップデータは圧縮しないことを示
す値(0)を設定し、514から520には対応する元
の値を設定する。First, band 2 (reference numerals 604 and 605)
The bitmap command information 501 for the bitmap area included in the bitmap command information 501 is created, and the Xpotion 50 of the bitmap command information 501 is created.
2 and 503, the upper left coordinates of the bitmap included in the band 2 area in the command coordinate system are set.
rcWidth 504 sets the width of the bitmap included in the band 2 area, srcHeight 505 sets the height of the bitmap included in the band 2 area,
The width of the bitmap after drawing is set in the destinationWidth 506 with the printer resolution included in the band area 2,
The height of the bitmap after drawing is set to the destination height 507 at the printer resolution included in the band area 2, the pointer to the bitmap data is set to pSrcBitmap 508 as it is, and the Reconfig5
09 is set to a value (TRUE) indicating that it is reconfigured, TotalSepnum 510 is set to 6 because it has been reconfigured to 6, and Sepnum 511 is set to 1 to indicate that it is the first one. DL_org512
In step S403, a value (TRUE) indicating that the DL size can be secured in the original size is set, and DL_Com
In p, a value (0) indicating that the DL bitmap data is not compressed is set, and the corresponding original value is set in 514 to 520.
【0053】バンド3に関しては、先ず符号605と符
号612で表される境界でビットマップコマンド情報を
作成し、次に符号612と符号606で表される境界で
ビットマップコマンド情報を作成する。バンド4に関し
てもバンド2と同様に作成する。バンド5に関してはバ
ンド2と同様に作成する。For band 3, first, bitmap command information is created at the boundary represented by reference numerals 605 and 612, and then bitmap command information is created at the boundary represented by reference numerals 612 and 606. Band 4 is created in the same manner as band 2. Band 5 is created in the same manner as band 2.
【0054】次に、中間データ生成部106におけるビ
ットマップ系中間画像作成手段207の処理手順につい
て、図7のフローチャートを参照して説明する。Next, the processing procedure of the bitmap intermediate image creating means 207 in the intermediate data generating section 106 will be described with reference to the flowchart of FIG.
【0055】ビットマップ系中間画像作成手段207
は、コマンド再構成手段204により再構成されたビッ
トマップコマンド情報501もしくは再構成されていな
いビットマップコマンド情報501を取得し(S70
1)、ビットマップコマンド情報501からビットマッ
プワーク展開に必要なメモリサイズを取得してワークメ
モリ107からビットマップワークメモリを獲得し(S
702)、ビットマップワークメモリにビットマップコ
マンド情報501を元に展開を行う(S703)。ビッ
トマップワークメモリ上に展開する場合、ビットマップ
コマンド情報501のビットマップ画像がパレットカラ
ーである場合、RGB各8ビットのデータへ変換し、圧
縮されている場合は解凍を行いビットマップワークメモ
リに展開を行う。Bitmap type intermediate image creating means 207
Acquires the bitmap command information 501 reconstructed by the command reconstructing means 204 or the bitmap command information 501 not reconstructed (S70).
1), a memory size required for bitmap work development is obtained from the bitmap command information 501, and a bitmap work memory is obtained from the work memory 107 (S).
702), the data is developed in the bitmap work memory based on the bitmap command information 501 (S703). When the data is expanded on the bitmap work memory, when the bitmap image of the bitmap command information 501 is a palette color, it is converted into 8-bit data for each of RGB, and when compressed, decompressed and stored in the bitmap work memory. Perform deployment.
【0056】次に、DL作成時にビットマップ画像を圧
縮するかをビットマップコマンド情報501より判断し
(S704)、DLのビットマップ画像を圧縮すると判
断されている場合、DLサイズに平均圧縮率γを乗じた
サイズでDLメモリを確保する(S705)。例えば算
術符号化で平均圧縮率が25%であれば、圧縮なしで必
要なDLサイズの25%のサイズでDLメモリを確保す
る。Next, it is determined from the bitmap command information 501 whether to compress the bitmap image when creating the DL (S704). If it is determined that the bitmap image of the DL is to be compressed, the DL size is reduced to the average compression ratio γ. The DL memory is secured in a size multiplied by (S705). For example, if the average compression ratio in arithmetic coding is 25%, a DL memory with a size of 25% of the required DL size is secured without compression.
【0057】さらに、ビットマップワークメモリに展開
されているビットマップ画像に対してCMYKへの色変
換と、ディザ処理による1ビット面積階調変換と、拡大
縮小処理と、圧縮処理を行い、S505で確保したDL
メモリに展開する(S706)。Further, the bitmap image expanded in the bitmap work memory is subjected to color conversion into CMYK, 1-bit area gradation conversion by dither processing, enlargement / reduction processing, and compression processing. DL secured
The data is developed in the memory (S706).
【0058】そして、S706でS705において確保
したDLメモリで圧縮後データが収まりきれたかを判断
し(S707)、収まりきれなかった場合、さらにS7
05を実行しDLメモリを確保し、S706で収まりき
れなかったDLを展開する。Then, in S706, it is determined whether or not the compressed data can be completely stored in the DL memory secured in S705 (S707).
05 is executed to secure a DL memory, and the DL that cannot be accommodated in S706 is expanded.
【0059】また、S704でDL作成時にビットマッ
プ画像を圧縮しない場合、コマンド再構成手段204で
再構成されている場合は、ビットマップコマンド情報5
01に付加されている再構成前のDLサイズでDLメモ
リを確保し、コマンド再構成手段204で再構成されて
いない場合は、ビットマップコマンド情報501からD
Lサイズを算出し確保する(S708)。In step S704, if the bitmap image is not compressed at the time of creating the DL, or if it is reconstructed by the command reconstructing means 204, the bitmap command information 5
In the case where the DL memory is secured with the DL size before reconfiguration added to “01” and the command is not reconfigured by the command reconfiguration unit 204, the bitmap command information 501
The L size is calculated and secured (S708).
【0060】さらに、ビットマップワークメモリに展開
されているビットマップ画像に対してCMYKへの色変
換と、ディザ処理による1ビット面積階調変換と、拡大
縮小処理を行いS708で確保したDLメモリに展開す
る(S709)。コマンド再構成手段204で再構成さ
れている場合は、S708では最初のビットマップコマ
ンド情報に関してのみDLメモリを確保し、S703で
はビットマップワークメモリに展開する場合、Xpot
ion502とYpotion503がorgXpot
ion514とorgYpotion515からの差分
を算出し、pSrcBitmap508にリンクされて
いるビットマップデータ601を順次ライン毎に展開し
ていき差分以後のデータをビットマップワークメモリに
展開する。また、S706、S709ではDLメモリに
展開すると共に、バンド情報取得手段205からバンド
バッファサイズ情報を取得し、関連するバンドおよび領
域を算出し、バンド情報管理部へ登録する。Further, the bitmap image developed in the bitmap work memory is subjected to color conversion into CMYK, 1-bit area gradation conversion by dither processing, and enlargement / reduction processing to the DL memory secured in S708. It is developed (S709). If the command has been reconstructed by the command reconstructing means 204, a DL memory is reserved only for the first bitmap command information in S708, and if it is expanded in the bitmap work memory in S703, Xpot
ion502 and Ypotion503 are orgXpot
The difference between the ionic 514 and the orgYpotion 515 is calculated, and the bitmap data 601 linked to the pSrcBitmap 508 is sequentially expanded for each line, and the data after the difference is expanded to the bitmap work memory. In addition, in S706 and S709, the data is expanded in the DL memory, band buffer size information is obtained from the band information obtaining unit 205, related bands and regions are calculated, and registered in the band information management unit.
【0061】上述したように、本実施の形態によれば、
空きメモリサイズに応じてコマンド情報を再構成してい
るので、低コストでメモリオーバーフローエラーの発生
を抑止させる効果がある。As described above, according to the present embodiment,
Since the command information is reconfigured in accordance with the available memory size, there is an effect that the occurrence of a memory overflow error can be suppressed at low cost.
【0062】なお、本発明は、前述した実施の形態の機
能を実現するソフトウェアのプログラムコードを記録し
た記録媒体をシステムあるいは装置に供給し、そのシス
テムあるいは装置のコンピュータが記録媒体に格納され
たプログラムコードを読み出し実行することによっても
達成されることは言うまでもない。この場合、記録媒体
から読み出されたプログラムコード自体が前述した実施
の形態の機能を実現することになり、そのプログラムコ
ードを記録した記録媒体は本発明を構成することにな
る。According to the present invention, a recording medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or an apparatus, and a computer of the system or apparatus stores the program stored in the recording medium. Needless to say, this can also be achieved by reading and executing the code. In this case, the program code itself read from the recording medium realizes the function of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention.
【0063】このようなプログラムコードを供給するた
めの記録媒体としては、例えば、フレキシブルディスク
(フロッピー(登録商標)ディスク)、ハードディス
ク、光ディスク、光磁気ディスク、CD−ROM、CD
−R、磁気テープ、不揮発性のメモリカードやROMな
どを用いることができる。また、インターネット・プロ
バイダ等のサーバ上におかれたこれらの記録媒体にプロ
グラムコードを格納し、インターネットを介してこのプ
ログラムコードを提供する形態であっても本発明を構成
する。As a recording medium for supplying such a program code, for example, a flexible disk (floppy (registered trademark) disk), hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used. Also, the present invention is configured in a form in which a program code is stored in these recording media placed on a server such as an Internet provider and the program code is provided via the Internet.
【0064】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施の形態の
機能が実現されるだけでなく、そのプログラムコードの
指示に基づき、コンピュータ上で稼働しているOS(オ
ペレーティングシステム)などが実際の処理の一部また
は全部を行い、その処理によって前述した実施の形態の
機能が実現される場合も含まれることは言うまでもな
い。When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the operating system (OS) running on the computer based on the instruction of the program code. It is needless to say that the system may perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
【0065】さらに、記録媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPUなどが実際の処理の一部または全部を行
い、その処理によって前述した実施の形態の機能が実現
される場合も言うまでもない。Further, after the program code read from the recording medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that a CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
【0066】[0066]
【発明の効果】以上のように、本発明によれば、空きメ
モリサイズに応じてコマンド情報を再構成しているの
で、低コストでメモリオーバーフローエラーの発生を抑
止することが可能になるという有効な効果が得られる。As described above, according to the present invention, since the command information is reconfigured according to the available memory size, it is possible to suppress the occurrence of a memory overflow error at low cost. Effects can be obtained.
【0067】画像情報のうちのビットマップデータもし
くはラスタデータを処理する場合にオーバーフロー判断
手段が機能するようにすれば、メモリ消費の少ないベク
ター系コマンドではコマンド再構成が適用されないた
め、処理時間を短縮化することが可能になるという有効
な効果が得られる。If the overflow judging means is made to function when processing bitmap data or raster data of the image information, the command reconfiguration is not applied to the vector commands which consume less memory, so that the processing time is reduced. An effective effect that it becomes possible to obtain the effect can be obtained.
【0068】ビットマップもしくはラスタ画像情報を副
走査方向に分割するようにすれば、主走査方向の再構成
が行われないので、プログラム構造が複雑にならず処理
時間の短縮とメモリ効率の向上を図ることが可能になる
という有効な効果が得られる。If the bitmap or raster image information is divided in the sub-scanning direction, reconstruction in the main scanning direction is not performed, so that the program structure is not complicated and the processing time is shortened and the memory efficiency is improved. An effective effect that it becomes possible to achieve this is obtained.
【0069】中間画像からビットマップに展開するバッ
ファ情報を元に分割するようにすれば、バンドバッファ
サイズ情報を考慮して再構成されるので、バンド毎の中
間画像作成処理効率を向上させることが可能になるとい
う有効な効果が得られる。If the image is divided based on the buffer information developed from the intermediate image into the bitmap, the image is reconstructed in consideration of the band buffer size information, so that the efficiency of the intermediate image generation processing for each band can be improved. An effective effect that it becomes possible is obtained.
【0070】必要メモリ算出手段で求めた中間画像メモ
リ量が空きメモリ量取得手段で求めた利用可能メモリ量
以下である場合、中間画像作成手段が中間画像メモリと
してコマンド再構成前のメモリ量を確保するようにすれ
ば、中間画像データが連続領域として1度に確保される
ので、メモリ効率の向上と処理時間の短縮化を図ること
が可能になるという有効な効果が得られる。If the intermediate image memory amount obtained by the necessary memory calculating unit is smaller than the available memory amount obtained by the free memory amount obtaining unit, the intermediate image creating unit secures the memory amount before command reconstruction as the intermediate image memory. By doing so, the intermediate image data is secured as a continuous area at one time, so that an effective effect of improving the memory efficiency and shortening the processing time can be obtained.
【0071】オーバーフロー判断手段でメモリ不足と判
断された場合、中間画像メモリとして中間画像の平均圧
縮率を考慮したサイズでメモリ量を確保するようにすれ
ば、平均圧縮率を考慮したサイズでメモリ確保が行われ
るので、メモリ効率を向上させることが可能になるとい
う有効な効果が得られる。If the overflow judging means judges that the memory is insufficient, if the memory size is secured as the intermediate image memory in consideration of the average compression ratio of the intermediate image, the memory is secured in a size considering the average compression ratio. Is performed, so that an effective effect that memory efficiency can be improved can be obtained.
【図1】本発明の一実施の形態である画像形成装置の主
要部の構成を機能ブロック別に示すブロック図FIG. 1 is a block diagram showing a configuration of a main part of an image forming apparatus according to an embodiment of the present invention for each functional block;
【図2】図1の画像形成装置における中間データ生成部
の構成を機能的に示すブロック図FIG. 2 is a block diagram functionally showing a configuration of an intermediate data generation unit in the image forming apparatus of FIG.
【図3】図2の中間データ生成部による処理手順を示す
フローチャートFIG. 3 is a flowchart showing a processing procedure by an intermediate data generation unit in FIG. 2;
【図4】図2の中間データ生成部におけるコマンド再構
成手段でのコマンド再構成手順を示すフローチャートFIG. 4 is a flowchart showing a command reconfiguration procedure in a command reconfiguration unit in the intermediate data generation unit in FIG. 2;
【図5】図1の画像形成装置におけるビットマップコマ
ンド情報を示す説明図FIG. 5 is an explanatory diagram showing bitmap command information in the image forming apparatus of FIG. 1;
【図6】図1の画像形成装置におけるビットマップコマ
ンド再構成の一例を示す説明図FIG. 6 is an explanatory diagram showing an example of a bitmap command reconstruction in the image forming apparatus of FIG. 1;
【図7】図2の中間データ生成部におけるビットマップ
系中間画像作成手段での中間画像作成手順を示すフロー
チャートFIG. 7 is a flowchart showing an intermediate image creating procedure in a bitmap intermediate image creating unit in the intermediate data generating unit in FIG. 2;
202 必要メモリ算出手段 203 オーバーフロー判断手段 204 コマンド再構成手段 206 空きメモリ量取得手段 207 ビットマップ系中間画像作成手段(中間画像作
成手段)202 Required memory calculation means 203 Overflow determination means 204 Command reconstruction means 206 Free memory amount acquisition means 207 Bitmap intermediate image creation means (intermediate image creation means)
Claims (7)
してビットマップデータに展開し出力する画像形成装置
であって、 画像情報のコマンド毎に中間画像作成に必要なワークメ
モリ量と中間画像メモリ量を算出する必要メモリ算出手
段と、 利用可能なメモリ量を求める空きメモリ量取得手段と、 前記必要メモリ算出手段と前記空きメモリ量取得手段か
らメモリ不足であるかを判断するオーバーフロー判断手
段と、 前記オーバーフロー判断手段の判断結果を元に画像情報
のコマンドを再構成するコマンド再構成手段と、 前記画像情報から中間画像を作成する中間画像作成手段
とを有することを特徴とする画像形成装置。1. An image forming apparatus for interpreting image information created by an information processing device and developing and outputting the same as bitmap data, comprising: a work memory amount necessary for creating an intermediate image for each command of image information; A required memory calculating unit for calculating an image memory amount, a free memory amount obtaining unit for obtaining an available memory amount, and an overflow determining unit for determining whether there is a memory shortage from the required memory calculating unit and the free memory amount obtaining unit. An image forming apparatus comprising: command reconstructing means for reconstructing a command of image information based on a result of the judgment by the overflow judging means; and intermediate image creating means for creating an intermediate image from the image information. .
のうちのビットマップデータもしくはラスタデータを処
理する場合に機能することを特徴とする請求項1記載の
画像形成装置。2. An image forming apparatus according to claim 1, wherein said overflow judging means functions when processing bitmap data or raster data of the image information.
もしくはラスタ画像情報を副走査方向に分割することを
特徴とする請求項1または2記載の画像形成装置。3. The image forming apparatus according to claim 1, wherein said command reconstructing means divides bitmap or raster image information in a sub-scanning direction.
ビットマップに展開するバッファ情報を元に分割するこ
とを特徴とする請求項1、2または3記載の画像形成装
置。4. The image forming apparatus according to claim 1, wherein said command reconstructing means divides the image data based on buffer information developed from an intermediate image into a bitmap.
算出手段で求めた中間画像メモリ量が前記空きメモリ量
取得手段で求めた利用可能メモリ量以下である場合、中
間画像メモリとしてコマンド再構成前のメモリ量を確保
することを特徴とする請求項1〜4の何れか一項に記載
の画像形成装置。5. The intermediate image creating means, if the intermediate image memory amount obtained by the necessary memory calculating means is less than the available memory amount obtained by the free memory amount obtaining means, a command reconfigured as an intermediate image memory. The image forming apparatus according to any one of claims 1 to 4, wherein a memory amount is secured.
ロー判断手段でメモリ不足と判断された場合、中間画像
メモリとして中間画像の平均圧縮率を考慮したサイズで
メモリ量を確保することを特徴とする請求項1〜5の何
れか一項に記載の画像形成装置。6. The intermediate image creating means secures a memory amount with a size considering an average compression ratio of the intermediate image as an intermediate image memory when the overflow determining means determines that the memory is insufficient. The image forming apparatus according to claim 1.
してビットマップデータに展開し出力する画像形成方法
であって、 画像情報のコマンド毎に中間画像作成に必要なワークメ
モリ量と中間画像メモリ量を算出し、 利用可能なメモリ量を求め、 前記ワークメモリ量、前記中間画像メモリ量および利用
可能なメモリ量からメモリ不足であるかを判断し、 メモリ不足であるかの判断結果を元に画像情報のコマン
ドを再構成し、 前記画像情報から中間画像を作成することを特徴とする
画像形成方法。7. An image forming method for interpreting image information created by an information processing device and developing and outputting the same as bitmap data, comprising: a work memory amount necessary for creating an intermediate image for each command of image information; Calculate the amount of image memory, determine the amount of available memory, determine whether there is insufficient memory from the amount of work memory, the amount of intermediate image memory, and the amount of available memory. An image forming method, comprising: reconstructing a command of image information based on the original, and creating an intermediate image from the image information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000325318A JP2002127512A (en) | 2000-10-25 | 2000-10-25 | Imaging apparatus and imaging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000325318A JP2002127512A (en) | 2000-10-25 | 2000-10-25 | Imaging apparatus and imaging method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2002127512A true JP2002127512A (en) | 2002-05-08 |
Family
ID=18802701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000325318A Pending JP2002127512A (en) | 2000-10-25 | 2000-10-25 | Imaging apparatus and imaging method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2002127512A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007216675A (en) * | 2006-01-20 | 2007-08-30 | Seiko Epson Corp | Image processing apparatus, image processing program, and image processing method |
US8472711B2 (en) | 2006-10-31 | 2013-06-25 | Brother Kogyo Kabushiki Kaisha | Image processing device for processing images according to the available storage capacity |
-
2000
- 2000-10-25 JP JP2000325318A patent/JP2002127512A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007216675A (en) * | 2006-01-20 | 2007-08-30 | Seiko Epson Corp | Image processing apparatus, image processing program, and image processing method |
US8472711B2 (en) | 2006-10-31 | 2013-06-25 | Brother Kogyo Kabushiki Kaisha | Image processing device for processing images according to the available storage capacity |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH09261457A (en) | Print controller, data processing method for it and storage medium storing program readable by computer | |
JP2008042345A (en) | Image processing method and image processor | |
JP2002127512A (en) | Imaging apparatus and imaging method | |
JP3685234B2 (en) | Image processing device | |
JPH10129050A (en) | Printing processor | |
JP2003196045A (en) | Use resource selecting method and printing system for realizing this method | |
JP3715749B2 (en) | Image processing system and image processing method | |
JPH11235849A (en) | Image processing device, data processing method thereof, and storage medium storing program readable by computer | |
JPH11165434A (en) | Lithography processing device | |
JP3792881B2 (en) | Image processing apparatus, data processing method for image processing apparatus, and storage medium storing computer-readable program | |
JPH1016322A (en) | Image formation method and apparatus therefor | |
JP2001169120A (en) | Method, device, and system for image processing | |
JP3809373B2 (en) | Printing processing method and apparatus | |
JP2004276537A (en) | Image processing apparatus and image processing method | |
JPH10105348A (en) | Printer controller, printer control method and storage medium storing program readable by computer | |
JP4467715B2 (en) | Image output control apparatus and method | |
JPH10151815A (en) | Printing-processing apparatus | |
JPH10147016A (en) | Image processor and processing method | |
JPH1044526A (en) | Printer driver, drawing processing method thereof, and memory medium storing program readable by computer | |
JPH09218763A (en) | Printing processing system | |
JPH113184A (en) | Print controller, print control method and storage medium in which program readable by computer is stored | |
JP2004050606A (en) | Image processing apparatus and image processing method | |
JPH09218762A (en) | Printing processing system | |
JPH10157217A (en) | Printing-processing apparatus | |
JPH10171612A (en) | Picture processor and compression processing method |