JP2023018850A - program - Google Patents

program Download PDF

Info

Publication number
JP2023018850A
JP2023018850A JP2021123177A JP2021123177A JP2023018850A JP 2023018850 A JP2023018850 A JP 2023018850A JP 2021123177 A JP2021123177 A JP 2021123177A JP 2021123177 A JP2021123177 A JP 2021123177A JP 2023018850 A JP2023018850 A JP 2023018850A
Authority
JP
Japan
Prior art keywords
image
document
copy
text
color
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
JP2021123177A
Other languages
Japanese (ja)
Inventor
誠司 津谷
Seiji Tsuya
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2021123177A priority Critical patent/JP2023018850A/en
Publication of JP2023018850A publication Critical patent/JP2023018850A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a program to be used for control of a scanner, configured to simplify processing to synthesize a transparent text on an image of a document read by the scanner.SOLUTION: Through a function provided by an operating system, the operating system generates a synthetic image by synthesizing a specific-color image including a text color with a copy image of a document image on the basis of transparency, draws only a part of the synthetic image corresponding to a mask part of a mask image on the document image by use of the mask image corresponding to a position of a text to output output image data indicating an output image formed by synthesizing the text with designated transparency with the document image, and calculates a color after the synthesis. Accordingly, processing of a program for outputting an image synthesized with a text with designated transparency can be simplified.SELECTED DRAWING: Figure 5B

Description

本明細書に開示される技術分野は、スキャナの制御に用いるプログラムに関する。さらに詳細には、情報処理装置に組み込まれたプログラムによって、スキャナで読み取った画像にテキストを合成する技術に関するものである。 The technical field disclosed in this specification relates to a program used to control a scanner. More specifically, the present invention relates to a technique of synthesizing text with an image read by a scanner using a program installed in an information processing apparatus.

従来、情報処理装置に組み込まれたプログラムによって、スキャナで読み取った画像にテキストを合成する技術が知られている。例えば特許文献1には、スキャナで原稿を読み込んでビットマップ画像を生成し、さらに管理情報となるテキストのビットマップ画像を生成し、原稿のビットマップ画像とテキストのビットマップ画像とを合成した合成画像を生成する構成が開示されている。 2. Description of the Related Art Conventionally, there is known a technique of synthesizing text with an image read by a scanner using a program installed in an information processing apparatus. For example, in Patent Document 1, a document is read by a scanner, a bitmap image is generated, a text bitmap image is generated as management information, and the bitmap image of the document and the bitmap image of the text are synthesized. An arrangement for generating an image is disclosed.

特開2013-211710号公報Japanese Unexamined Patent Application Publication No. 2013-211710

スキャナで読み取った原稿の画像にテキストを合成した画像を出力する際、テキストに透明度を指定し、その透明度に基づいて透過したテキストを合成したいという要望がある。この場合、情報処理装置に組み込まれたプログラムでは、背景画像となる原稿の画像の色と、テキストの色および透明度と、から画素ごとに合成後の色を計算し、計算された色で描画するといった処理を行うことになるが、処理が煩雑になりやすい。例えば情報処理装置のオペレーティングシステム(OS)がWindows(登録商標)であった場合には、画像を合成するモジュールないしライブラリがOSメーカによって提供されるため、そのモジュール等を利用することで合成に必要な処理を簡略化することができるが、テキストの透明度までは指定できないため、透過したテキストを合成するための処理には、改善の余地がある。 2. Description of the Related Art When outputting an image obtained by synthesizing text with an image of a document read by a scanner, there is a demand for designating the transparency of the text and synthesizing the transparent text based on the transparency. In this case, the program installed in the information processing device calculates the post-composition color for each pixel from the color of the original image that is the background image and the color and transparency of the text, and draws with the calculated color. However, the processing tends to be complicated. For example, if the operating system (OS) of the information processing device is Windows (registered trademark), a module or library for synthesizing images is provided by the OS manufacturer. However, since the transparency of the text cannot be specified, there is room for improvement in the processing for synthesizing transparent text.

本明細書は、スキャナの制御に用いるプログラムであって、スキャナで読み取った原稿の画像に透過したテキストを合成するための処理をシンプルにする技術を開示する。 This specification discloses a program used to control a scanner, which simplifies processing for synthesizing transparent text with an image of a document read by the scanner.

上述した課題の解決を目的としてなされたプログラムは、情報処理装置のコンピュータによって実行可能であり、スキャナの制御に用いるプログラムであって、
前記コンピュータに、
前記スキャナによって読み取られた原稿の画像を示す原稿画像データを取得する原稿画像取得処理と、
透明度および色情報が関連付けられたテキストデータを取得するテキストデータ取得処理と、
前記原稿画像取得処理にて取得した前記原稿画像データに示される前記原稿の画像のうち、少なくともテキストが描画される領域を含む部分のコピーとなるコピー画像を示すコピー画像データを生成するコピー画像生成処理と、
前記コピー画像生成処理にて生成した前記コピー画像データに示される前記コピー画像と同じサイズであって、前記テキストデータ取得処理にて取得した前記テキストデータに関連付けられた前記色情報に対応する色で構成される特定色画像を示す特定色画像データを生成する特定色画像生成処理と、
前記情報処理装置のオペレーティングシステムによって提供される機能を利用して、前記コピー画像生成処理にて生成した前記コピー画像データに示される前記コピー画像に、前記特定色画像生成処理にて生成した前記特定色画像データに示される前記特定色画像を、前記テキストデータ取得処理にて取得した前記テキストデータに関連付けられた前記透明度に基づいて合成した合成画像を示す合成画像データを生成する合成画像生成処理と、
前記コピー画像生成処理にて生成した前記コピー画像データに示される前記コピー画像と同じサイズであって、黒色のベタ画像に前記テキストデータ取得処理にて取得した前記テキストデータに示されるテキストを白色で描画したマスク画像を示すマスク画像データを生成するマスク画像生成処理と、
前記情報処理装置のオペレーティングシステムによって提供される機能を利用して、前記原稿画像取得処理にて取得した前記原稿画像データに示される前記原稿の画像に、前記合成画像生成処理にて生成した前記合成画像データに示される前記合成画像のうち、前記マスク画像生成処理にて生成した前記マスク画像データに示される前記マスク画像の白色部分に対応する部分を描画した出力画像を示す出力画像データを生成する出力画像生成処理と、
を実行させることを特徴とする。
A program made for the purpose of solving the above-described problems is a program that can be executed by a computer of an information processing device and that is used for controlling a scanner,
to the computer;
document image acquisition processing for acquiring document image data representing an image of the document read by the scanner;
a text data acquisition process for acquiring text data associated with transparency and color information;
Copy image generation for generating copy image data representing a copy image of a portion including at least a text drawing area of the image of the document shown in the document image data acquired in the document image acquisition process. processing;
The copy image has the same size as the copy image shown in the copy image data generated in the copy image generation process, and has a color corresponding to the color information associated with the text data acquired in the text data acquisition process. specific color image generation processing for generating specific color image data representing a specific color image to be constructed;
Using the function provided by the operating system of the information processing apparatus, the specific color image generated in the specific color image generation process is added to the copy image shown in the copy image data generated in the copy image generation process. a synthetic image generation process for generating synthetic image data representing a synthetic image obtained by synthesizing the specific color image represented by the color image data based on the transparency associated with the text data acquired in the text data acquisition process; ,
The text shown in the text data acquired in the text data acquisition process is displayed in white on a black solid image having the same size as the copy image represented in the copy image data generated in the copy image generation process. mask image generation processing for generating mask image data representing the drawn mask image;
Using a function provided by an operating system of the information processing apparatus, the synthesis generated in the synthetic image generation process is added to the image of the document indicated in the document image data acquired in the document image acquisition process. generating output image data representing an output image obtained by rendering a portion corresponding to a white portion of the mask image represented by the mask image data generated by the mask image generation processing, in the composite image represented by the image data; output image generation processing;
is characterized by executing

上述の構成では、オペレーティングシステムによって提供される機能を利用して、原稿の画像のコピー画像に、テキスト色で構成される特定色画像を、透明度に基づいて合成した合成画像を生成し、さらにテキストの位置に対応するマスク画像を利用して、原稿の画像に、合成画像をマスク画像のマスク部分に対応する部分だけを描画することで、透明度を指定したテキストを原稿の画像に合成した出力画像を示す出力画像データを出力できる。従って、上述の構成によれば、プログラム自身がテキスト部分に対応する画素ごとに合成後の色を計算する処理を行う場合と比較して、合成後の色を計算する手間をオペレーティングシステムに任せることになり、透明度を指定したテキストを合成した画像を出力する際のプログラムの処理をシンプルにできる。 In the above-described configuration, a function provided by the operating system is used to generate a composite image in which a copy image of an original image is composited with a specific color image composed of text colors based on transparency. Using the mask image corresponding to the position of , the composite image is drawn on the original image only in the part corresponding to the mask part of the mask image, and the text with specified transparency is combined with the original image. can output output image data indicating Therefore, according to the above-described configuration, compared to the case where the program itself calculates the post-composition color for each pixel corresponding to the text portion, the operating system can take care of the calculation of the post-composition color. , which simplifies the processing of the program when outputting an image composed of text with specified transparency.

本明細書に開示される技術によれば、スキャナの制御に用いるプログラムであって、スキャナで読み取った原稿の画像に透過したテキストを合成するための処理をシンプルにする技術が実現される。 According to the technology disclosed in the present specification, a technology that simplifies the process of synthesizing transparent text with a document image read by a scanner, which is a program used to control a scanner, is realized.

実施の形態にかかるスキャンシステムの概略構成図である。1 is a schematic configuration diagram of a scanning system according to an embodiment; FIG. ユーザがカラー写真選択ボタンを選択した状態のメイン設定画面の例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of a main setting screen in a state where a user selects a color photo selection button; Digital Imprinter基本設定画面の例を示す説明図である。FIG. 4 is an explanatory diagram showing an example of a Digital Imprinter basic setting screen; Digital Imprinter詳細設定画面の例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of a Digital Imprinter detailed setting screen; スキャン処理の手順を示すフローチャートである。4 is a flowchart showing the procedure of scanning processing; スキャン処理の手順を示すフローチャートである。4 is a flowchart showing the procedure of scanning processing; (A)~(F)は、スキャン処理の進行に伴ってメモリ上に生成される各種の画像の例を示す説明図である。(A) to (F) are explanatory diagrams showing examples of various images generated on the memory as the scanning process progresses. 本形態のスキャン処理を経てファイルに出力される出力画像の例を示す説明図である。FIG. 10 is an explanatory diagram showing an example of an output image output to a file through scanning processing according to the present embodiment; (A)~(F)は、第2実施形態に係るスキャン処理の進行に伴ってメモリ上に生成される各種の画像の例を示す説明図である。(A) to (F) are explanatory diagrams showing examples of various images generated in the memory as the scanning process proceeds according to the second embodiment. 第2実施形態に係る出力処理の手順を示す図5B相当のフローチャートである。FIG. 5B is a flowchart corresponding to FIG. 5B showing the procedure of output processing according to the second embodiment; 第2実施形態において、文字を斜めに配置した際の文字描画領域を説明するための説明図である。FIG. 11 is an explanatory diagram for explaining a character drawing area when characters are arranged obliquely in the second embodiment;

(第1実施形態)
以下、スキャンシステムを具体化した実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、本発明に係るプログラムを搭載するパーソナルコンピュータ(以下、「PC」とする)とスキャナとを含むスキャンシステムを開示するものである。
(First embodiment)
Embodiments embodying a scanning system will be described in detail below with reference to the accompanying drawings. This embodiment discloses a scanning system including a personal computer (hereinafter referred to as "PC") loaded with a program according to the present invention and a scanner.

本形態のスキャンシステム100は、図1に示すように、PC1と、スキャナ3と、を含み、これらが互いに接続されたシステムである。PC1は、少なくともスキャナ3との通信機能を備え、スキャナ3へのスキャンコマンドの送信、スキャナ3から読取結果であるスキャンデータの受信、等を行う装置である。PC1は、情報処理装置の一例であり、デバイスの一例である。PC1に代えて、例えば、スマートフォン、タブレットコンピュータであってもよい。 A scanning system 100 of the present embodiment is a system including a PC 1 and a scanner 3, which are connected to each other, as shown in FIG. The PC 1 has at least a communication function with the scanner 3, and is a device that transmits a scan command to the scanner 3, receives scan data as a reading result from the scanner 3, and the like. The PC 1 is an example of an information processing apparatus and an example of a device. For example, a smart phone or a tablet computer may be used instead of the PC 1 .

本形態のPC1は、図1に示すように、CPU11と、メモリ12と、を含むコントローラ10を備えている。また、PC1は、ユーザインタフェース(以下、「ユーザIF」とする)13と、通信インタフェース(以下、「通信IF」とする)14と、を備え、これらがコントローラ10に電気的に接続されている。なお、図1中のコントローラ10は、PC1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にPC1に存在する単一のハードウェアを表すとは限らない。 The PC 1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12, as shown in FIG. The PC 1 also includes a user interface (hereinafter referred to as "user IF") 13 and a communication interface (hereinafter referred to as "communication IF") 14, which are electrically connected to the controller 10. . Note that the controller 10 in FIG. 1 is a general term for hardware and software used to control the PC 1 and does not necessarily represent a single piece of hardware that actually exists in the PC 1 .

CPU11は、メモリ12から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。CPU11は、コンピュータの一例である。メモリ12は、PC1を起動するための起動プログラム、スキャナ3を使用するための各種のアプリケーションプログラム(以下、「アプリ」とする)等の各種のプログラムや、画像データ、文書データ等の各種のデータが記憶される記憶領域である。メモリ12は、各種の処理が実行される際の作業領域としても利用される。 The CPU 11 executes various processes according to programs read from the memory 12 and based on user's operations. The CPU 11 is an example of a computer. The memory 12 stores various programs such as a boot program for booting the PC 1, various application programs for using the scanner 3 (hereinafter referred to as "applications"), and various data such as image data and document data. is a storage area in which is stored. The memory 12 is also used as a work area when various processes are executed.

本形態のPC1のメモリ12には、図1に示すように、OS21と、スキャンアプリ22と、スキャナドライバ23と、が記憶されている。OS21は、Windows(登録商標)である。OS21は、Windowsの他に、例えば、macOS(登録商標)、Linux(登録商標)、iOS(登録商標)、Android(登録商標)であってもよい。 The memory 12 of the PC 1 of this embodiment stores an OS 21, a scan application 22, and a scanner driver 23, as shown in FIG. The OS 21 is Windows (registered trademark). The OS 21 may be, for example, macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), or Android (registered trademark) in addition to Windows.

スキャンアプリ22は、例えば、スキャンを実行させる装置の指定、スキャンデータの保存形式や保存場所の指定、スキャン実行の指示等のユーザの指示を受け付けるプログラムである。スキャンアプリ22は、さらに、スキャナ3から受信したスキャンデータに基づいて、画像の編集の指示を受け付けても良い。 The scan application 22 is, for example, a program that accepts user instructions such as designation of a device for executing scanning, designation of a scan data storage format and storage location, and execution of scanning. The scan application 22 may also receive an image editing instruction based on the scan data received from the scanner 3 .

スキャナドライバ23は、スキャナ3の動作を制御するプログラムであり、スキャンに関する各種の設定を受け付ける。スキャナドライバ23は、スキャナ3のモデルに対応したプログラムであり、例えば、スキャンアプリ22にてスキャナ3でのスキャンの実行指示を受け付けた場合に、スキャンアプリ22によって起動される。スキャナドライバ23は、プログラムの一例である。スキャナドライバ23は、スキャンアプリ22の一部であっても良い。 The scanner driver 23 is a program that controls the operation of the scanner 3 and receives various settings related to scanning. The scanner driver 23 is a program corresponding to the model of the scanner 3 , and is activated by the scan application 22 when, for example, the scan application 22 receives an instruction to execute scanning with the scanner 3 . Scanner driver 23 is an example of a program. The scanner driver 23 may be part of the scan app 22 .

本形態のスキャナドライバ23は、スキャンに関する各種の設定を受け付ける。また、本形態のスキャナドライバ23は、スキャナ3から受信したスキャンデータに基づいて生成される原稿の画像上、すなわち、背景画像上に、ユーザによって入力された文字(数字、記号、絵文字などを含む)、連番や日付などを合成した合成画像を生成する機能、所謂、インプリンタ機能を有する。なお、文字がテキストの一例である。 The scanner driver 23 of this embodiment accepts various settings related to scanning. Further, the scanner driver 23 of the present embodiment displays characters (including numbers, symbols, pictograms, etc.) input by the user on the image of the document generated based on the scan data received from the scanner 3, that is, on the background image. ), and a function of generating a synthesized image by synthesizing serial numbers, dates, etc., that is, an imprinter function. Note that characters are an example of text.

また、本形態のスキャナドライバ23は、スキャナ3でのスキャンに関する各種の設定を受け付けるために、図2に示すメイン設定画面4をユーザIF13上に表示させることができる。 Further, the scanner driver 23 of this embodiment can display the main setting screen 4 shown in FIG.

このメイン設定画面4は、ユーザがイメージタイプを選択するための、カラー写真選択ボタン41と、ウェブ素材選択ボタン42と、モノクロ文書選択ボタン43と、を備える。図2に示すメイン設定画面4は、ユーザがカラー写真選択ボタン41を選択した状態を示す。 This main setting screen 4 has a color photo selection button 41, a web material selection button 42, and a monochrome document selection button 43 for the user to select an image type. The main setting screen 4 shown in FIG. 2 shows a state in which the user has selected the color photo selection button 41 .

また、カラー写真選択ボタン41を選択した状態のメイン設定画面4は、解像度選択欄44と、色数選択欄45と、原稿サイズ選択欄46と、詳細設定ボタン47と、セーブボタン48と、デフォルトボタン49と、スキャン開始ボタン35と、プレスキャンボタン36と、を備えている。 The main setting screen 4 with the color photo selection button 41 selected includes a resolution selection field 44, a number of colors selection field 45, an original size selection field 46, a detailed settings button 47, a save button 48, and a default A button 49, a scan start button 35, and a prescan button 36 are provided.

したがって、本形態では、例えば、ユーザがカラー写真選択ボタン41を選択すると、カラー写真原稿をスキャナ3においてスキャンするために適正な解像度および色数などが自動的に解像度選択欄44および色数選択欄45にプリセットされる。ユーザがウェブ素材選択ボタン42もしくはモノクロ文書選択ボタン43を選択した場合もメイン設定画面4には各ボタンに適した選択欄が表示され、ウェブ素材やモノクロ文書をスキャナ3においてスキャンするために適正なプロパティがプリセットされる。 Therefore, in this embodiment, for example, when the user selects the color photo selection button 41, the appropriate resolution and number of colors for scanning a color photo original with the scanner 3 are automatically selected in the resolution selection field 44 and the color number selection field. preset to 45. When the user selects the web material selection button 42 or the monochrome document selection button 43 , the main setting screen 4 also displays a selection field suitable for each button. Properties are preset.

また、本形態のスキャナドライバ23は、ユーザがユーザIF13を介して詳細設定ボタン47を操作すると、ユーザIF13上に詳細設定画面(図示せず)表示する。この状態において、さらに、ユーザがユーザIF13を介して詳細設定画面に表示された「Digital Imprinter」機能を選択すると、スキャナドライバ23は、図3に示すDigital Imprinter基本設定画面5をユーザIF13上に表示する。 Further, the scanner driver 23 of this embodiment displays a detailed setting screen (not shown) on the user IF 13 when the user operates the detailed setting button 47 via the user IF 13 . In this state, when the user further selects the "Digital Imprinter" function displayed on the detailed setting screen via the user IF 13, the scanner driver 23 displays the Digital Imprinter basic setting screen 5 shown in FIG. 3 on the user IF 13. do.

このDigital Imprinter基本設定画面5は、スキャナドライバ23が備えるインプリンタ機能に関する各種の基本設定を受け付けるための画面である。したがって、Digital Imprinter基本設定画面5は、インプリンタ機能の有効もしくは無効を選択するための選択ボタン51と、インプリンタ機能を最初の頁のみに適用するのか、全頁に亘って適用するのを選択するための適用範囲選択ボタン52と、ユーザがユーザIF13を介して1文字もしくは複数の文字を入力することができる文字入力欄53と、連番の初期値を設定するための連番選択欄54、日付や時間の表示形式を選択するための表示形式選択欄55と、Digital Imprinter詳細設定ボタン56と、Digital Imprinter基本設定画面5においてユーザが設定した各種設定を受け付けるOKボタン57と、ユーザが設定した各種設定をキャンセルするとともに図2に示すメイン設定画面4に戻るキャンセルボタン58と、を備える。 The Digital Imprinter basic setting screen 5 is a screen for accepting various basic settings related to the imprinter function of the scanner driver 23 . Therefore, the Digital Imprinter basic setting screen 5 includes a selection button 51 for selecting whether the imprinter function is enabled or disabled, and whether to apply the imprinter function to the first page only or to all pages. a character input field 53 in which the user can input one or more characters via the user IF 13; and a serial number selection field 54 for setting the initial value of the serial number. , a display format selection field 55 for selecting the display format of the date and time, a Digital Imprinter detailed setting button 56, an OK button 57 for receiving various settings set by the user on the Digital Imprinter basic setting screen 5, and a user setting screen. and a cancel button 58 for canceling the various settings made and returning to the main setting screen 4 shown in FIG.

したがって、本形態では、スキャナドライバ23は、Digital Imprinter基本設定画面5において、ユーザがユーザIF13を介して文字入力欄53に文字を入力すると、その文字を、スキャナ3から受信したスキャンデータに基づいて生成される原稿の画像上、すなわち、背景画像上に合成する。具体的には、図3に示す状態では、ユーザが文字入力欄53に、「テキスト」の4文字を入力しているので、スキャナドライバ23は、「テキスト」の4文字を、背景画像となる原稿の画像上に合成する。 Therefore, in this embodiment, when the user inputs characters in the character input field 53 via the user IF 13 on the Digital Imprinter basic setting screen 5, the scanner driver 23 converts the characters based on the scan data received from the scanner 3. Synthesis is performed on the image of the original to be generated, that is, on the background image. Specifically, in the state shown in FIG. 3, since the user has entered four characters of "text" in the character input field 53, the scanner driver 23 uses the four characters of "text" as the background image. Composite on the original image.

更に、ユーザがユーザIF13を介してDigital Imprinter基本設定画面5上のDigital Imprinter詳細設定ボタン56を操作すると、本形態のスキャナドライバ23は、図4に示すDigital Imprinter詳細設定画面6をユーザIF13上に表示する。 Further, when the user operates the Digital Imprinter detailed setting button 56 on the Digital Imprinter basic setting screen 5 via the user IF 13, the scanner driver 23 of the present embodiment displays the Digital Imprinter detailed setting screen 6 shown in FIG. indicate.

このDigital Imprinter詳細設定画面6は、スキャナドライバ23が備えるインプリンタ機能に関する各種の詳細設定を受け付けるための画面である。したがって、Digital Imprinter詳細設定画面6は、文字の挿入位置を選択するための挿入位置選択欄61と、文字の表示方向を選択するための文字表示方向選択欄62と、文字のフォント名を選択するためのフォント選択欄63と、文字のサイズを選択するための文字サイズ選択欄64と、文字のスタイルを選択するための文字スタイル選択欄65と、文字の色を選択するための文字色選択欄66と、文字の透明度、すなわち、スキャナ3から受信したスキャンデータに基づいて生成される画像上、すなわち、背景画像上に、どれだけの透明度をもって文字を合成するのかを設定するための透明度設定欄67と、Digital Imprinter詳細設定画面6上でユーザが設定したDigital Imprinter詳細設定を受け付けた後、図3に示すDigital Imprinter基本設定画面5に戻るOKボタン68と、Digital Imprinter詳細設定画面6上でユーザが設定したDigital Imprinter詳細設定をキャンセルした後、図3に示すDigital Imprinter基本設定画面5に戻るキャンセルボタン69と、を備える。 This Digital Imprinter detailed setting screen 6 is a screen for receiving various detailed settings related to the imprinter function of the scanner driver 23 . Therefore, the Digital Imprinter detailed setting screen 6 includes an insertion position selection field 61 for selecting the insertion position of characters, a character display direction selection field 62 for selecting the display direction of characters, and a font name for characters. a font selection field 63 for selecting a character size, a character size selection field 64 for selecting a character size, a character style selection field 65 for selecting a character style, and a character color selection field for selecting a character color 66 and a transparency setting field for setting the transparency of characters, that is, how much transparency the characters are to be synthesized on the image generated based on the scan data received from the scanner 3, that is, on the background image. 67, and after receiving the Digital Imprinter detailed settings set by the user on the Digital Imprinter detailed setting screen 6, return to the Digital Imprinter basic setting screen 5 shown in FIG. and a cancel button 69 for returning to the Digital Imprinter basic setting screen 5 shown in FIG. 3 after canceling the Digital Imprinter detailed settings set by .

図4に示すDigital Imprinter詳細設定画面6では、図3に示すDigital Imprinter基本設定画面5の文字入力欄53に入力された文字に関して、挿入位置選択欄61において文字の挿入位置として「中央」を、また、文字表示方向選択欄62において文字の文字表示方向として「水平」を、また、フォント選択欄63において文字のフォントとしてPC1で使われている「システムフォント」を、また、文字サイズ選択欄64において文字の文字サイズとして「48ポイント」を、また、文字スタイル選択欄65において文字の文字スタイルとして「標準」を、文字色選択欄66において文字の色としてカラーの文字色を、また、透明度設定欄67において文字の透明度として「50%」を、ユーザがユーザIF13を介してそれぞれ設定した状態を示している。 On the Digital Imprinter detailed setting screen 6 shown in FIG. 4, the characters input in the character input field 53 of the Digital Imprinter basic setting screen 5 shown in FIG. In the character display direction selection field 62, the character display direction is set to "horizontal"; in the font selection field 63, the character font is set to "system font" used in the PC 1; , "48 points" as the character size of the characters, "standard" as the character style in the character style selection field 65, "color" as the character color in the character color selection field 66, and transparency setting A column 67 shows a state in which the user sets "50%" as the character transparency through the user IF 13 .

したがって、本形態では、スキャナドライバ23は、図3に示すDigital Imprinter基本設定画面5の文字入力欄53にユーザが入力した「テキスト」の4文字ついて、背景画像となる原稿の画像上に、図4に示すDigital Imprinter詳細設定画面6上においてユーザが設定した詳細設定に基づいて合成する。 Therefore, in this embodiment, the scanner driver 23 displays four characters of "text" input by the user in the character input field 53 of the Digital Imprinter basic setting screen 5 shown in FIG. Synthesis is performed based on the detailed settings set by the user on the Digital Imprinter detailed setting screen 6 shown in FIG.

なお、本形態では、文字色選択欄66において設定される文字の色は、単色のカラーに限定されることはなく、単色もしくは複数色によってグラデーションのような加工が行われたカラーであっても差し支えない。また、文字色選択欄66において設定される文字の色は、グレー色を含む黒色であっても差し支えない。また、本形態では、文字の色は、ユーザがユーザIF13を介して文字色選択欄66において設定した文字の色としたが、予めスキャナドライバ23上にプリセットされた固定の文字の色を使用するものであっても良い。 In this embodiment, the character color set in the character color selection field 66 is not limited to a single color, and may be a single color or a color that has undergone processing such as gradation using multiple colors. It's okay. Further, the character color set in the character color selection field 66 may be black including gray. In this embodiment, the character color is set by the user in the character color selection field 66 via the user IF 13, but a fixed character color preset on the scanner driver 23 is used. It can be anything.

図1に戻って、メモリ12の一例は、PC1に内蔵されるROM、RAM、HDD等に限らず、CPU11が読み取り可能かつ書き込み可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non-transitoryな媒体である。non-transitoryな媒体には、上記の例の他に、CD-ROM、DVD-ROM等の記録媒体も含まれる。また、non-transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non-transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。 Returning to FIG. 1, an example of the memory 12 is not limited to the ROM, RAM, HDD, etc. built into the PC 1, but may be a storage medium readable and writable by the CPU 11. FIG. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media include recording media such as CD-ROMs and DVD-ROMs. A non-transitory medium is also a tangible medium. On the other hand, an electrical signal that carries a program downloaded from a server on the Internet is a computer-readable signal medium, which is a kind of computer-readable medium, but is a non-transitory computer-readable storage. Not included in media.

ユーザIF13は、情報を報知するための画面を表示するハードウェアと、ユーザによる操作を受け付けるハードウェアと、を含む。ユーザIF13は、表示機能と操作受け付け機能とを有するタッチパネルであっても良いし、表示機能を有するディスプレイと、操作受け付け機能を有するキーボード、マウス、トラックボール等との組であっても良い。 The user IF 13 includes hardware that displays a screen for reporting information and hardware that accepts user operations. The user IF 13 may be a touch panel having a display function and an operation reception function, or may be a combination of a display having a display function and a keyboard, mouse, trackball, etc. having an operation reception function.

通信IF14は、スキャナ3等の外部装置と通信を行うためのハードウェアを含む。通信IF14の通信規格は、イーサネット(登録商標)、Wi-Fi(登録商標)、USB等である。通信IF14は、複数の通信規格に対応する複数の構成を含んでいても良い。 The communication IF 14 includes hardware for communicating with an external device such as the scanner 3 . The communication standard of the communication IF 14 is Ethernet (registered trademark), Wi-Fi (registered trademark), USB, or the like. The communication IF 14 may include multiple configurations corresponding to multiple communication standards.

本形態のスキャナ3は、PC1との通信機能と、原稿の画像を読み取ってスキャンデータを生成する画像読取機能と、を有する装置である。スキャナ3は、画像読取装置の一例である。本形態のスキャナ3は、図1に示すように、自動原稿搬送装置(以下、「ADF」とする)31を備え、ADF31にセットされた複数枚の原稿束から原稿を1枚ずつ自動的に搬送して、連続して読み取ることができる。スキャナ3は、スキャン単機能の装置に限らず、例えば、複合機、コピー機、FAX装置であってもよい。 The scanner 3 of this embodiment is a device having a function of communicating with the PC 1 and an image reading function of reading an image of a document and generating scan data. The scanner 3 is an example of an image reading device. As shown in FIG. 1, the scanner 3 of this embodiment includes an automatic document feeder (hereinafter referred to as "ADF") 31, which automatically feeds documents one by one from a stack of documents set on the ADF 31. It can be transported and read continuously. The scanner 3 is not limited to a device with a single scanning function, and may be, for example, a multifunction device, a copier, or a FAX device.

次に、スキャナドライバ23による処理について説明する。なお、以下の処理は、基本的に、プログラムに記述された命令に従ったCPU11の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」等の処理は、CPU11の処理を表している。CPU11による処理は、OSのAPIを用いた処理も含む。また、プログラムに記述された命令に従ったCPU11の処理を、省略した文言で記載することがある。例えば、「CPU11が行う」のように記載することがある。また、プログラムに記述された命令に従ったCPU11の処理を、「プログラムAが行う」のようにCPUを省略した文言で記載することがある。 Next, processing by the scanner driver 23 will be described. It should be noted that the following processing basically shows the processing of the CPU 11 according to the instructions described in the program. That is, the processes such as "judgment", "extraction", "selection", "calculation", "determination", "specification", "acquisition", "acceptance", "control", etc. in the following description are performed by the CPU 11. represent. The processing by the CPU 11 also includes processing using API of the OS. Also, the processing of the CPU 11 according to the instructions written in the program may be described with abbreviated words. For example, it may be described as "performed by the CPU 11". In addition, the processing of the CPU 11 according to the instructions described in the program may be described by abbreviating the CPU, such as "performed by the program A."

なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU11が要求することなくデータを受信するという処理も、「CPUがデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。また、「要求する」、「指示する」とは、要求していることを示す情報や、指示していることを示す情報を相手に出力することを示す概念である。また、要求していることを示す情報や指示していることを示す情報のことを、単に、「要求」、「指示」とも記載する。 Note that "acquisition" is used as a concept that does not require a request. That is, the process of receiving data without the CPU 11 requesting it is also included in the concept of "the CPU acquires data." Also, "data" in this specification is represented by a computer-readable bit string. Data having substantially the same meaning and content but different formats are treated as the same data. The same applies to "information" in this specification. Further, "request" and "instruct" are concepts indicating outputting information indicating requesting or instructing to the other party. Also, information indicating a request or information indicating an instruction is simply referred to as a "request" or an "instruction."

以下、本形態のスキャンシステム100において、PC1にて実行されるスキャン処理の手順について、図5Aおよび図5Bのフローチャートを参照して説明する。スキャン処理は、スキャンアプリ22等にてスキャナ3によるスキャンの実行指示を受け付けたことを契機に、PC1のCPU11にて実行される。本形態のスキャン処理は、スキャナドライバ23による処理である。 In the scanning system 100 of the present embodiment, the procedure of scanning processing executed by the PC 1 will be described below with reference to the flowcharts of FIGS. 5A and 5B. The scanning process is executed by the CPU 11 of the PC 1 when an instruction to execute scanning by the scanner 3 is received by the scan application 22 or the like. The scanning process of this embodiment is performed by the scanner driver 23 .

スキャン処理では、まず、S10において、CPU11は、各設定画面上で設定された各設定内容を取得する。各設定は、スキャンの実行指示を受け付ける前にスキャンアプリ22またはスキャナドライバ23にて設定されている各種のパラメータであり、ユーザの操作等に基づいて設定されている。なお、S10の処理が、テキストデータ取得処理の一例である。 In the scanning process, first, in S10, the CPU 11 acquires each setting content set on each setting screen. Each setting is various parameters set by the scan application 22 or the scanner driver 23 before receiving a scan execution instruction, and is set based on a user's operation or the like. Note that the process of S10 is an example of the text data acquisition process.

具体的には、本形態では、S10において、CPU11は、図2に示すメイン設定画面4上で設定された各設定内容、すなわち、解像度選択欄44において選択された解像度と、色数選択欄45において選択された色数と、原稿サイズ選択欄46において選択された原稿サイズと、を取得する。 Specifically, in this embodiment, in S10, the CPU 11 selects each setting set on the main setting screen 4 shown in FIG. , and the document size selected in the document size selection column 46 are acquired.

また、本形態では、S10において、CPU11は、図3に示すDigital Imprinter基本設定画面5上で設定された各設定内容、すなわち、選択ボタン51においてインプリンタ機能の有効または無効のいずれが選択されているかの情報と、適用範囲選択ボタン52においてインプリンタ機能を最初の頁のみに適用か、または、全頁に亘って適用かのいずれが選択されているかの情報と、文字入力欄53にユーザがユーザIF13を介して入力した文字の情報(文字コード)と、連番選択欄54において設定された連番の初期値の情報と、表示形式選択欄55において選択された日付や時間の表示形式の情報と、を取得する。 Further, in this embodiment, in S10, the CPU 11 selects each setting content set on the Digital Imprinter basic setting screen 5 shown in FIG. information on whether the imprint function is applied to only the first page or applied to all pages in the application range selection button 52; Character information (character code) input via the user IF 13, information on the initial value of the serial number set in the serial number selection field 54, and the display format of the date and time selected in the display format selection field 55. Get information and

また、本形態では、S10において、CPU11は、図4に示すDigital Imprinter詳細設定画面6上で設定された各設定内容、すなわち、挿入位置選択欄61において選択された文字の挿入位置の情報と、文字表示方向選択欄62において選択された文字の表示方向の情報と、フォント選択欄63において選択された文字のフォント名の情報と、文字サイズ選択欄64において選択された文字サイズの情報と、文字スタイル選択欄65において選択された文字スタイルの情報と、文字色選択欄66において選択された文字色の情報と、透明度設定欄67において設定された透明度の情報と、を取得する。 Further, in this embodiment, in S10, the CPU 11 receives each setting set on the Digital Imprinter detailed setting screen 6 shown in FIG. Information on the display direction of the character selected in the character display direction selection field 62, information on the font name of the character selected in the font selection field 63, information on the character size selected in the character size selection field 64, and the character Information on the character style selected in the style selection field 65, information on the character color selected in the character color selection field 66, and information on the transparency set in the transparency setting field 67 are acquired.

次に、S11において、CPU11は、スキャンコマンドを生成して、生成したスキャンコマンドをスキャナ3に送信する。 Next, in S<b>11 , the CPU 11 generates a scan command and transmits the generated scan command to the scanner 3 .

スキャナ3は、受信したスキャンコマンドに基づいて、ADF31にセットされた原稿を1枚ずつスキャンし、スキャンデータを自身のメモリ(図示せず)に記憶する。 The scanner 3 scans the document set on the ADF 31 one by one based on the received scan command, and stores the scan data in its own memory (not shown).

スキャナ3は、受信したスキャンコマンドに基づいて、自身のメモリに記憶した原稿1枚分のスキャンデータを自身のメモリから読み出してPC1に送信する。なお、スキャナ3は、スキャンコマンドを受信するごとに、1枚の原稿をスキャンして自身のメモリに記憶するように構成しても差し支えない。また、スキャンコマンドを受信した際に、最初に複数枚の原稿を纏めてスキャンして自身のメモリに記憶し、その後、1枚の原稿のスキャンデータを自身のメモリから読み出してPC1に送信するように構成してもよいし、また、複数枚の原稿を纏めてPC1に送信するように構成してもよい。 Based on the received scan command, the scanner 3 reads the scan data for one document stored in its own memory from its own memory and transmits it to the PC 1 . Note that the scanner 3 may be configured to scan one document and store it in its own memory each time it receives a scan command. Also, when a scan command is received, first, a plurality of originals are scanned collectively and stored in its own memory, and then the scan data of one original is read out from its own memory and sent to the PC 1. Alternatively, a plurality of originals may be collectively transmitted to the PC 1 .

次に、S12において、CPU11は、スキャナ3から送信されてくる原稿のスキャンデータを受信し、メモリ12に記憶する。なお、S12の処理が、原稿画像取得処理の一例である。 Next, in S<b>12 , the CPU 11 receives the scanned data of the document transmitted from the scanner 3 and stores it in the memory 12 . Note that the process of S12 is an example of the document image acquisition process.

次に、S13において、CPU11は、1枚分の原稿のスキャンデータを受信し終えたか否かを判断する。CPU11は、原稿のスキャンデータを受信し終えていないと判断した場合には(S13:NO)、CPU11は、S12に戻り、引き続き、スキャナ3から送信されてくる原稿のスキャンデータを受信する。 Next, in S13, the CPU 11 determines whether or not the reception of the scan data of one document has been completed. When the CPU 11 determines that the document scan data has not been received yet (S13: NO), the CPU 11 returns to S12 and continues to receive the document scan data transmitted from the scanner 3 .

一方、S13において、CPU11は、1枚分の原稿のスキャンデータを受信し終えたと判断した場合には(S13:YES)、次のS14に移行する。なお、S13おけるCPU11の判断は、スキャナ3から送信されてくる1枚分の原稿のスキャンデータの最後に付属している1頁終了情報に基づいて判断しても良い。 On the other hand, when the CPU 11 determines in S13 that the reception of the scan data of one document has been completed (S13: YES), the CPU 11 proceeds to the next S14. Note that the determination of the CPU 11 in S13 may be based on one-page end information attached to the end of the scan data of one document transmitted from the scanner 3 .

次に、S14において、CPU11は、インプリンタ機能が有効か否かを判断する。ここで、ユーザが、図3に示すDigital Imprinter基本設定画面5上の選択ボタン51においてインプリンタ機能の有効を選択していた場合には(図3において選択ボタン51にチェックが入っている状態)、CPU11は、S14において、インプリンタ機能が有効と判断し(S14:YES)、次のS15へ移行する。 Next, in S14, the CPU 11 determines whether the imprinter function is valid. Here, if the user has selected enablement of the imprinter function with the selection button 51 on the Digital Imprinter basic setting screen 5 shown in FIG. 3 (the selection button 51 is checked in FIG. 3). , the CPU 11 determines in S14 that the imprinter function is valid (S14: YES), and proceeds to the next S15.

一方、ユーザが、図3に示すDigital Imprinter基本設定画面5上の選択ボタン51においてインプリンタ機能の無効(スキップ)を選択していた場合には(選択ボタン51にチェックが入っていない状態)、CPU11は、S14において、インプリンタ機能が有効ではないと判断し(S14:NO)、次に、CPU11は、S22において、通常のスキャンの出力処理を行った後、スキャン処理を終了する。ここで、通常のスキャンの出力処理とは、S12~S14、後述するS22~S23の処理を繰り返して実行することにより、受信したスキャンデータに基づいて、原稿を読み取った画像の画像データを生成して出力する処理であり、既存の技術であるので説明を省略する。 On the other hand, if the user has selected disabling (skipping) of the imprinter function with the selection button 51 on the Digital Imprinter basic setting screen 5 shown in FIG. In S14, the CPU 11 determines that the imprinter function is not valid (S14: NO). Next, in S22, the CPU 11 performs normal scan output processing, and then ends the scan processing. Here, the normal scan output process is to generate the image data of the image read from the document based on the received scan data by repeatedly executing the processes of S12 to S14 and S22 to S23 which will be described later. Since this is an existing technology, the description is omitted.

次に、S15において、CPU11は、設定は先頭頁のみか否かを判断する。ここで、ユーザが、図3に示すDigital Imprinter基本設定画面5上の適用範囲選択ボタン52において、「First Page Only」を選択していた場合には、設定は先頭頁のみであると判断し(S15:YES)、次のS16に移行する。 Next, in S15, the CPU 11 determines whether or not only the first page is set. Here, if the user has selected "First Page Only" in the application range selection button 52 on the Digital Imprinter basic setting screen 5 shown in FIG. S15: YES), the process proceeds to the next S16.

次に、S16において、CPU11は、受信した原稿のスキャンデータが1頁目のスキャンデータであるか否かを判断する。そして、受信した原稿のスキャンデータが1頁目のスキャンデータであると判断した場合には(S16:YES)、次のS17に移行する。すなわち、受信した1頁目の原稿のスキャンデータの場合には、その原稿のスキャンデータにインプリンタ機能処理を実行した上で、原稿を読み取った画像の画像データを生成して出力する。 Next, in S16, the CPU 11 determines whether or not the received scan data of the document is the scan data of the first page. When it is determined that the received scan data of the document is the scan data of the first page (S16: YES), the process proceeds to the next step S17. That is, in the case of the received scan data of the first page of the document, the imprint function processing is executed on the scan data of the document, and image data of the image read from the document is generated and output.

一方、S16において、CPU11は、受信した原稿のスキャンデータが1頁目のスキャンデータではないと判断した場合には(S16:NO)には、次のS22に移行する。すなわち、適用範囲選択ボタン52において、「First Page Only」を選択していた場合において、1頁目以外の原稿のスキャンデータの場合には、その原稿のスキャンデータへのインプリンタ機能処理をスキップして原稿を読み取った画像の画像データを生成して出力する。 On the other hand, if the CPU 11 determines in S16 that the received scan data of the document is not the scan data of the first page (S16: NO), the process proceeds to the next S22. That is, when "First Page Only" is selected in the application range selection button 52, in the case of the scanned data of the document other than the first page, the imprint function processing for the scanned data of the document is skipped. The image data of the image read from the original is generated and output.

一方、ユーザが、図3に示すDigital Imprinter基本設定画面5上の適用範囲選択ボタン52において、「All Pages」を選択していた場合には、設定は先頭頁のみではないと判断し(S15:NO)、次のS17に移行する。すなわち、適用範囲選択ボタン52において、「All Pages」を選択していた場合において、全頁の原稿のスキャンデータに、インプリンタ機能処理を実行した上で、原稿を読み取った画像の画像データを生成して出力する。 On the other hand, if the user has selected "All Pages" in the application range selection button 52 on the Digital Imprinter basic setting screen 5 shown in FIG. NO), the process proceeds to the next step S17. That is, when "All Pages" is selected in the application range selection button 52, the image data of the image read from the document is generated after performing the imprint function processing on the scanned data of all pages of the document. and output.

次に、S17において、CPU11は、受信したスキャンデータに基づいて、背景画像となる原稿の画像71をメモリ12上に生成し(図6(A)参照)、また、画像71をコピーしたコピー画像72をメモリ12上に生成する(図6(B)参照)。なお、S16の処理が、コピー画像生成処理の一例である。 Next, in S17, the CPU 11 generates an image 71 of the original as a background image on the memory 12 based on the received scan data (see FIG. 6A), and creates a copy image obtained by copying the image 71. 72 is generated on the memory 12 (see FIG. 6(B)). Note that the process of S16 is an example of the copy image generation process.

次に、S18において、CPU11は、文字の色で全面塗りつぶした長方形の文字色画像73をメモリ12上に生成する(図6(C)参照)。なお、ここで言う文字の色とは、図4に示すDigital Imprinter詳細設定画面6上の文字色選択欄66において選択された文字の色である。また、文字色画像73のサイズは、画像71のサイズと同じであるが、合成される文字を描画できる領域以上のサイズであればよく、厳密に同じである必要はない。文字色画像73が画像71のサイズと異なる場合の具体例は第2実施形態として後述する。なお、S17の処理が、特定色画像生成処理の一例である。 Next, in S18, the CPU 11 generates, on the memory 12, a rectangular character color image 73 entirely filled with the character color (see FIG. 6C). The character color referred to here is the character color selected in the character color selection field 66 on the Digital Imprinter detailed setting screen 6 shown in FIG. Also, the size of the character color image 73 is the same as the size of the image 71, but it does not have to be exactly the same as long as the size is larger than the area in which the character to be synthesized can be drawn. A specific example in which the character color image 73 is different in size from the image 71 will be described later as a second embodiment. Note that the process of S17 is an example of the specific color image generation process.

なお、本形態では、文字色画像73のサイズは、画像71のサイズと同じであるので、トリミングなどの処理を必要とせず、処理が簡単となる。 In this embodiment, since the size of the character color image 73 is the same as the size of the image 71, processing such as trimming is not required, and processing is simplified.

次に、S19において、CPU11は、OS21の一部であって、OS21のメーカによって提供されるライブラリに含まれる機能(本形態ではWindows APIのAlphaBlend機能)を使用して、図6(B)に示すコピー画像72に、透明度を指定して図6(C)に示す文字色画像73を合成して文字色合成画像74をメモリ12上に生成する(図6(D)参照)。なお、ここで言う透明度は、図4に示すDigital Imprinter詳細設定画面6上の透明度設定欄67において設定された透明度が反映される。なお、S18の処理が、合成画像生成処理の一例である。また、文字色合成画像が合成画像の一例である。 Next, in S19, the CPU 11 is a part of the OS 21 and uses a function included in a library provided by the manufacturer of the OS 21 (in this embodiment, the AlphaBlend function of the Windows API) to perform the processing shown in FIG. A character color image 73 shown in FIG. 6(C) is synthesized with the copy image 72 shown in FIG. The transparency here reflects the transparency set in the transparency setting field 67 on the Digital Imprinter detailed setting screen 6 shown in FIG. Note that the process of S18 is an example of the synthetic image generation process. Also, the character color composite image is an example of the composite image.

次に、S20において、CPU11は、黒地に白色で文字を描画したマスク画像75をメモリ12上に生成する(図6(E)参照)。なお、ここで言う文字は、図3に示すDigital Imprinter基本設定画面5上の文字入力欄53に、ユーザがユーザIF13を介して入力した文字であり、本形態では、「テキスト」との4個の文字が文字入力欄53に入力されているものとする。なお、S19の処理が、マスク画像生成処理の一例である。 Next, in S20, the CPU 11 generates a mask image 75 in which characters are drawn in white on a black background on the memory 12 (see FIG. 6E). The characters referred to here are characters input by the user via the user IF 13 in the character input field 53 on the Digital Imprinter basic setting screen 5 shown in FIG. is entered in the character input field 53 . Note that the process of S19 is an example of the mask image generation process.

また、マスク画像75上における文字の位置、文字の表示方向、文字フォントの種類、文字のサイズ、文字のスタイルは、図4に示すDigital Imprinter詳細設定画面6上の挿入位置選択欄61において選択された文字の挿入位置、文字表示方向選択欄62において選択された文字の表示方向、フォント選択欄63において選択された文字のフォント名、文字サイズ選択欄64において選択された文字サイズ、文字スタイル選択欄65において選択された文字スタイルがそれぞれ反映される。 The character position, character display direction, character font type, character size, and character style on the mask image 75 are selected in the insertion position selection field 61 on the Digital Printer detailed setting screen 6 shown in FIG. character display direction selected in the character display direction selection field 62, font name of the character selected in the font selection field 63, character size selected in the character size selection field 64, character style selection field Each character style selected at 65 is reflected.

次に、S21において、CPU11は、同じくOS21のメーカによって提供されるライブラリに含まれる機能(本形態ではWindows APIのMaskBit機能またはPlgBit機能)を使用して、背景画像となる画像71(図6(A)参照)に、文字色合成画像74(図6(D)参照)を、マスク画像75(図6(E)参照)の白色部分(文字の部分)だけ描画することによって出力合成画像76をメモリ12上に生成する(図6(F)参照)。なお、出力合成画像が出力画像の一例である。 Next, in S21, the CPU 11 uses a function (in this embodiment, the MaskBit function or PlgBit function of the Windows API) included in the library provided by the manufacturer of the OS 21 to generate the background image 71 (Fig. 6 ( A))), the character color composite image 74 (see FIG. 6 (D)) is drawn only the white portion (character portion) of the mask image 75 (see FIG. 6 (E)) to produce an output composite image 76. It is generated on the memory 12 (see FIG. 6(F)). Note that the output composite image is an example of the output image.

このように本形態では、S21において、CPU11は、背景画像となる原稿の画像71上に、図3に示すDigital Imprinter基本設定画面5上の文字入力欄53に、ユーザがユーザIF13を介して入力した「テキスト」との4個の文字77が、図4に示すDigital Imprinter詳細設定画面6上の透明度設定欄67において設定された透明度に基づいて合成された出力合成画像76を生成する。なお、S21の処理が、出力画像生成処理の一例である。 As described above, in the present embodiment, in S21, the CPU 11 allows the user to input text into the character input field 53 on the Digital Printer basic setting screen 5 shown in FIG. The four characters 77 labeled "text" generate an output composite image 76 composited based on the transparency set in the transparency setting field 67 on the Digital Imprinter detailed setting screen 6 shown in FIG. Note that the process of S21 is an example of the output image generation process.

次に、S22において、CPU11は、出力処理を実行し、その後、S23に移行する。ここでの出力処理は、S21において生成された出力合成画像を出力する処理である。具体的には、スキャンデータを受信し画像処理を施した結果を、スキャンアプリ22側に渡して出力する。スキャンアプリ22は、受け取った画像データをユーザIF13に表示をしたり、指定された画像フォーマットに変換したうえで、メモリ12に保存したりする。 Next, in S22, the CPU 11 executes output processing, and then proceeds to S23. The output processing here is processing for outputting the output composite image generated in S21. Specifically, the scan data is received and the result of image processing is passed to the scan application 22 side for output. The scan application 22 displays the received image data on the user IF 13 , converts it into a designated image format, and stores it in the memory 12 .

次に、S23において、CPU11は、スキャンデータについて全頁受信完了か否かを判断する。ここで、次の頁のスキャンデータが存在する場合には、CPU11は、全頁受信を完了していないと判断し(S23:NO)、S12へ戻って次の頁のスキャンデータについて処理をする。 Next, in S23, the CPU 11 determines whether all pages of the scan data have been received. Here, if the scan data of the next page exists, the CPU 11 determines that all pages have not been received (S23: NO), returns to S12, and processes the scan data of the next page. .

一方、スキャンデータを全頁受信している場合には、キャンデータを全頁受信完了と判断し(S23:YES)、本処理を終了する。なお、S23おけるCPU11の判断は、スキャナ3から送信されてくるスキャンデータ終了情報に基づいて判断しても良い。 On the other hand, if all pages of scan data have been received, it is determined that all pages of scan data have been received (S23: YES), and this processing ends. Note that the determination of the CPU 11 in S23 may be determined based on the scan data end information transmitted from the scanner 3. FIG.

このように本形態では、ユーザが、図3に示すDigital Imprinter基本設定画面5上の適用範囲選択ボタン52において、「First Page Only」を選択していた場合には、1枚目の原稿については、文字入力欄53に、ユーザがユーザIF13を介して入力した文字77が、ユーザが図4に示すDigital Imprinter詳細設定画面6上の透明度設定欄67において設定された透明度に基づいて、1枚目の原稿の画像上に合成されてファイルに出力され、2枚目以降の原稿については、その画像に文字77が合成されることがなく、原稿の画像のみがファイルに出力される。 As described above, in this embodiment, when the user selects "First Page Only" in the application range selection button 52 on the Digital Printer basic setting screen 5 shown in FIG. , characters 77 input by the user via the user IF 13 in the character input field 53 are displayed on the first sheet based on the transparency set by the user in the transparency setting field 67 on the Digital Imprinter detailed setting screen 6 shown in FIG. For the second and subsequent documents, only the image of the document is output to the file without the character 77 being synthesized with the image.

一方、ユーザが、図3に示すDigital Imprinter基本設定画面5上の適用範囲選択ボタン52において、「All Pages」を選択していた場合には、文字入力欄53に、ユーザがユーザIF13を介して入力した文字77が、ユーザが図4に示すDigital Imprinter詳細設定画面6上の透明度設定欄67において設定した透明度に基づいて、全頁の原稿の画像上に合成されてファイルに出力される。 On the other hand, if the user has selected "All Pages" in the application range selection button 52 on the Digital Imprinter basic setting screen 5 shown in FIG. Based on the transparency set by the user in the transparency setting field 67 on the Digital Imprinter detailed setting screen 6 shown in FIG. 4, the input characters 77 are superimposed on the original image of all pages and output to a file.

図7に示す画像は、本形態のスキャン処理を経てファイルに出力される最終出力画像78の一例である。本形態では、S22の出力処理において、CPU11は、全頁の原稿の画像上に、図3に示すDigital Imprinter基本設定画面5上の連番選択欄54において設定された連番と、表示形式選択欄55において選択された日付や時間とから成る管理記録用文字79を合成する。この管理記録用文字79を合成する際に、ユーザが図4に示すDigital Imprinter詳細設定画面6上の透明度設定欄67において設定した透明度に基づいて合成するようにしても差し支えない。この場合には、管理記録用文字79についても、先に説明したS17~S21の処理を実行する必要がある。 The image shown in FIG. 7 is an example of a final output image 78 output to a file through the scanning process of this embodiment. In this embodiment, in the output process of S22, the CPU 11 displays the serial number set in the serial number selection column 54 on the Digital Printer basic setting screen 5 shown in FIG. A management record character 79 consisting of the date and time selected in the column 55 is synthesized. When synthesizing the management recording characters 79, the user may synthesize them based on the transparency set in the transparency setting field 67 on the Digital Imprinter detailed setting screen 6 shown in FIG. In this case, it is necessary to perform the processing of S17 to S21 described above also for the management recording characters 79. FIG.

(第2実施形態)
以下、スキャンシステムの第2実施形態に係るスキャン処理の手順について、簡単に説明する。前述したように、第1実施形態では、CPU11は、メモリ12上に生成した原稿の画像71(図6(A)参照)と同じサイズのコピー画像72(図6(B)参照)をメモリ12上に生成する。また、図5に示すS17において、原稿の画像71(図6(A)参照)と同じサイズで、文字色で塗りつぶした長方形の文字色画像73をメモリ12上に生成する(図6(C)参照)ように構成される。一方、第2実施形態では、図8に示すように、コピー画像82および文字色画像83のサイズが、文字が描画できる文字領域と同じサイズとなるように構成されており、その点において、第1実施形態と第2実施形態とは大きく相違している。なお、その説明中、第1実施形態と同じ作用効果を奏するものには、同じ符号を付して説明する。なお、コピー画像82および文字色画像83のサイズは、合成される文字を描画できる文字領域以上のサイズであればよく、厳密に同じである必要はないが、文字領域に近いほど、メモリ12上の占有率を低下させる効果が大きい。
(Second embodiment)
A scan processing procedure according to the second embodiment of the scan system will be briefly described below. As described above, in the first embodiment, the CPU 11 stores the copied image 72 (see FIG. 6B) of the same size as the original image 71 (see FIG. 6A) generated in the memory 12 in the memory 12. generate above. In addition, in S17 shown in FIG. 5, a rectangular character color image 73 having the same size as the document image 71 (see FIG. 6A) and filled with the character color is generated in the memory 12 (FIG. 6C). reference). On the other hand, in the second embodiment, as shown in FIG. 8, the sizes of the copy image 82 and the character color image 83 are configured to be the same size as the character area in which characters can be drawn. The first embodiment and the second embodiment are significantly different. In the description, the same reference numerals are assigned to components that have the same effects as those of the first embodiment. The size of the copy image 82 and the size of the character color image 83 need only be equal to or greater than the size of the character area in which the characters to be synthesized can be drawn, and need not be exactly the same. The effect of lowering the occupancy rate of

すなわち、本形態では、図9に示すS30において、CPU11は、受信したスキャンデータに基づいて、原稿の画像71をメモリ12上に生成する(図8(A)参照)。また、文字が描画される領域となる文字描画領域81を画像71から抽出し、抽出した部分のコピーとなるコピー画像82をメモリ12上に生成する(図8(B)参照)。なお、文字描画領域81は、文字が描画される領域を含む長方形状又は正方形状をなしている。 That is, in this embodiment, in S30 shown in FIG. 9, the CPU 11 generates an image 71 of the document in the memory 12 based on the received scan data (see FIG. 8A). Also, a character drawing area 81, which is a character drawing area, is extracted from the image 71, and a copy image 82, which is a copy of the extracted part, is generated in the memory 12 (see FIG. 8B). Note that the character drawing area 81 has a rectangular shape or a square shape including the area where the characters are drawn.

次に、S31において、CPU11は、文字描画領域81と同じサイズで、文字の色で全面塗りつぶした文字色画像83をメモリ12上に生成する(図8(C)参照)。 Next, in S31, the CPU 11 generates in the memory 12 a character color image 83 which has the same size as the character drawing area 81 and is entirely filled with the character color (see FIG. 8C).

次に、S32において、CPU11は、OS21の一部であって、OS21のメーカによって提供されるライブラリに含まれる機能(本形態ではWindows APIのAlphaBlend機能)を使用して、図8(B)に示すコピー画像82に、透明度を指定して図8(C)に示す文字色画像83を合成して文字色合成画像84をメモリ12上に生成する(図8(D)参照)。 Next, in S32, the CPU 11 uses a function included in a library that is part of the OS 21 and is provided by the manufacturer of the OS 21 (in this embodiment, the AlphaBlend function of the Windows API) to perform the processing shown in FIG. A text color image 83 shown in FIG. 8(C) is combined with the copied image 82 shown in FIG.

このように本形態では、コピー画像82、文字色画像83および文字色合成画像84のサイズを文字描画領域81と同じサイズとしたので、それらのサイズが第1実施形態のものと比べて小さくなり、したがって、メモリ12上の占有率を低下させることができてメモリの負荷を低下させることが可能となる。 As described above, in the present embodiment, the sizes of the copy image 82, the character color image 83, and the character color composite image 84 are set to be the same size as the character drawing area 81, so that their sizes are smaller than those of the first embodiment. Therefore, the occupation rate on the memory 12 can be reduced, and the load on the memory can be reduced.

なお、文字描画領域81は、図3に示すDigital Imprinter基本設定画面5上の文字入力欄53にユーザがユーザIF13を介して入力した文字、図4に示すDigital Imprinter詳細設定画面6上の挿入位置選択欄61において選択された文字の挿入位置、文字表示方向選択欄62において選択された文字の表示方向、フォント選択欄63において選択された文字のフォント名、文字サイズ選択欄64において選択された文字サイズ、文字スタイル選択欄65において選択された文字スタイルなどの情報に基づいて設定される。 Note that the character drawing area 81 is the character input by the user in the character input field 53 on the Digital Imprinter basic setting screen 5 shown in FIG. The insertion position of the character selected in the selection field 61, the display direction of the character selected in the character display direction selection field 62, the font name of the character selected in the font selection field 63, and the character selected in the character size selection field 64 It is set based on information such as the size and the character style selected in the character style selection field 65 .

したがって、図10に示すように、ユーザが、文字表示方向選択欄62において文字の表示方向について「右上斜め45度」を選択した際には、文字が描画される領域となる文字描画領域81は、「Normal」が選択されている場合に比べて拡大される。 Therefore, as shown in FIG. 10, when the user selects "upper right diagonal 45 degrees" for the character display direction in the character display direction selection field 62, the character drawing area 81 where the characters are drawn is , is enlarged compared to when "Normal" is selected.

以上、詳細に説明したように、本形態のスキャンシステム100によれば、OS21の一部であって、OS21のメーカによって提供されるライブラリに含まれる機能(本形態ではWindows APIのAlphaBlend機能)を使用して、背景画像となる原稿の画像のコピー画像に、文字の色で構成される文字色画像を、透明度に基づいて合成した文字色合成画像を生成し、さらに、同じくOS21のメーカによって提供されるライブラリに含まれる機能(本形態ではWindows APIのMaskBit機能またはPlgBit機能)を使用して、文字の位置に対応するマスク画像を利用して、原稿の画像に、文字色合成画像をマスク画像のマスク部分に対応する部分だけを描画することで、透明度を指定した文字を原稿の画像に合成した出力合成画像を示す出力画像データを出力できる。そのため、プログラム(スキャナドライバ)自身がテキスト部分に対応する画素ごとに合成後の色を計算する処理を行う場合と比較して、合成後の色を計算する手間をOS21に任せることになり、透明度を指定したテキストを合成した画像を出力する際のプログラムの処理をシンプルにできる。 As described in detail above, according to the scan system 100 of the present embodiment, functions included in a library that is part of the OS 21 and provided by the manufacturer of the OS 21 (in this embodiment, the AlphaBlend function of the Windows API) are is used to generate a text-color composite image by synthesizing a text-color image composed of text colors with a copy image of an original image serving as a background image on the basis of the degree of transparency. Using the function included in the library (in this embodiment, the MaskBit function or PlgBit function of Windows API), the mask image corresponding to the position of the character is used to superimpose the character color composite image on the original image. By drawing only the portion corresponding to the masked portion of , it is possible to output output image data representing an output composite image obtained by combining characters whose transparency is specified with the original image. Therefore, compared to the case where the program (scanner driver) itself calculates the post-composition color for each pixel corresponding to the text portion, the task of calculating the post-composition color is left to the OS 21. It is possible to simplify the processing of the program when outputting an image synthesized with the specified text.

なお、本実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。したがって本発明は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、スキャンシステム100を構成するPCやスキャナは、1台に限らず、複数台有ってもよい。 It should be noted that the present embodiment is merely an example, and does not limit the present invention in any way. Therefore, the present invention can naturally be improved and modified in various ways without departing from the scope of the invention. For example, the number of PCs and scanners constituting the scanning system 100 is not limited to one, and may be plural.

また、例えば、スキャナ3は、ADF31を備えていないものでも良い。その場合、ユーザは、原稿台に1枚ずつ原稿をセットしてスキャン実行指示を行う必要がある。 Further, for example, the scanner 3 may not have the ADF 31 . In this case, the user needs to set the documents one by one on the platen and issue a scan execution instruction.

また、実施の形態に開示されている任意のフローチャートにおいて、任意の複数のステップにおける複数の処理は、処理内容に矛盾が生じない範囲で、任意に実行順序を変更できる、または並列に実行できる。 Further, in any flowchart disclosed in the embodiments, multiple processes in any multiple steps can be arbitrarily changed in execution order or executed in parallel as long as there is no contradiction in the processing contents.

また、実施の形態に開示されている処理は、単一のCPU、複数のCPU、ASICなどのハードウェア、またはそれらの組み合わせで実行されてもよい。また、実施の形態に開示されている処理は、その処理を実行するためのプログラムを記録した記録媒体、または方法等の種々の態様で実現することができる。 Also, the processing disclosed in the embodiments may be performed by a single CPU, multiple CPUs, hardware such as an ASIC, or a combination thereof. Further, the processes disclosed in the embodiments can be realized in various forms such as a recording medium recording a program for executing the processes, a method, and the like.

1 PC
3 スキャナ
4 メイン設定画面
5 Digital Imprinter基本設定画面
53 文字入力欄
6 Digital Imprinter詳細設定画面
66 文字色選択欄
67 透明度設定欄
11 CPU
12 メモリ
13 ユーザIF
71 原稿の画像
72 コピー画像
73 文字色画像
74 文字色合成画像
75 マスク画像
76 出力合成画像
1 PC
3 Scanner 4 Main setting screen 5 Digital Imprinter basic setting screen 53 Character input field 6 Digital Imprinter detailed setting screen 66 Character color selection field 67 Transparency setting field 11 CPU
12 memory 13 user interface
71 Original image 72 Copy image 73 Text color image 74 Text color composite image 75 Mask image 76 Output composite image

Claims (5)

情報処理装置のコンピュータによって実行可能であり、スキャナの制御に用いるプログラムであって、
前記コンピュータに、
前記スキャナによって読み取られた原稿の画像を示す原稿画像データを取得する原稿画像取得処理と、
透明度および色情報が関連付けられたテキストデータを取得するテキストデータ取得処理と、
前記原稿画像取得処理にて取得した前記原稿画像データに示される前記原稿の画像のうち、少なくともテキストが描画される領域を含む部分のコピーとなるコピー画像を示すコピー画像データを生成するコピー画像生成処理と、
前記コピー画像生成処理にて生成した前記コピー画像データに示される前記コピー画像と同じサイズであって、前記テキストデータ取得処理にて取得した前記テキストデータに関連付けられた前記色情報に対応する色で構成される特定色画像を示す特定色画像データを生成する特定色画像生成処理と、
前記情報処理装置のオペレーティングシステムによって提供される機能を利用して、前記コピー画像生成処理にて生成した前記コピー画像データに示される前記コピー画像に、前記特定色画像生成処理にて生成した前記特定色画像データに示される前記特定色画像を、前記テキストデータ取得処理にて取得した前記テキストデータに関連付けられた前記透明度に基づいて合成した合成画像を示す合成画像データを生成する合成画像生成処理と、
前記コピー画像生成処理にて生成した前記コピー画像データに示される前記コピー画像と同じサイズであって、黒色のベタ画像に前記テキストデータ取得処理にて取得した前記テキストデータに示されるテキストを白色で描画したマスク画像を示すマスク画像データを生成するマスク画像生成処理と、
前記情報処理装置のオペレーティングシステムによって提供される機能を利用して、前記原稿画像取得処理にて取得した前記原稿画像データに示される前記原稿の画像に、前記合成画像生成処理にて生成した前記合成画像データに示される前記合成画像のうち、前記マスク画像生成処理にて生成した前記マスク画像データに示される前記マスク画像の白色部分に対応する部分を描画した出力画像を示す出力画像データを生成する出力画像生成処理と、
を実行させることを特徴とするプログラム。
A program executable by a computer of an information processing device and used for controlling a scanner,
to the computer;
document image acquisition processing for acquiring document image data representing an image of the document read by the scanner;
a text data acquisition process for acquiring text data associated with transparency and color information;
Copy image generation for generating copy image data representing a copy image of a portion including at least a text drawing area of the image of the document shown in the document image data acquired in the document image acquisition process. processing;
The copy image has the same size as the copy image shown in the copy image data generated in the copy image generation process, and has a color corresponding to the color information associated with the text data acquired in the text data acquisition process. specific color image generation processing for generating specific color image data representing a specific color image to be constructed;
Using the function provided by the operating system of the information processing apparatus, the specific color image generated in the specific color image generation process is added to the copy image shown in the copy image data generated in the copy image generation process. a synthetic image generation process for generating synthetic image data representing a synthetic image obtained by synthesizing the specific color image represented by the color image data based on the transparency associated with the text data acquired in the text data acquisition process; ,
The text shown in the text data acquired in the text data acquisition process is displayed in white on a black solid image having the same size as the copy image represented in the copy image data generated in the copy image generation process. mask image generation processing for generating mask image data representing the drawn mask image;
Using a function provided by an operating system of the information processing apparatus, the synthesis generated in the synthetic image generation process is added to the image of the document indicated in the document image data acquired in the document image acquisition process. generating output image data representing an output image obtained by rendering a portion corresponding to a white portion of the mask image represented by the mask image data generated by the mask image generation processing, in the composite image represented by the image data; output image generation processing;
A program characterized by causing the execution of
請求項1に記載するプログラムであって、
前記コピー画像生成処理では、
前記原稿画像取得処理にて取得した前記原稿画像データに示される前記原稿の画像のうち、テキストが描画される領域となるテキスト領域の部分を抽出し、抽出した前記部分のコピーとなる前記コピー画像を示す前記コピー画像データを生成する、
ことを特徴とするプログラム。
A program according to claim 1,
In the copy image generation process,
extracting a portion of a text area, which is an area in which text is drawn, from the image of the document indicated by the document image data acquired by the document image acquiring process, and the copy image being a copy of the extracted portion; generating said copy image data indicative of
A program characterized by
請求項1に記載するプログラムであって、
前記コピー画像生成処理では、
前記原稿画像取得処理にて取得した前記原稿画像データに示される前記原稿の画像全体のコピーとなる前記コピー画像を示す前記コピー画像データを生成する、
ことを特徴とするプログラム。
A program according to claim 1,
In the copy image generation process,
generating the copy image data indicating the copy image, which is a copy of the entire image of the document indicated in the document image data obtained in the document image obtaining process;
A program characterized by
請求項1から請求項3のいずれか1つに記載するプログラムであって、
前記マスク画像生成処理にて生成される前記マスク画像データに示される前記マスク画像は、2値画像である、
ことを特徴とするプログラム。
A program according to any one of claims 1 to 3,
The mask image shown in the mask image data generated in the mask image generation process is a binary image.
A program characterized by
請求項1から請求項3のいずれか1つに記載するプログラムであって、
前記コンピュータに、
前記透明度および前記色情報を、前記情報処理装置のユーザインタフェースを用いて受け付ける受付処理を実行させ、
前記テキストデータ取得処理では、
前記受付処理にて受け付けた前記透明度および前記色情報が関連付けられた前記テキストデータを取得する、
ことを特徴とするプログラム。
A program according to any one of claims 1 to 3,
to the computer;
executing a reception process for receiving the transparency and the color information using the user interface of the information processing device;
In the text data acquisition process,
obtaining the text data associated with the transparency and the color information received in the receiving process;
A program characterized by
JP2021123177A 2021-07-28 2021-07-28 program Pending JP2023018850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021123177A JP2023018850A (en) 2021-07-28 2021-07-28 program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021123177A JP2023018850A (en) 2021-07-28 2021-07-28 program

Publications (1)

Publication Number Publication Date
JP2023018850A true JP2023018850A (en) 2023-02-09

Family

ID=85158993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021123177A Pending JP2023018850A (en) 2021-07-28 2021-07-28 program

Country Status (1)

Country Link
JP (1) JP2023018850A (en)

Similar Documents

Publication Publication Date Title
US8861022B2 (en) Image processing apparatus with preview display function, image processing method, and image processing program
US20100315681A1 (en) Image processing apparatus, image processing method, and computer-readable storage medium
US8314964B2 (en) Image processing apparatus and image processing method
KR20110004795A (en) Apparatus, method, system and storage medium for setting print status
US20190138251A1 (en) Image processing apparatus
JP2012212963A (en) Controller
JP2017156852A (en) Image processing device and computer program
JP2012212964A (en) Image processor
US20180035006A1 (en) Print transformation effects
JP5890667B2 (en) Image processing apparatus, control method thereof, and program
JP2017228838A (en) Image processing apparatus, image processing method and program
JP2010213121A (en) Image processing apparatus, system and image processing method
JP7022317B2 (en) Control programs and information processing equipment
US10133518B2 (en) Image forming apparatus and recording medium suitable for test copy
JP2023018850A (en) program
JP2018198377A (en) Image forming apparatus
JP2014017636A (en) Image reader and program
JP2020145632A (en) Image processing apparatus, image processing system, and program
JP4784635B2 (en) Image processing apparatus, image forming apparatus, and program
US9001388B2 (en) Imaging forming apparatus to merge print data with a rendering image, method of image forming, and computer-readable recording medium
JP5672340B2 (en) Control device
US8773742B2 (en) Control device for generating a file in a file format includes stored and scanned pages with electronic signature
US20130063775A1 (en) Image forming apparatus capable of providing actual-size preview, method of controlling the same, and storage medium
JP6260144B2 (en) Image processing apparatus and computer program
JP2023000217A (en) Image processing apparatus, image processing method, and program