Movatterモバイル変換


[0]ホーム

URL:


JP2006040130A - File processing apparatus, image display apparatus, file processing method, and file processing program - Google Patents

File processing apparatus, image display apparatus, file processing method, and file processing program
Download PDF

Info

Publication number
JP2006040130A
JP2006040130AJP2004221939AJP2004221939AJP2006040130AJP 2006040130 AJP2006040130 AJP 2006040130AJP 2004221939 AJP2004221939 AJP 2004221939AJP 2004221939 AJP2004221939 AJP 2004221939AJP 2006040130 AJP2006040130 AJP 2006040130A
Authority
JP
Japan
Prior art keywords
file
type file
image
type
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.)
Withdrawn
Application number
JP2004221939A
Other languages
Japanese (ja)
Inventor
Hideyuki Narisawa
秀幸 成澤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson CorpfiledCriticalSeiko Epson Corp
Priority to JP2004221939ApriorityCriticalpatent/JP2006040130A/en
Priority to US11/192,430prioritypatent/US20060119911A1/en
Priority to US11/192,440prioritypatent/US7812977B2/en
Publication of JP2006040130ApublicationCriticalpatent/JP2006040130A/en
Withdrawnlegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromJapanese

【課題】 第一種ファイルに第二種ファイルの識別子を格納することによって第一種ファイルに第二種ファイルを関連付ける場合において、第一種ファイルが複数あっても各第一種ファイルに第二種ファイルが関連付けられているか否かを短時間で確認可能にするファイル処理装置、ファイル処理方法及びファイル処理プログラムを提供する。
【解決手段】 本発明のファイル処理装置は、記憶媒体から第一種ファイルを検索する第一の検索手段と、前記第一の検索手段で検索された前記第一種ファイルに第二種ファイルの識別子が格納されているか否かを判別し、判別結果に基づいて前記第一種ファイルと前記第二種ファイルとの対応付けに関する情報を作成する対応情報作成手段と、を備える。
【選択図】 図1
PROBLEM TO BE SOLVED: To associate a second type file with a first type file by storing an identifier of the second type file in the first type file, even if there are a plurality of first type files, the second type file is assigned to each second type file. Provided are a file processing apparatus, a file processing method, and a file processing program that enable confirmation of whether or not a seed file is associated in a short time.
A file processing apparatus according to the present invention includes a first search unit for searching for a first type file from a storage medium, and a second type file in the first type file searched by the first search unit. Correspondence information creating means for judging whether or not an identifier is stored and creating information related to the correspondence between the first type file and the second type file based on the judgment result.
[Selection] Figure 1

Description

Translated fromJapanese

本発明はファイル処理装置、画像表示装置、ファイル処理方法及びファイル処理プログラムに関する。  The present invention relates to a file processing device, an image display device, a file processing method, and a file processing program.

任意の画像と合成するための部品画像や任意の画像を印刷する際のレイアウトを指定するテンプレートファイルが知られている。テンプレートファイルには例えば任意の画像が割り付けられる領域を定義する情報、任意の文字列が割り付けられる領域を定義する情報、背景あるいは前景として合成される部品画像を指定する情報、部品画像が割り付けられる領域を定義する情報などが格納されている。テンプレートファイルは年賀状、誕生日、クリスマス、旅行などといったテーマに応じて予め用意され、ユーザはテンプレートファイルを選択することによって画像を目的に応じた部品画像と合成したり、目的に応じたレイアウトで印刷できる。  There are known template files for specifying a component image to be combined with an arbitrary image and a layout for printing an arbitrary image. In the template file, for example, information defining an area to which an arbitrary image is allocated, information defining an area to which an arbitrary character string is allocated, information specifying a component image to be synthesized as a background or foreground, an area to which a component image is allocated Stores information that defines Template files are prepared in advance according to themes such as New Year's cards, birthdays, Christmas, travel, etc. The user can select the template file to synthesize the image with the component image according to the purpose, or print with the layout according to the purpose. it can.

テンプレートファイルが複数存在する場合、画像ファイルとテンプレートファイルとを関連付けておくと、印刷する度に関連付けを行う必要がないため便利である。例えば関連付けるテンプレートファイルの識別子を画像ファイルに格納しておくようにすると、画像ファイルが選択されたとき、選択された画像ファイルから識別子を取得することで、関連付けられているテンプレートファイルを一意に特定できるようになる。  When there are a plurality of template files, it is convenient to associate the image file with the template file because it is not necessary to associate the image file every time printing is performed. For example, if the identifier of the associated template file is stored in the image file, when the image file is selected, the associated template file can be uniquely identified by acquiring the identifier from the selected image file. It becomes like this.

国際公開第03/085510号パンフレットInternational Publication No. 03/0855110 Pamphlet

しかしながら、テンプレートファイルの識別子を画像ファイルに格納しておくと、例えばテンプレートファイルが関連付けられている画像ファイルのファイル名を一覧表示しようとする場合、全ての画像ファイルをオープンして識別子が含まれているか否かを判別しなければならない。一般にファイルをオープンする処理は時間のかかる処理であるため、画像ファイルの数が多いと一覧が表示されるまでにユーザは長時間待たされることになる。  However, if the identifier of the template file is stored in the image file, for example, when trying to display a list of file names of image files associated with the template file, all the image files are opened and the identifier is included. It must be determined whether or not. Since the process of opening a file is generally a time-consuming process, if the number of image files is large, the user waits for a long time before the list is displayed.

本発明は、かかる問題に鑑みて創作されたものであって、第一種ファイルに第二種ファイルの識別子を格納することによって第一種ファイルに第二種ファイルを関連付ける場合において、第一種ファイルが複数あっても各第一種ファイルに第二種ファイルが関連付けられているか否かを短時間で確認可能にするファイル処理装置、ファイル処理方法及びファイル処理プログラムを提供することを目的とする。  The present invention was created in view of such a problem, and in the case of associating a second type file with a first type file by storing an identifier of the second type file in the first type file, the first type An object of the present invention is to provide a file processing apparatus, a file processing method, and a file processing program that can confirm in a short time whether or not a second type file is associated with each first type file even if there are a plurality of files. .

また、本発明の別の目的は、第一種ファイルに第二種ファイルの識別子を格納することによって第一種ファイルに第二種ファイルを関連付ける場合において、第一種ファイルが複数あっても各第一種ファイルに第二種ファイルが関連付けられているか否かを短時間で確認可能な画像表示装置を提供することにある。  Another object of the present invention is to associate the second type file with the first type file by storing the second type file identifier in the first type file. An object of the present invention is to provide an image display apparatus capable of confirming in a short time whether or not a second type file is associated with a first type file.

上記目的を達成するため、本発明に係るファイル処理装置は、記憶媒体から第一種ファイルを検索する第一の検索手段と、前記第一の検索手段で検索された前記第一種ファイルに第二種ファイルの識別子が格納されているか否かを判別し、判別結果に基づいて前記第一種ファイルと前記第二種ファイルとの対応付けに関する情報を作成する対応情報作成手段と、を備える。このファイル処理装置によって第一種ファイルと第二種ファイルとの対応付けに関する情報を作成しておけば、各第一種ファイルに第二種ファイルが関連付けられているか否かを確認する必要が生じたとき、作成されている情報を参照することで短時間に確認できる。よってこのファイル処理装置によると、第一種ファイルが複数あっても各第一種ファイルに第二種ファイルが関連付けられているか否かを短時間で確認可能になる。  To achieve the above object, a file processing apparatus according to the present invention includes first search means for searching for a first type file from a storage medium, and first type files searched for by the first search means. Correspondence information creating means for discriminating whether or not the identifiers of the two types of files are stored and creating information relating to the correspondence between the first type file and the second type file based on the discrimination result. If information relating to the association between the first type file and the second type file is created by this file processing device, it is necessary to check whether or not the second type file is associated with each first type file. In this case, it can be confirmed in a short time by referring to the created information. Therefore, according to this file processing apparatus, even if there are a plurality of first type files, it can be confirmed in a short time whether or not the second type file is associated with each first type file.

さらに本発明に係るファイル処理装置では、前記第一種ファイルは画像ファイルであり、前記第二種ファイルは任意の画像と合成する部品画像を指定するテンプレートファイルである。
さらに本発明に係るファイル処理装置では、前記識別子は所定のユニークコードである。所定のユニークコードを識別子として用いると第二種ファイルを一意に特定することが可能になる。
Furthermore, in the file processing apparatus according to the present invention, the first type file is an image file, and the second type file is a template file for designating a component image to be combined with an arbitrary image.
Furthermore, in the file processing apparatus according to the present invention, the identifier is a predetermined unique code. When a predetermined unique code is used as an identifier, the second type file can be uniquely specified.

さらに本発明に係るファイル処理装置では、前記所定のユニークコードはUUIDである。UUID(Universally Unique Identifier)とは、日時、ネットワークインタフェースカードのMACアドレス、乱数などを組み合わせて生成される所定ビット長の数値であり、重複しないことが保証されている数値である。UUIDを所定のユニークコードとして用いると第二種ファイルを一意に特定することが可能になる。  Furthermore, in the file processing apparatus according to the present invention, the predetermined unique code is a UUID. A UUID (Universally Unique Identifier) is a numerical value of a predetermined bit length generated by combining date and time, a MAC address of a network interface card, a random number, and the like, and is a numerical value that is guaranteed not to overlap. When the UUID is used as a predetermined unique code, the second type file can be uniquely specified.

さらに本発明に係るファイル処理装置では、前記情報は前記第一種ファイルと前記識別子の有無とを対応付ける情報である。第一種ファイルに第二種ファイルが関連付けられているか否かを識別子の有無によって判別できるため、情報を参照することで、第一種ファイルが複数あっても各第一種ファイルに第二種ファイルが関連付けられているか否かを短時間で確認可能になる。  Furthermore, in the file processing apparatus according to the present invention, the information is information that associates the first type file with the presence or absence of the identifier. Whether or not the second type file is associated with the first type file can be determined by the presence or absence of the identifier, so by referring to the information, even if there are multiple first type files, Whether or not a file is associated can be checked in a short time.

さらに本発明に係るファイル処理装置では、前記情報は前記第一種ファイルと前記第二種ファイルとを対応付ける情報である。このファイル処理装置によると、第一種ファイルに第二種ファイルが関連付けられているか否かのみでなく、関連付けられている場合はどの第二種ファイルが関連付けられているかまで確認できる。  Further, in the file processing apparatus according to the present invention, the information is information that associates the first type file with the second type file. According to this file processing apparatus, it is possible to check not only whether the second type file is associated with the first type file, but also whether the second type file is associated with the first type file.

さらに本発明に係るファイル処理装置では、前記記憶媒体から前記第二種ファイルを検索する第二の検索手段を更に備え、前記対応情報作成手段は、前記第二の検索手段で検索された前記第二種ファイルから前記識別子を取得し、取得した前記識別子と同じ前記識別子が格納されている前記第一種ファイルに当該検索された第二種ファイルを対応付ける。  Furthermore, the file processing apparatus according to the present invention further comprises second search means for searching for the second type file from the storage medium, wherein the correspondence information creating means is the second search means searched for by the second search means. The identifier is acquired from a two-type file, and the searched second-type file is associated with the first-type file in which the same identifier as the acquired identifier is stored.

さらに本発明に係るファイル処理装置では、前記記憶媒体はリムーバブルメモリであり、前記対応情報作成手段は、リムーバブルメモリが接続されると前記情報を作成する。リムーバブルメモリが装着されたときに情報を作成しておけば、第二種ファイルが関連付けられているか否かを確認する際にユーザが待たされる可能性を最小にすることができる。  Further, in the file processing apparatus according to the present invention, the storage medium is a removable memory, and the correspondence information creating means creates the information when the removable memory is connected. If the information is created when the removable memory is attached, the possibility that the user waits when checking whether or not the second type file is associated can be minimized.

上記目的を達成するため、本発明に係る画像表示装置は、請求項1〜7のいずれか一項に記載のファイル処理装置と、前記情報を参照し、前記第二種ファイルが関連付けられている前記第一種ファイルに対応するオブジェクトと前記第二種ファイルが関連付けられていない前記第一種ファイルに対応するオブジェクトとを識別可能に画面に表示するオブジェクト表示手段と、前記オブジェクトの選択を受け付けることにより前記第一種ファイルの選択を受け付ける選択受付手段と、前記選択受付手段で選択された前記第一種ファイルであって前記第二種ファイルが関連付けられている前記第一種ファイルと当該第一種ファイルに関連付けられている前記第二種ファイルとに基づいて画像を表示する画像表示手段と、を備える。この画像表示装置によると、第一種ファイルが複数あっても各第一種ファイルに第二種ファイルが関連付けられているか否かを短時間で確認できる。  In order to achieve the above object, an image display device according to the present invention relates to the file processing device according to any one ofclaims 1 to 7 and the second type file with reference to the information. Object display means for displaying the object corresponding to the first type file and the object corresponding to the first type file that is not associated with the second type file on the screen, and receiving the selection of the object The first type file selected by the selection receiving unit, the first type file associated with the second type file, and the first type file. Image display means for displaying an image based on the second type file associated with the seed file. According to this image display device, even if there are a plurality of first type files, it can be confirmed in a short time whether or not the second type file is associated with each first type file.

さらに本発明に係る画像表示装置では、前記画像表示手段は印刷媒体に画像を印刷することにより表示する。
尚、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。
Furthermore, in the image display device according to the present invention, the image display means displays the image by printing it on a print medium.
The functions of the plurality of means provided in the present invention are realized by hardware resources whose functions are specified by the configuration itself, hardware resources whose functions are specified by a program, or a combination thereof. The functions of the plurality of means are not limited to those realized by hardware resources that are physically independent of each other.

以下、本発明を実施するための最良の形態を実施例に基づいて説明する。
(第一実施例)
図2(A)は、本発明の第一実施例に係る画像表示装置としてのプリンタ1の外観を示す斜視図である。プリンタ1はパーソナルコンピュータ等による制御を必要とせず、画像ファイルに格納されている画像データが表す画像を単独で印刷可能な所謂スタンドアロン型プリンタである。図示するようにプリンタ1のハウジング10には操作部11、LCD12a、カードスロット19aなどが設けられている。操作部11には上ボタン、下ボタン、決定ボタン、戻るボタン、印刷ボタン、中止ボタンなどの各種の操作ボタンが設けられている。LCD12aの画面には種々の設定を行うためのメニューが表示され、表示されたメニューは上述した各種の操作ボタンによって操作される。カードスロット19aはハウジング10の内部に設けられたメモリ読み書き部19にリムーバブルメモリ20を接続するための開口である。
Hereinafter, the best mode for carrying out the present invention will be described based on examples.
(First Example)
FIG. 2A is a perspective view showing an appearance of theprinter 1 as the image display apparatus according to the first embodiment of the present invention. Theprinter 1 is a so-called stand-alone printer that does not require control by a personal computer or the like and can independently print an image represented by image data stored in an image file. As shown in the figure, thehousing 10 of theprinter 1 is provided with anoperation unit 11, anLCD 12a, acard slot 19a, and the like. Theoperation unit 11 is provided with various operation buttons such as an upper button, a lower button, a determination button, a return button, a print button, and a stop button. A menu for performing various settings is displayed on the screen of theLCD 12a, and the displayed menu is operated by the various operation buttons described above. Thecard slot 19 a is an opening for connecting theremovable memory 20 to the memory read / writeunit 19 provided inside thehousing 10.

図2(B)は、プリンタ1のハードウェア構成を示すブロック図である。
制御部15は、CPU16、フラッシュメモリ18、及びワークメモリ17を備える。CPU16はフラッシュメモリ18に記憶されているプログラムを実行してプリンタ1の全体を制御する。また、CPU16はフラッシュメモリ18に記憶されているファイル処理プログラムを実行することで第一の検索手段、対応情報作成手段、及び第二の検索手段としても機能する。また、CPU16はフラッシュメモリ18に記憶されている画像表示プログラムを実行することでオブジェクト表示手段、選択受付手段、及び画像表示手段としても機能する。フラッシュメモリ18は各種のプログラムやデータを記憶しているメモリであり、ワークメモリ17は各種のプログラムやデータを一時的に記憶するメモリである。これら各種のプログラムやデータは所定のサーバからネットワークを介してダウンロードして入力してもよいし、リムーバブルメモリ20等のコンピュータ読み取り可能な記憶媒体から読み出して入力してもよい。
FIG. 2B is a block diagram illustrating a hardware configuration of theprinter 1.
Thecontrol unit 15 includes aCPU 16, aflash memory 18, and awork memory 17. TheCPU 16 executes a program stored in theflash memory 18 to control theentire printer 1. TheCPU 16 also functions as first search means, correspondence information creation means, and second search means by executing a file processing program stored in theflash memory 18. TheCPU 16 also functions as an object display unit, a selection receiving unit, and an image display unit by executing an image display program stored in theflash memory 18. Theflash memory 18 is a memory that stores various programs and data, and thework memory 17 is a memory that temporarily stores various programs and data. These various programs and data may be downloaded and input from a predetermined server via a network, or may be read from a computer-readable storage medium such as theremovable memory 20 and input.

メモリ読み書き部19は、記憶媒体としてのリムーバブルメモリ20が脱着自在に接続される接続端子、メモリコントローラなどを備える。メモリ読み書き部19は制御部15によって制御され、第一の検索手段及び第二の検索手段として機能する。制御部15とメモリ読み書き部19とはファイル処理装置を構成する。リムーバブルメモリ20は電源が切れても記憶内容が失われないフラッシュメモリなどのような不揮発性メモリである。なお、リムーバブルメモリはフレキシブルディスク、CD−ROMなどであってもよい。また、第一実施例のプリンタ1はメモリ読み書き部19に接続されたリムーバブルメモリ20を読み書きするが、ネットワークに接続されている外部記憶装置が備えるハードディスクなどの記憶媒体をネットワーク経由で読み書きするようにしてもよい。  The memory read / writeunit 19 includes a connection terminal to which aremovable memory 20 as a storage medium is detachably connected, a memory controller, and the like. The memory read / writeunit 19 is controlled by thecontrol unit 15 and functions as a first search unit and a second search unit. Thecontrol unit 15 and the memory read / writeunit 19 constitute a file processing apparatus. Theremovable memory 20 is a non-volatile memory such as a flash memory in which stored contents are not lost even when the power is turned off. The removable memory may be a flexible disk, a CD-ROM, or the like. Theprinter 1 of the first embodiment reads / writes theremovable memory 20 connected to the memory read / writeunit 19, but reads / writes a storage medium such as a hard disk provided in an external storage device connected to the network via the network. May be.

画像表示手段としての画像処理部13は、ワークメモリ17に記憶された画像データに基づいて印刷データを作成するASICである。画像処理部13は、具体的には例えばJPEG規格で圧縮されている画像データの伸張、伸張された画像データの色空間の変換、ガンマ補正、カラーバランス調整、シャープネス調整、コントラスト調整、画像データの解像度を印刷解像度に変換する解像度変換、画像データを2値化する2値化処理、2値化された画像データをプリンタエンジン14に転送すべき順序に並べ替えて印刷データを生成するインターレース処理などを制御部15と協働して実行する。尚、これらの処理を制御部15と画像処理部13とのいずれで行うかは適宜選択し得る設計事項である。  Theimage processing unit 13 serving as an image display unit is an ASIC that creates print data based on image data stored in thework memory 17. Specifically, theimage processing unit 13 decompresses image data compressed in, for example, the JPEG standard, converts the color space of the decompressed image data, gamma correction, color balance adjustment, sharpness adjustment, contrast adjustment, image data Resolution conversion for converting resolution to printing resolution, binarization processing for binarizing image data, interlace processing for generating print data by rearranging binarized image data in the order to be transferred to theprinter engine 14, etc. Is executed in cooperation with thecontrol unit 15. Note that whether thecontrol unit 15 or theimage processing unit 13 performs these processes is a design matter that can be selected as appropriate.

画像表示手段としてのプリンタエンジン14は、画像処理部13で生成された印刷データに基づいて紙等の印刷媒体に画像を印刷する。プリンタエンジン14は印字ヘッドを搭載するキャリッジ、キャリッジを往復移動させる駆動機構、印刷媒体を搬送する搬送機構などで構成され、それらは制御部15によって制御される。キャリッジには印字ヘッドの他に印字ヘッドが吐出するインクを蓄える複数のインクタンクが色毎に搭載されている。尚、プリンタエンジン14は例えばレーザ方式やドットインパクト方式で画像を印刷するものであってもよい。  Theprinter engine 14 serving as an image display unit prints an image on a print medium such as paper based on print data generated by theimage processing unit 13. Theprinter engine 14 includes a carriage on which the print head is mounted, a drive mechanism that reciprocates the carriage, a transport mechanism that transports the print medium, and the like, which are controlled by thecontrol unit 15. In addition to the print head, a plurality of ink tanks that store ink discharged from the print head are mounted on the carriage for each color. Theprinter engine 14 may print an image by a laser method or a dot impact method, for example.

表示部12は、ディスプレイコントローラ、LCD12aなどを備える。ディスプレイコントローラは制御部15によって制御され、LCD12aにメニューやその他各種の情報を表示する。  Thedisplay unit 12 includes a display controller, anLCD 12a, and the like. The display controller is controlled by thecontrol unit 15, and displays a menu and various other information on theLCD 12a.

次に、第一種ファイルについて説明する。第一実施例では第一種ファイルとして画像ファイルを例に説明する。
図3は、第一種ファイルとしての画像ファイルのファイル構造を示す模式図である。画像ファイルはヘッダ領域21及び画像データ領域22を含んでいる。ヘッダ領域21は画像データ領域22の先頭アドレスを示すポインタ、識別子としてのUUID、その他、作成日付、画像サイズなどのヘッダ情報が記録される領域である。UUIDは当該画像ファイルにテンプレートファイルを関連付けるためのものである。例えばディジタルカメラで撮影を行ったときにその撮影の際に指定されていたテンプレートファイルのUUIDが画像データ領域22に格納され、それにより画像ファイルにテンプレートファイルが関連付けられる。UUIDが格納されていない場合はその画像ファイルにはテンプレートファイルが関連付けられていないことを意味している。UUIDは重複しないことが保証されている値であるため、UUIDを識別子として用いるとテンプレートファイルを一意に特定することが可能になる。なお、テンプレートファイルのファイル名やパス名でテンプレートファイルを一意に特定できる場合はファイル名やパス名を識別子として用いてもよい。画像データ領域22は画像データが記録される領域である。表示の際にはヘッダ領域21からポインタを読み込むことで画像データ領域22の先頭アドレスを特定でき、それにより画像データを読み込むことができる。画像ファイルのファイル形式はUUIDを格納可能な形式であればよく、例えばTIFF形式やExif形式を画像ファイルのファイル形式として用いることができる。第一実施例ではExif形式の画像ファイル(以下「Exifファイル」という)を例に説明する。なお、どの種類の画像ファイルを第一種ファイルとするかは適宜選択可能であり、例えばExifファイルに加えてTIFF形式の画像ファイルを第一種ファイルとしてもよい。
Next, the first type file will be described. In the first embodiment, an image file will be described as an example of the first type file.
FIG. 3 is a schematic diagram showing a file structure of an image file as the first type file. The image file includes a header area 21 and an image data area 22. The header area 21 is an area in which header information such as a pointer indicating the start address of the image data area 22, a UUID as an identifier, a creation date, an image size, and the like is recorded. The UUID is for associating the template file with the image file. For example, the UUID of the template file specified at the time of shooting with a digital camera is stored in the image data area 22, thereby associating the template file with the image file. If no UUID is stored, it means that no template file is associated with the image file. Since the UUID is a value that is guaranteed not to overlap, the template file can be uniquely specified by using the UUID as an identifier. If the template file can be uniquely identified by the file name or path name of the template file, the file name or path name may be used as an identifier. The image data area 22 is an area where image data is recorded. At the time of display, the start address of the image data area 22 can be specified by reading the pointer from the header area 21, and thereby the image data can be read. The file format of the image file may be any format that can store the UUID. For example, the TIFF format or the Exif format can be used as the file format of the image file. In the first embodiment, an Exif format image file (hereinafter referred to as “Exif file”) will be described as an example. Note that it is possible to appropriately select which type of image file is the first type file. For example, in addition to the Exif file, a TIFF format image file may be used as the first type file.

次に、第二種ファイルについて説明する。第一実施例では第二種ファイルとしてテンプレートファイルを例に説明する。
図4は、テンプレートファイルのファイル構造を示す模式図である。テンプレートファイルは、ヘッダ領域25及びスクリプト領域26を含んでいる。ヘッダ領域25はスクリプト領域26の先頭アドレスを示すポインタ、当該テンプレートファイルに付与されたUUID、その他、作成日付などのヘッダ情報が記録される領域である。スクリプト領域26は、任意の画像データが表す画像と合成する部品画像を指定するデータや、画像データの表示レイアウトを規定するデータが記録される領域である。部品画像を指定するデータとは、具体的には部品画像を表す部品画像データを格納した部品画像ファイルのファイル名あるいはパス名などのことをいう。表示レイアウトを規定するデータとは、具体的には印刷用紙のサイズ(例えば「はがき」)、印刷用紙の向きを規定する情報(例えば「縦長」)、Exifファイルに格納されている画像データが表す画像を配置する枠(画像枠)を規定する情報(例えば枠の右上座標「(x1,y1)」と枠の左下座標「(x2,y2)」)、部品画像ファイルに格納されている部品画像データが表す部品画像を配置する枠(部品画像枠)を規定する情報(例えば枠の右上座標「(x3,y3)」と枠の左下座標「(x4,y4)」)などのことをいう。なお、第一実施例では第二種ファイルに部品画像を指定するデータと表示レイアウトを規定するデータとをともに格納しているが、第二種ファイルはこれらのいずれか一方のみを格納するものであってもよい。また、第一実施例では第二種ファイルに部品画像ファイルのファイル名あるいはパス名などを格納しているが、第二種ファイル自体に部品画像データを格納してもよい。
Next, the second type file will be described. In the first embodiment, a template file will be described as an example of the second type file.
FIG. 4 is a schematic diagram showing the file structure of the template file. The template file includes a header area 25 and a script area 26. The header area 25 is an area in which a pointer indicating the head address of the script area 26, a UUID given to the template file, and other header information such as a creation date are recorded. The script area 26 is an area in which data specifying a component image to be combined with an image represented by arbitrary image data and data defining a display layout of the image data are recorded. The data for designating a component image specifically refers to a file name or a path name of a component image file storing component image data representing a component image. The data defining the display layout is specifically represented by the size of the printing paper (for example, “postcard”), information for defining the orientation of the printing paper (for example, “vertically long”), and image data stored in the Exif file. Information defining the frame (image frame) in which the image is to be arranged (for example, the upper right coordinate “(x1, y1)” of the frame and the lower left coordinate “(x2, y2)” of the frame), and the component image stored in the component image file Information that defines a frame (component image frame) in which a component image represented by data is defined (for example, upper right coordinate “(x3, y3)” and lower left coordinate “(x4, y4)” of the frame). In the first embodiment, the data specifying the part image and the data defining the display layout are stored together in the second type file. However, the second type file stores only one of these. There may be. In the first embodiment, the file name or path name of the component image file is stored in the second type file, but the component image data may be stored in the second type file itself.

図5(A)はテンプレートファイルを用いた印刷を説明するための模式図であり、図5(B)はその印刷結果を示す模式図である。Exifファイルに格納されている画像データが表す画像と、部品画像ファイルに格納されている部品画像データが表す部品画像とは、テンプレートファイルで規定される表示レイアウトに従って図示するように合成されて印刷される。  FIG. 5A is a schematic diagram for explaining printing using a template file, and FIG. 5B is a schematic diagram showing the printing result. The image represented by the image data stored in the Exif file and the component image represented by the component image data stored in the component image file are combined and printed as illustrated according to the display layout defined in the template file. The

次に、ファイル処理プログラムについて説明する。
図6は、ファイル処理プログラムの論理的な構造を示すブロック図である。ファイル処理プログラムは、第一の検索部31、第二の検索部32、及び対応情報作成部33を備える。
第一の検索部31は、リムーバブルメモリ20からExifファイルを検索する。具体的には、第一の検索部31はリムーバブルメモリ20の所定のディレクトリを起点に下位ディレクトリを順に辿って拡張子が「.exif」の画像ファイルを探し出す。拡張子が「.exif」の画像ファイルを見つけると第一の検索部31はそのExifファイルのパスを対応情報作成部33に出力する。これを全ての下位ディレクトリについて繰り返すことにより起点となるディレクトリ下に記憶されている全てのExifファイルを検索する。
Next, the file processing program will be described.
FIG. 6 is a block diagram showing the logical structure of the file processing program. The file processing program includes afirst search unit 31, asecond search unit 32, and a correspondenceinformation creation unit 33.
Thefirst search unit 31 searches for an Exif file from theremovable memory 20. Specifically, thefirst search unit 31 searches an image file having an extension “.exif” by sequentially tracing a lower directory starting from a predetermined directory in theremovable memory 20. When an image file with the extension “.exif” is found, thefirst search unit 31 outputs the path of the Exif file to the correspondenceinformation creation unit 33. By repeating this for all lower directories, all the Exif files stored under the starting directory are searched.

第二の検索部32も同様に、リムーバブルメモリ20からテンプレートファイルを検索する。具体的には、第二の検索部32はリムーバブルメモリ20の所定のディレクトリを起点に下位ディレクトリを順に辿って、テンプレートファイルに割り当てられている拡張子「.usd」を有するファイルを探し出す。拡張子が「.usd」のファイルを見つけると第二の検索部32はそのファイルのパスを対応情報作成部33に出力する。これを全ての下位ディレクトリについて繰り返すことにより起点となるディレクトリ下に記憶されている全てのテンプレートファイルを検索する。  Similarly, thesecond search unit 32 searches for the template file from theremovable memory 20. Specifically, thesecond search unit 32 sequentially searches lower directories starting from a predetermined directory in theremovable memory 20 to search for a file having the extension “.usd” assigned to the template file. When thesecond search unit 32 finds a file with the extension “.usd”, it outputs the path of the file to the correspondenceinformation creation unit 33. By repeating this for all lower directories, all template files stored under the starting directory are searched.

対応情報作成部33は、第一の検索部31で検索されたExifファイルにUUIDが含まれているか否かを判別し、判別結果に基づいてExifファイルとテンプレートファイルとの対応付けに関する情報、具体的にはExifファイルとテンプレートファイルとを対応付けるテーブルを作成する。特許請求の範囲に記載の「対応付けに関する情報」は、対応情報作成部33によって作成されるテーブルに相当する。  The correspondenceinformation creation unit 33 determines whether or not a UUID is included in the Exif file searched by thefirst search unit 31, and based on the determination result, information about the correspondence between the Exif file and the template file, specifically Specifically, a table that associates the Exif file with the template file is created. The “information about association” described in the claims corresponds to a table created by the correspondenceinformation creation unit 33.

次に、ファイル処理プログラムの処理の流れについて説明する。第一実施例ではリムーバブルメモリ20が接続されたときにテーブルを作成する。画像ファイルにテンプレートファイルが関連付けられているか否かを確認しようとしたときにテーブルが作成されていないと、ユーザはテーブルが作成されるまで待たされることになる。従って、ユーザが待たされる可能性が最小になるよう可能な限り早いとき、すなわちリムーバブルメモリ20が接続されたときにテーブルを作成することが望ましい。  Next, the flow of processing of the file processing program will be described. In the first embodiment, a table is created when theremovable memory 20 is connected. If a table is not created when trying to check whether a template file is associated with an image file, the user waits until the table is created. Therefore, it is desirable to create the table as early as possible so that the possibility of waiting for the user is minimized, that is, when theremovable memory 20 is connected.

図7は、ファイル処理プログラムの処理の流れを示すフローチャートである。
S105では、最初のExifファイルを検索する。具体的には、ユーザがメモリ読み書き部19にリムーバブルメモリ20を接続するとOSに所定の割込が発生し、当該割込が発生するとOSは対応情報作成部33を呼び出す。対応情報作成部33は呼び出されると第一の検索部31に実行を指示する。第一の検索部31は実行が指示されると所定のディレクトリを起点に下位ディレクトリを順に辿って最初のExifファイルが見つかるかまたは最後のディレクトリに到達するまで検索を繰り返す。
FIG. 7 is a flowchart showing the flow of processing of the file processing program.
In S105, the first Exif file is searched. Specifically, when the user connects theremovable memory 20 to the memory read /write unit 19, a predetermined interrupt occurs in the OS, and when the interrupt occurs, the OS calls the correspondenceinformation creation unit 33. When called, the correspondenceinformation creation unit 33 instructs thefirst search unit 31 to execute. When the execution is instructed, thefirst search unit 31 repeats the search until the first Exif file is found or the last directory is reached by sequentially tracing the lower directories starting from a predetermined directory.

S110では、第一の検索部31はExifファイルが見つかった場合はS115に進み、見つからなかった場合はS205に進む。
S115では、対応情報作成部33は見つかったExifファイルにUUIDが含まれているか否かを判定する。具体的には、第一の検索部31は見つかったExifファイルのパスを対応情報作成部33に出力する。対応情報作成部33は第一の検索部31から出力されたパスで特定されるExifファイルを読み込み、UUIDが記録されているか否かを判定する。記録されている場合はS120に進み、記録されていない場合はS125に進む。
In S110, thefirst search unit 31 proceeds to S115 if an Exif file is found, and proceeds to S205 if it is not found.
In S115, the correspondenceinformation creation unit 33 determines whether a UUID is included in the found Exif file. Specifically, thefirst search unit 31 outputs the path of the found Exif file to the correspondenceinformation creation unit 33. The correspondenceinformation creation unit 33 reads the Exif file specified by the path output from thefirst search unit 31 and determines whether or not the UUID is recorded. If it is recorded, the process proceeds to S120, and if it is not recorded, the process proceeds to S125.

S120では、対応情報作成部33はExifファイルのファイル情報、及びUUIDを次に説明する画像テーブルに格納する。
図8(A)は、画像テーブルの一例を示す模式図である。画像テーブルGは、Exifファイルを一意に特定可能な情報を格納するファイル情報列61a、Exifファイルに含まれているUUIDを格納するUUID列61b、及びテンプレートIDを格納するテンプレートID列61cで構成される。Exifファイルを一意に特定可能な情報とは具体的には例えばExifファイルのファイル名あるいはパス名である。テンプレートIDとは画像テーブルGのレコードと後述するテンプレートテーブルのレコードとを対応付けるためのコードであり、この時点ではまだテンプレートIDは割り当てられない。
In S120, the correspondenceinformation creation unit 33 stores the file information of the Exif file and the UUID in the image table described below.
FIG. 8A is a schematic diagram illustrating an example of an image table. The image table G includes afile information column 61a that stores information that can uniquely identify an Exif file, aUUID column 61b that stores a UUID included in the Exif file, and atemplate ID column 61c that stores a template ID. The The information that can uniquely identify the Exif file is specifically the file name or path name of the Exif file, for example. The template ID is a code for associating a record of the image table G with a record of a template table described later, and no template ID is assigned yet at this point.

S125では、対応情報作成部33は第一の検索部31に次のExifファイルの検索を指示する。
以上の処理を繰り返すことにより下位ディレクトリに記憶されている全てのExifファイルが検索される。全てのExifファイルが検索されると次のS125における検索ではExifファイルが見つかることなく最後のディレクトリに到達し、S110においてExifファイルが見つからなかったと判定されS205に進む。
In S125, the correspondenceinformation creation unit 33 instructs thefirst search unit 31 to search for the next Exif file.
By repeating the above processing, all Exif files stored in the lower directory are searched. When all the Exif files are searched, in the next search in S125, the Exif file is not found and the last directory is reached. In S110, it is determined that the Exif file is not found, and the process proceeds to S205.

S205では、最初のテンプレートファイルを検索する。具体的には、対応情報作成部33は第二の検索部32に実行を指示する。第二の検索部32は実行が指示されると所定のディレクトリを起点に下位ディレクトリを順に辿って最初のテンプレートファイルが見つかるかまたは最後のディレクトリに到達するまで検索を繰り返す。  In S205, the first template file is searched. Specifically, the correspondenceinformation creation unit 33 instructs thesecond search unit 32 to execute. When the execution is instructed, thesecond search unit 32 repeats the search until the first template file is found or the last directory is reached by sequentially tracing the lower directories starting from a predetermined directory.

S210では、第二の検索部32はテンプレートファイルが見つかった場合はS215に進み、見つからなかった場合は処理を終了する。
S215では、対応情報作成部33はテンプレートID、テンプレートファイルのファイル情報、UUID、表示レイアウトに関する情報を、次に説明するテンプレートテーブルに格納する。
In S210, thesecond search unit 32 proceeds to S215 when the template file is found, and ends the process when it is not found.
In S215, the correspondenceinformation creation unit 33 stores the template ID, the file information of the template file, the UUID, and information regarding the display layout in a template table described below.

図8(B)は、テンプレートテーブルの一例を示す模式図である。テンプレートテーブルTは、テンプレートIDを格納するテンプレートID列71a、テンプレートファイルに含まれているUUIDを格納するUUID列71b、テンプレートファイルを一意に特定可能な情報を格納するファイル情報列71c、及びテンプレートファイルに含まれている表示レイアウトに関する情報を格納する表示レイアウト列71dで構成される。テンプレートファイルを一意に特定可能な情報とは、具体的には例えばテンプレートファイルのファイル名あるいはパス名である。表示レイアウトに関する情報とは、具体的には用紙サイズ、用紙の向きなどである。表示レイアウト列71dに格納する情報は適宜選択可能である。表示レイアウトに関する情報を格納すると、例えばA4サイズの印刷用紙に印刷するためのテンプレートファイルを知りたいとき、テンプレートテーブルTを参照することで短時間に知ることができる。テンプレートテーブルTにレコードが追加されると当該レコードを一意に識別するためのテンプレートIDが生成されてテンプレートID列71aに格納される。テンプレートテーブルTを作成すると、Exifファイルにテンプレートファイルが関連付けられている場合はどのテンプレートファイルが関連付けられているかまで確認できる。このため、テンプレートファイルが関連付けられているExifファイルが選択されたとき、テンプレートテーブルTを参照することで当該Exifファイルに関連付けられているテンプレートファイルを短時間に特定でき、Exifファイルが選択されてから印刷が開始されるまでの時間を短縮できる。  FIG. 8B is a schematic diagram illustrating an example of a template table. The template table T includes atemplate ID column 71a for storing a template ID, aUUID column 71b for storing a UUID included in the template file, afile information column 71c for storing information that can uniquely identify the template file, and a template file Is composed of adisplay layout column 71d for storing information related to the display layout included in. The information that can uniquely identify the template file is specifically the file name or path name of the template file, for example. Specifically, the display layout information includes a paper size, a paper orientation, and the like. Information stored in thedisplay layout column 71d can be selected as appropriate. When information about the display layout is stored, for example, when it is desired to know a template file for printing on A4-size printing paper, it can be known in a short time by referring to the template table T. When a record is added to the template table T, a template ID for uniquely identifying the record is generated and stored in thetemplate ID column 71a. When the template table T is created, if a template file is associated with the Exif file, it can be confirmed which template file is associated. For this reason, when an Exif file associated with a template file is selected, the template file associated with the Exif file can be specified in a short time by referring to the template table T, and the Exif file is selected. Time until printing is started can be shortened.

S220では、対応情報作成部33は画像テーブルGのテンプレートID列61cを更新する。S220の処理の詳細については後述する。
S225では、対応情報作成部33は第二の検索部32に次のテンプレートファイルの検索を指示する。
以上の処理を繰り返すことにより下位ディレクトリに記憶されている全てのテンプレートファイルが検索される。全てのテンプレートファイルが検索されると次のS225における検索ではテンプレートファイルが見つかることなく最後のディレクトリに到達し、S210においてテンプレートファイルが見つからなかったと判定され処理を終了する。
In S220, the correspondenceinformation creation unit 33 updates thetemplate ID column 61c of the image table G. Details of the processing of S220 will be described later.
In S225, the correspondenceinformation creation unit 33 instructs thesecond search unit 32 to search for the next template file.
By repeating the above processing, all template files stored in the lower directory are searched. When all the template files are searched, the search in the next S225 reaches the last directory without finding the template file. In S210, it is determined that the template file is not found, and the process is terminated.

次に、S220における処理の詳細について説明する。
図9は、S220における処理の流れを示すフローチャートである。
S305では、画像テーブルGから先頭レコードを取得する。
S310では、取得したレコードに格納されているUUIDとS205又はS225で見つけたテンプレートファイルのUUIDとが一致するか否かを判定する。一致する場合はS315に進み、一致しない場合はS320に進む。
Next, details of the processing in S220 will be described.
FIG. 9 is a flowchart showing the flow of processing in S220.
In S305, the first record is acquired from the image table G.
In S310, it is determined whether or not the UUID stored in the acquired record matches the UUID of the template file found in S205 or S225. If they match, the process proceeds to S315, and if they do not match, the process proceeds to S320.

S315では、取得したレコードのテンプレートID列61cに対象テンプレートIDを格納する。ここで対象テンプレートIDとは、S205又はS225で見つけたテンプレートファイルに対応するレコードに付与されたテンプレートIDのことをいう。
S320では、画像テーブルGに格納されている全てのレコードの選択が終了したか否かを判定する。選択が終了していなければS325に進み、全てのレコードの選択が終了するまで処理を繰り返す。選択が終了していれば処理を終了する。
In S315, the target template ID is stored in thetemplate ID column 61c of the acquired record. Here, the target template ID refers to the template ID assigned to the record corresponding to the template file found in S205 or S225.
In S320, it is determined whether selection of all the records stored in the image table G has been completed. If the selection is not completed, the process proceeds to S325, and the process is repeated until selection of all records is completed. If the selection has been completed, the process ends.

以上により、画像テーブルGにおいてS205又はS225で見つけたテンプレートファイルと同じUUIDを持つレコードに当該テンプレートファイルと同じテンプレートIDが格納される。
図1は、最終的に作成されたテーブルを示す模式図である。図示するように画像テーブルGのレコードとテンプレートテーブルTのレコードとはテンプレートIDで対応付けられる。画像ファイルは関連付けられているテンプレートファイルに対応付けられるため、画像テーブルG及びテンプレートテーブルTを参照することで画像ファイルがどのテンプレートファイルに関連付けられているかを確認できる。なお、図1から明らかなようにUUIDをキーにレコードを対応付けることも可能である。
As described above, the same template ID as the template file is stored in the record having the same UUID as the template file found in S205 or S225 in the image table G.
FIG. 1 is a schematic diagram showing a finally created table. As shown in the figure, the record of the image table G and the record of the template table T are associated with each other by the template ID. Since the image file is associated with the associated template file, it is possible to confirm which template file the image file is associated with by referring to the image table G and the template table T. As is clear from FIG. 1, it is possible to associate a record with a UUID as a key.

次に、画像表示プログラムについて説明する。
図10は、画像表示プログラムの論理的な構造を示すブロック図である。画像表示プログラムは、オブジェクト表示部41、選択受付部42、及び画像表示部43を備える。
オブジェクト表示部41は、画像テーブルGを参照して図11に示す画像選択メニュー50をLCD12aに表示する。画像選択メニュー50にはリムーバブルメモリ20に記録されているExifファイルに格納されている画像データが表す画像の縮小画像51が一覧表示される。ここで縮小画像51は特許請求の範囲に記載のオブジェクトに相当する。なお、例えばExifファイルのファイル名をオブジェクトとして表示してもよい。マーク52が表示されている縮小画像51はその縮小画像51に対応するExifファイルにテンプレートファイルが関連付けられていることを示している。逆にマーク52が表示されていない縮小画像51は対応するExifファイルにテンプレートファイルが関連付けられていないことを示している。オブジェクト表示部41は画像選択メニュー50を表示する際に画像テーブルGを参照してどの縮小画像51にマーク52を表示すればよいかを決定する。マーク52を表示するとユーザは各Exifファイルにテンプレートファイルが関連付けられているか否かを画面上で識別できる。このため、ユーザの意図に反して合成画像が印刷されたり、逆に合成されていない画像が印刷されたりすることによるユーザの混乱を低減できる。また、テンプレートファイルが関連付けられていることをマーク52で示すと処理を簡素にできる。例えば、テンプレートファイルが関連付けられているExifファイルについては実際にテンプレートファイルに基づいて合成画像を生成し、その合成画像の縮小画像を表示することでテンプレートファイルが関連付けられているExifファイルであるか否かを識別可能に表示することも可能である。しかしながらその場合は合成画像を生成しなければならないため処理量が増大する。従って、マーク52によって識別するようにすると処理を簡素にできる。このため、CPUの処理能力が低くても画像選択メニュー50を短時間に表示できる。
Next, the image display program will be described.
FIG. 10 is a block diagram showing the logical structure of the image display program. The image display program includes anobject display unit 41, aselection receiving unit 42, and animage display unit 43.
Theobject display unit 41 refers to the image table G and displays animage selection menu 50 shown in FIG. 11 on theLCD 12a. Theimage selection menu 50 displays a list of reducedimages 51 of the images represented by the image data stored in the Exif file recorded in theremovable memory 20. Here, the reducedimage 51 corresponds to the object described in the claims. For example, the file name of the Exif file may be displayed as an object. The reducedimage 51 on which themark 52 is displayed indicates that the template file is associated with the Exif file corresponding to the reducedimage 51. On the contrary, the reducedimage 51 in which themark 52 is not displayed indicates that the template file is not associated with the corresponding Exif file. When displaying theimage selection menu 50, theobject display unit 41 refers to the image table G to determine which reducedimage 51 should be displayed with themark 52. When themark 52 is displayed, the user can identify on the screen whether or not a template file is associated with each Exif file. For this reason, a user's confusion by printing a composite image contrary to a user's intention, or printing an uncomposited image on the contrary can be reduced. Further, if themark 52 indicates that the template file is associated, the processing can be simplified. For example, regarding an Exif file associated with a template file, whether or not the Exif file is actually associated with the template file by generating a composite image based on the template file and displaying a reduced image of the composite image. It is also possible to display such that it can be identified. However, in this case, the amount of processing increases because a composite image must be generated. Therefore, the process can be simplified if themark 52 is used for identification. For this reason, theimage selection menu 50 can be displayed in a short time even if the processing capability of the CPU is low.

選択受付部42は、画像選択メニュー50に表示されている縮小画像51の選択を受ける。具体的には例えばユーザは操作部11のボタンを操作して目的の縮小画像51にカーソル53を移動し、決定ボタンを押下して縮小画像51を選択する。選択受付部42は決定ボタンが押下されるとそのときカーソル53がある縮小画像51を選択された縮小画像51として受け付け、当該縮小画像51に対応するExifファイルを選択されたExifファイルとして受け付ける。  Theselection receiving unit 42 receives the selection of the reducedimage 51 displayed on theimage selection menu 50. Specifically, for example, the user operates the button of theoperation unit 11 to move thecursor 53 to the target reducedimage 51 and presses the enter button to select the reducedimage 51. When the determination button is pressed, theselection receiving unit 42 receives the reducedimage 51 with thecursor 53 at that time as the selected reducedimage 51, and receives the Exif file corresponding to the reducedimage 51 as the selected Exif file.

画像表示部43は、選択受付部42でExifファイルが選択されると、選択されたExifファイルにテンプレートファイルが関連付けられている場合は当該Exifファイルとそれに関連付けられているテンプレートファイルとに基づいて合成画像を生成し、生成した合成画像に画像処理部13と協同して各種の処理を施し、プリンタエンジン14を制御して印刷媒体に合成画像を印刷する。テンプレートファイルが関連付けられていない場合は当該Exifファイルに格納されている画像データが表す画像のみを印刷する。なお、画像表示部43は選択受付部42でExifファイルが選択されたとき常に画像を印刷してもよいし、選択受付部42でExifファイルが選択された後、所定の操作によって印刷が指示された場合のみ印刷するようにしてもよい。  When an Exif file is selected by theselection accepting unit 42, theimage display unit 43, when a template file is associated with the selected Exif file, combines based on the Exif file and the template file associated therewith. An image is generated, and various processes are performed on the generated composite image in cooperation with theimage processing unit 13, and theprinter engine 14 is controlled to print the composite image on a print medium. If the template file is not associated, only the image represented by the image data stored in the Exif file is printed. Theimage display unit 43 may always print an image when an Exif file is selected by theselection receiving unit 42, or after the Exif file is selected by theselection receiving unit 42, printing is instructed by a predetermined operation. You may make it print only in the case of.

次に、プリンタ1の処理の流れについて説明する。
図12は、プリンタ1の処理の流れを示す模式図である。
S405では、縮小画像51の選択を受け付ける。具体的には、ユーザが所定の操作を行うとプリンタ1はLCD12aに画像選択メニュー50を表示する。ユーザは操作部11を操作して目的の縮小画像51を選択する。
Next, the processing flow of theprinter 1 will be described.
FIG. 12 is a schematic diagram illustrating a processing flow of theprinter 1.
In S405, selection of the reducedimage 51 is accepted. Specifically, when the user performs a predetermined operation, theprinter 1 displays animage selection menu 50 on theLCD 12a. The user operates theoperation unit 11 to select a target reducedimage 51.

S410では、選択された縮小画像51に対応するExifファイルにテンプレートファイルが関連付けられているか否かを画像テーブルGを参照して判定する。テンプレートファイルが関連付けられていればS415に進み、関連付けられていなければS420に進む。
S415では、関連付けられているテンプレートファイルのファイル名あるいはパス名をテンプレートテーブルTから取得する。次に、選択されたExifファイルと当該テンプレートファイルとに基づいて合成画像を印刷する。
In S410, it is determined with reference to the image table G whether or not the template file is associated with the Exif file corresponding to the selected reducedimage 51. If the template file is associated, the process proceeds to S415, and if not associated, the process proceeds to S420.
In S415, the file name or path name of the associated template file is acquired from the template table T. Next, a composite image is printed based on the selected Exif file and the template file.

S420では、選択されたExifファイルに格納されている画像データが表す画像のみを印刷する。
以上説明した本発明の第一実施例に係るプリンタ1によると、リムーバブルメモリ20に記憶されているExifファイルと当該Exifファイルに関連付けられているテンプレートファイルとを対応付けるテーブルを作成する。このため、画像選択メニュー50が呼び出されたとき、作成されているテーブルを参照することで各Exifファイルにテンプレートファイルが関連付けられているか否かを短時間で判定でき、画像選択メニュー50を短時間に表示することができる。従ってユーザは画像ファイルが複数あっても各画像ファイルにテンプレートファイルが関連付けられているか否かを短時間で確認できる。
In S420, only the image represented by the image data stored in the selected Exif file is printed.
According to theprinter 1 according to the first embodiment of the present invention described above, a table for associating the Exif file stored in theremovable memory 20 with the template file associated with the Exif file is created. For this reason, when theimage selection menu 50 is called, it can be determined in a short time whether or not the template file is associated with each Exif file by referring to the created table. Can be displayed. Therefore, even if there are a plurality of image files, the user can confirm in a short time whether or not a template file is associated with each image file.

なお、第一実施例では情報を画像テーブルGとテンプレートテーブルTとに分割しているが、図13に示すように一つのテーブルとして作成してもよい。この場合はテンプレートID列は不要である。
また、第一実施例ではファイル処理装置を備える画像表示装置としてプリンタ1を例に説明したが、パーソナルコンピュータ、ディジタルカメラ、携帯電話、PDAなどにファイル処理装置を備えてもよい。
In the first embodiment, the information is divided into the image table G and the template table T, but may be created as one table as shown in FIG. In this case, the template ID column is not necessary.
In the first embodiment, theprinter 1 has been described as an example of the image display device including the file processing device. However, the file processing device may be provided in a personal computer, a digital camera, a mobile phone, a PDA, or the like.

また、本実施例では合成画像を印刷する場合を例に説明したが合成画像をLCD12aに表示するようにしてもよい。
(第二実施例)
図14は、第二実施例に係る「対応付けに関する情報」を示す模式図である。第二実施例の「対応付けに関する情報」は図示するように画像ファイルと識別子の有無とを対応付けるテーブルである。識別子の有無が対応付けられていれば画像ファイルにテンプレートファイルが関連付けられているか否かを判別できる。画像ファイルにテンプレートファイルが関連付けられているか否かを短時間に確認できさえすればよく、どのテンプレートファイルが関連付けられているかまでは確認できなくてもよい場合、図14に示すテーブルを作成すれば十分である。図14に示すテーブルは画像ファイルのみを検索すれば作成でき、テンプレートファイルを検索する必要がないため短時間に作成できる。
In this embodiment, the case where the composite image is printed has been described as an example. However, the composite image may be displayed on theLCD 12a.
(Second embodiment)
FIG. 14 is a schematic diagram illustrating “information relating to association” according to the second embodiment. “Information relating to association” in the second embodiment is a table that associates an image file with the presence or absence of an identifier as shown in the figure. If the presence or absence of the identifier is associated, it can be determined whether or not the template file is associated with the image file. If it is only necessary to confirm in a short time whether or not a template file is associated with an image file, and it is not necessary to confirm which template file is associated with the image file, the table shown in FIG. It is enough. The table shown in FIG. 14 can be created by searching only the image file, and can be created in a short time because there is no need to search the template file.

(第三実施例)
図15は、第三実施例に係る「対応付けに関する情報」を示す模式図である。第三実施例の「対応付けに関する情報」は図示するように画像ファイルと識別子とを対応付けるテーブルである。第三実施例のテーブルもテンプレートファイルを検索することなく作成できるため短時間に作成できる。第三実施例ではテンプレートファイルの識別子を対応付けているため、画像ファイルをテンプレートファイルに基づいて印刷するとき、当該画像ファイルに対応付けられているテンプレートファイルを第二実施例に比べて短時間に特定できる。
(Third embodiment)
FIG. 15 is a schematic diagram illustrating “information relating to association” according to the third embodiment. “Information about association” in the third embodiment is a table for associating image files with identifiers as shown. Since the table of the third embodiment can be created without searching for a template file, it can be created in a short time. Since the template file identifier is associated with the third embodiment, when the image file is printed based on the template file, the template file associated with the image file can be displayed in a shorter time than the second embodiment. Can be identified.

本発明の第一実施例に係る情報の模式図。The schematic diagram of the information which concerns on the 1st Example of this invention.(A)は本発明の第一実施例に係る画像表示装置の斜視図、(B)はそのブロック図。(A) is a perspective view of the image display apparatus which concerns on 1st Example of this invention, (B) is the block diagram.本発明の第一実施例に係る第一種ファイルのファイル構造を示す模式図。The schematic diagram which shows the file structure of the 1st type file which concerns on 1st Example of this invention.本発明の第一実施例に係る第二種ファイルのファイル構造を示す模式図。The schematic diagram which shows the file structure of the 2nd type file which concerns on 1st Example of this invention.(A)は本発明の第一実施例に係る印刷を説明するための模式図、(B)は印刷結果を示す模式図。(A) is a schematic diagram for demonstrating the printing which concerns on the 1st Example of this invention, (B) is a schematic diagram which shows a printing result.本発明の第一実施例に係るファイル処理プログラムのブロック図。The block diagram of the file processing program which concerns on 1st Example of this invention.本発明の第一実施例に係るフローチャート。The flowchart which concerns on the 1st Example of this invention.(A)及び(B)は本発明の第一実施例に係る情報の模式図。(A) And (B) is a schematic diagram of the information which concerns on 1st Example of this invention.本発明の第一実施例に係るフローチャート。The flowchart which concerns on the 1st Example of this invention.本発明の第一実施例に係る画像表示プログラムのブロック図。1 is a block diagram of an image display program according to a first embodiment of the present invention.本発明の第一実施例に係る画像選択メニューの模式図。The schematic diagram of the image selection menu which concerns on 1st Example of this invention.本発明の第一実施例に係るフローチャート。The flowchart which concerns on the 1st Example of this invention.本発明の第一実施例に係る情報の模式図。The schematic diagram of the information which concerns on the 1st Example of this invention.本発明の第二実施例に係る情報の模式図。The schematic diagram of the information which concerns on the 2nd Example of this invention.本発明の第三実施例に係る情報の模式図。The schematic diagram of the information which concerns on 3rd Example of this invention.

符号の説明Explanation of symbols

1 プリンタ(ファイル処理装置、画像表示装置)、11 操作部(選択受付手段)、12 表示部(オブジェクト表示手段、選択受付手段)、13 画像処理部(画像表示手段)、14 プリンタエンジン(画像表示手段)、15 制御部(第一の検索手段、対応情報作成手段、第二の検索手段、オブジェクト表示手段、選択受付手段、画像表示手段)、19 メモリ読み書き部(第一の検索手段、第二の検索手段)、20 リムーバブルメモリDESCRIPTION OFSYMBOLS 1 Printer (file processing apparatus, image display apparatus), 11 Operation part (selection reception means), 12 Display part (object display means, selection reception means), 13 Image processing part (image display means), 14 Printer engine (image display) Means), 15 control section (first search means, correspondence information creation means, second search means, object display means, selection reception means, image display means), 19 memory read / write section (first search means, second search means) 20) Removable memory

Claims (12)

Translated fromJapanese
記憶媒体から第一種ファイルを検索する第一の検索手段と、
前記第一の検索手段で検索された前記第一種ファイルに第二種ファイルの識別子が格納されているか否かを判別し、判別結果に基づいて前記第一種ファイルと前記第二種ファイルとの対応付けに関する情報を作成する対応情報作成手段と、
を備えることを特徴とするファイル処理装置。
A first search means for searching for a first type file from a storage medium;
It is determined whether or not an identifier of the second type file is stored in the first type file searched by the first search means, and based on the determination result, the first type file and the second type file Correspondence information creating means for creating information related to the correspondence of
A file processing apparatus comprising:
前記第一種ファイルは画像ファイルであり、
前記第二種ファイルは任意の画像と合成する部品画像を指定するテンプレートファイルであることを特徴とする請求項1に記載のファイル処理装置。
The first type file is an image file,
The file processing apparatus according to claim 1, wherein the second type file is a template file that specifies a component image to be combined with an arbitrary image.
前記識別子は所定のユニークコードであることを特徴とする請求項1又は2に記載のファイル処理装置。  The file processing apparatus according to claim 1, wherein the identifier is a predetermined unique code. 前記所定のユニークコードはUUIDであることを特徴とする請求項3に記載のファイル処理装置。  The file processing apparatus according to claim 3, wherein the predetermined unique code is a UUID. 前記情報は前記第一種ファイルと前記識別子の有無とを対応付ける情報であることを特徴とする請求項1〜4のいずれか一項に記載のファイル処理装置。  The file processing apparatus according to claim 1, wherein the information is information that associates the first type file with the presence or absence of the identifier. 前記情報は前記第一種ファイルと前記第二種ファイルとを対応付ける情報であることを特徴とする請求項1〜4のいずれか一項に記載のファイル処理装置。  The file processing apparatus according to claim 1, wherein the information is information that associates the first type file with the second type file. 前記記憶媒体から前記第二種ファイルを検索する第二の検索手段を更に備え、
前記対応情報作成手段は、前記第二の検索手段で検索された前記第二種ファイルから前記識別子を取得し、取得した前記識別子と同じ前記識別子が格納されている前記第一種ファイルに当該検索された第二種ファイルを対応付けることを特徴とする請求項6に記載のファイル処理装置。
A second search means for searching for the second type file from the storage medium;
The correspondence information creation unit acquires the identifier from the second type file searched by the second search unit, and searches the first type file in which the same identifier as the acquired identifier is stored. The file processing apparatus according to claim 6, wherein the second type file is associated.
前記記憶媒体はリムーバブルメモリであり、
前記対応情報作成手段は、リムーバブルメモリが接続されると前記情報を作成することを特徴とする請求項1〜7のいずれか一項に記載のファイル処理装置。
The storage medium is a removable memory;
8. The file processing apparatus according to claim 1, wherein the correspondence information creating unit creates the information when a removable memory is connected.
請求項1〜8のいずれか一項に記載のファイル処理装置と、
前記情報を参照し、前記第二種ファイルが関連付けられている前記第一種ファイルに対応するオブジェクトと前記第二種ファイルが関連付けられていない前記第一種ファイルに対応するオブジェクトとを識別可能に画面に表示するオブジェクト表示手段と、
前記オブジェクトの選択を受け付けることにより前記第一種ファイルの選択を受け付ける選択受付手段と、
前記選択受付手段で選択された前記第一種ファイルであって前記第二種ファイルが関連付けられている前記第一種ファイルと当該第一種ファイルに関連付けられている前記第二種ファイルとに基づいて画像を表示する画像表示手段と、
を備えることを特徴とする画像表示装置。
The file processing apparatus according to any one of claims 1 to 8,
Referring to the information, the object corresponding to the first type file associated with the second type file can be identified from the object corresponding to the first type file not associated with the second type file. Object display means for displaying on the screen;
Selection accepting means for accepting selection of the first type file by accepting selection of the object;
Based on the first type file selected by the selection accepting unit and the second type file associated with the second type file, and the second type file associated with the first type file. Image display means for displaying an image,
An image display device comprising:
前記画像表示手段は印刷媒体に画像を印刷することにより表示することを特徴とする請求項9に記載の画像表示装置。  The image display device according to claim 9, wherein the image display unit displays the image by printing the image on a print medium. 記憶媒体から第一種ファイルを検索する第一の検索段階と、
前記第一の検索段階で検索された前記第一種ファイルに第二種ファイルの識別子が格納されているか否かを判別し、判別結果に基づいて前記第一種ファイルと前記第二種ファイルとの対応付けに関する情報を作成する対応情報作成段階と、
を含むことを特徴とするファイル処理方法。
A first search stage for searching for a first type file from a storage medium;
It is determined whether or not the second type file identifier is stored in the first type file searched in the first search step, and based on the determination result, the first type file and the second type file A correspondence information creation stage for creating information on the correspondence of
A file processing method comprising:
記憶媒体から第一種ファイルを検索する第一の検索手段と、
前記第一の検索手段で検索された前記第一種ファイルに第二種ファイルの識別子が格納されているか否かを判別し、判別結果に基づいて前記第一種ファイルと前記第二種ファイルとの対応付けに関する情報を作成する対応情報作成手段としてコンピュータを機能させることを特徴とするファイル処理プログラム。



A first search means for searching for a first type file from a storage medium;
It is determined whether or not an identifier of the second type file is stored in the first type file searched by the first search means, and based on the determination result, the first type file and the second type file A file processing program for causing a computer to function as correspondence information creating means for creating information relating to the correspondence between the files.



JP2004221939A2004-07-292004-07-29 File processing apparatus, image display apparatus, file processing method, and file processing programWithdrawnJP2006040130A (en)

Priority Applications (3)

Application NumberPriority DateFiling DateTitle
JP2004221939AJP2006040130A (en)2004-07-292004-07-29 File processing apparatus, image display apparatus, file processing method, and file processing program
US11/192,430US20060119911A1 (en)2004-07-292005-07-29Image display apparatus, printer, image display method and image display program product
US11/192,440US7812977B2 (en)2004-07-292005-07-29Image-processing system, image-processing method, and product of image-processing program for displaying an image individually or as a composite image

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP2004221939AJP2006040130A (en)2004-07-292004-07-29 File processing apparatus, image display apparatus, file processing method, and file processing program

Publications (1)

Publication NumberPublication Date
JP2006040130Atrue JP2006040130A (en)2006-02-09

Family

ID=35905028

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP2004221939AWithdrawnJP2006040130A (en)2004-07-292004-07-29 File processing apparatus, image display apparatus, file processing method, and file processing program

Country Status (1)

CountryLink
JP (1)JP2006040130A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2010201969A (en)*2009-02-272010-09-16Hitachi LtdIn-vehicle system
KR100995993B1 (en)*2007-02-272010-11-22후지쯔 세미컨덕터 가부시키가이샤 A computer readable recording medium recording a file processing program, a file processing method, a file processing apparatus, and a computer readable recording medium recording a function program.

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR100995993B1 (en)*2007-02-272010-11-22후지쯔 세미컨덕터 가부시키가이샤 A computer readable recording medium recording a file processing program, a file processing method, a file processing apparatus, and a computer readable recording medium recording a function program.
JP2010201969A (en)*2009-02-272010-09-16Hitachi LtdIn-vehicle system

Similar Documents

PublicationPublication DateTitle
US7907301B2 (en)Information processing apparatus having printer driver and sheet parameter setting method for printer driver
JP4978334B2 (en) Image processing apparatus, RAW file information display method, and computer program
US20090157912A1 (en)Image processing apparatus
JP2007253572A (en) Printing device
KR100654803B1 (en) Image printing apparatus and printing method using same
JP4166734B2 (en) DRIVER PROGRAM, RECORDING MEDIUM CONTAINING DRIVER PROGRAM, DRIVER CONTROL METHOD, AND DRIVER CONTROL DEVICE
US7697442B2 (en)Output apparatus configured to output data for printing, processing apparatus configured to process printing data, and method
JP2002273973A (en)Method for processing image file
US20060119911A1 (en)Image display apparatus, printer, image display method and image display program product
JP2006040130A (en) File processing apparatus, image display apparatus, file processing method, and file processing program
JP6337736B2 (en) Information processing apparatus, recording system, and program
JP4306287B2 (en) Printing system, method and program
JP2006042166A (en) Image display apparatus, printer, image display method, and image display program
US20060050298A1 (en)Image forming system and method using removable storage medium
US7812977B2 (en)Image-processing system, image-processing method, and product of image-processing program for displaying an image individually or as a composite image
US20110157646A1 (en)Control apparatus and computer program
JP2000067078A (en) Data processing method and device
JP4492838B2 (en) Printing information storage method and apparatus
JP5233213B2 (en) Image processing apparatus, image processing method, and image processing program
JP4645349B2 (en) Information processing apparatus and program
US20060203258A1 (en)File management apparatus
JP2016173720A (en)Information processing device, program, and control method
JP2005182476A (en)Filing system, filing method, filing program, and storage medium
JP2005182519A (en) Document management apparatus, output method, and program
JP2013045270A (en)Information processing device, information processing method and program

Legal Events

DateCodeTitleDescription
A300Withdrawal of application because of no request for examination

Free format text:JAPANESE INTERMEDIATE CODE: A300

Effective date:20071002


[8]ページ先頭

©2009-2025 Movatter.jp