JP2006135864A - Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner - Google Patents

Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner Download PDF

Info

Publication number
JP2006135864A
JP2006135864A JP2004325046A JP2004325046A JP2006135864A JP 2006135864 A JP2006135864 A JP 2006135864A JP 2004325046 A JP2004325046 A JP 2004325046A JP 2004325046 A JP2004325046 A JP 2004325046A JP 2006135864 A JP2006135864 A JP 2006135864A
Authority
JP
Japan
Prior art keywords
image
page
image data
data
layout
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
JP2004325046A
Other languages
Japanese (ja)
Inventor
Takashi Shimooku
隆史 下奥
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2004325046A priority Critical patent/JP2006135864A/en
Publication of JP2006135864A publication Critical patent/JP2006135864A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To save a trouble that a user executes a same editing operation again on images as before with respect to new image frames when the image frames into which images are inserted by any operation are changed in the case where an electronic album editing program is executed on a PC. <P>SOLUTION: Editions of a resize, a movement and a rotation that a user intentionally performs with respect to the prior image frames are taken over, and information of images is applied to the new image frame also. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、複数画像データを複数ページに配置した電子アルバムを作成する電子アルバム編集装置及びその制御方法及びその制御方法をコンピュータに実行させるプログラム及びそのプログラムをコンピュータ読み出し可能に記憶した記憶媒体に関するものである。   The present invention relates to an electronic album editing apparatus for creating an electronic album in which a plurality of image data are arranged on a plurality of pages, a control method thereof, a program for causing a computer to execute the control method, and a storage medium storing the program in a computer-readable manner It is.

従来、パーソナルコンピュータ(PC)上で、アルバムのような複数ページを有するレイアウトに画像データを配置して編集を実行するための電子アルバム編集プログラムがある。(特許文献1参照)
特開2000−082128号公報
2. Description of the Related Art Conventionally, there is an electronic album editing program for executing editing by arranging image data in a layout having a plurality of pages such as an album on a personal computer (PC). (See Patent Document 1)
Japanese Unexamined Patent Publication No. 2000-082128

PC上で電子アルバム編集プログラムを実行する場合、何らかの操作で画像が挿入されている画像フレームが変わる事がある。このとき、それ以前に画像が挿入されていたフレームに合わせて、画像に対して行われていたリサイズ、移動、回転の編集はリセットされてしまっていた。したがって、ユーザが意図的に行ったリサイズ、移動、回転の編集が無効になってしまい、ユーザは再び編集操作を実行しなおさなければならなかった。そこで、何らかの形で編集情報を継承し、新しい画像フレームに対しても画像の情報を適用する事が望まれている。   When an electronic album editing program is executed on a PC, an image frame in which an image is inserted may be changed by some operation. At this time, the resizing, moving, and rotating editing performed on the image was reset according to the frame in which the image was previously inserted. Therefore, the resize, movement, and rotation editing intentionally performed by the user is invalidated, and the user has to execute the editing operation again. Therefore, it is desired to inherit the editing information in some form and apply the image information to a new image frame.

上記課題を達成するために本発明の画像編集装置では、画像を挿入すべき領域である画像フレームの情報として画像を挿入すべき位置とサイズ(以降「基準矩形」と呼ぶ)を管理する手段と、画像が画像フレームに挿入されたときに、画像の左上を原点としたXY座標系中における、基準矩形の位置をアルバムデータ中の画像情報に記録する手段と、画像挿入領域に挿入されている任意の画像をリサイズする手段と、任意の画像挿入領域に挿入されている任意の画像を移動する手段と、任意の画像挿入領域に挿入されている任意の画像を回転する手段と、上記3つのいずれかの操作によって変化した画像中の基準矩形の位置情報を更新する手段と、画像の画像フレームを変更する手段と、画像に関連づけて記憶している基準矩形の位置情報と、新しい画像フレームの基準矩形の情報から、画像の挿入サイズを決定する手段とを持つ。   In order to achieve the above object, in the image editing apparatus of the present invention, means for managing the position and size (hereinafter referred to as “reference rectangle”) at which an image is to be inserted as information of an image frame that is an area into which the image is to be inserted; When the image is inserted into the image frame, means for recording the position of the reference rectangle in the image information in the album data in the XY coordinate system with the upper left corner of the image as the origin, and the image is inserted in the image insertion area Means for resizing an arbitrary image; means for moving an arbitrary image inserted in an arbitrary image insertion area; means for rotating an arbitrary image inserted in an arbitrary image insertion area; Means for updating the position information of the reference rectangle in the image changed by any of the operations, means for changing the image frame of the image, and position information of the reference rectangle stored in association with the image; From the reference rectangle information of a new image frame, having means for determining the insert size of the image.

本発明によれば、画像が挿入される画像フレームが変わっても、以前の画像フレームに合わせて画像に対して行われていたリサイズ、移動、回転の編集状態を画像が次の画像フレームに挿入された場合にも適用させる事ができるという効果が得られる。   According to the present invention, even if the image frame into which the image is inserted changes, the image is inserted into the next image frame with the resize, movement, and rotation editing states performed on the image in accordance with the previous image frame. The effect that it can be applied also when it is done is acquired.

(第1の実施形態)
図1は本実施形態に係る情報提供システム構成の一例を示す図である。
(First embodiment)
FIG. 1 is a diagram illustrating an example of an information providing system configuration according to the present embodiment.

図1において、101は、イメージ情報である光学像を、電気信号に変換し、所定の画像処理をした後、デジタル情報として、記録、再生する画像入力装置である。例えば、画像入力装置101はデジタルスチルカメラやデジタルビデオカメラ、スキャナである。102は、ユーザが操作するパーソナルコンピュータ(PC)である。103は画像入力装置101で取得された画像データをユーザPC102へ転送するためのデータ転送用インターフェースである。例えば、データ転送用インターフェース103はUSB(Universal Serial Bus)やIEEE1394に代表される有線インターフェースあるいは、IrDA、Bluetoothに代表される無線系インターフェースである。画像入力装置101からデータ転送用インターフェース103を介してユーザPC102へ転送された画像データは、ユーザPC102のハードディスクドライブ(HDD)に記憶される。尚、この画像入力装置101からユーザPC102への画像データ転送に関しては、ユーザPC102にインストールされているオペレーションシステム(OS)又は専用のソフトウエアからの命令にしたがって、画像入力装置101が記憶装置に格納している画像データを一括転送する場合と、画像入力装置101からユーザPC102に送られる転送コマンドにしたがって、ユーザPC102のOS又は専用ソフトウエアが、ユーザPC102のHDDにデータ記録領域を確保し、画像入力装置101から画像データを受信する場合がある。   In FIG. 1, reference numeral 101 denotes an image input device that converts an optical image, which is image information, into an electrical signal, performs predetermined image processing, and then records and reproduces the digital information. For example, the image input device 101 is a digital still camera, a digital video camera, or a scanner. Reference numeral 102 denotes a personal computer (PC) operated by the user. Reference numeral 103 denotes a data transfer interface for transferring image data acquired by the image input apparatus 101 to the user PC 102. For example, the data transfer interface 103 is a wired interface typified by USB (Universal Serial Bus) or IEEE1394, or a wireless interface typified by IrDA or Bluetooth. Image data transferred from the image input device 101 to the user PC 102 via the data transfer interface 103 is stored in a hard disk drive (HDD) of the user PC 102. Regarding image data transfer from the image input device 101 to the user PC 102, the image input device 101 stores it in a storage device in accordance with an instruction from an operation system (OS) installed in the user PC 102 or dedicated software. When the image data being transferred at once and the transfer command sent from the image input device 101 to the user PC 102, the OS or dedicated software of the user PC 102 secures a data recording area in the HDD of the user PC 102, and In some cases, image data is received from the input device 101.

ユーザPC102は、インターネット104での情報転送が可能な標準プロトコルを有するブラウザ120を動作可能である。ユーザPC102はブラウザ120を動作させることにより、Hyper Text Transfer Protocol(HTTP)等のプロトコルを用いてフォトサイト105にアクセスし、Hyper Text Markup Language(HTML)やeXtensible Markup Language(XML)等の記述言語で作成されたWebページ情報を取得して解析し、ユーザPC102のディスプレイ上にWebページを表示させることができる。このWebページ情報はフォトサイト105が画像DB107にて管理する画像や音声等のマルチメディア情報にリンクされている。   The user PC 102 can operate a browser 120 having a standard protocol capable of transferring information on the Internet 104. The user PC 102 operates the browser 120 to access the photosite 105 using a protocol such as Hyper Text Transfer Protocol (HTTP), and the Hyper Text Markup Language (HTML), eXtensible Markup Language, etc. (M language description) The created web page information can be acquired and analyzed, and the web page can be displayed on the display of the user PC 102. This Web page information is linked to multimedia information such as images and sounds managed by the photo site 105 in the image DB 107.

そして、ユーザPC102は、ブラウザ120を動作させることによりインターネット104経由でフォトサイト105から、電子アルバム編集プログラムを実行する際に使用する電子アルバムのテンプレートや画像データをダウンロードすることができる。尚、ダウンロードされる電子アルバムのテンプレートや画像データは画像DB107に記憶されている。   The user PC 102 can download the electronic album template and image data used when executing the electronic album editing program from the photo site 105 via the Internet 104 by operating the browser 120. The downloaded electronic album template and image data are stored in the image DB 107.

また、ユーザPC102は、1つ以上のページを含む電子アルバム上に1つ以上の画像データを配置して編集するための電子アルバム編集プログラムを有する。電子アルバムに含まれる画像データは、画像入力装置101から取得されユーザPC102のHDDに記憶された画像データやフォトサイト105からダウンロードされた画像データである。   The user PC 102 also has an electronic album editing program for arranging and editing one or more image data on an electronic album including one or more pages. The image data included in the electronic album is image data acquired from the image input device 101 and stored in the HDD of the user PC 102 or image data downloaded from the photo site 105.

また、ユーザPC102は、編集された電子アルバムのプリント注文をフォトサイト105経由でプリントサイト109に依頼することが可能である。プリントサイト109はプリンタ111を使って電子アルバムデータに対する印刷処理を実行してアルバム112を出力する。尚、図1ではプリントサイト109を1つだけ図示したが、1つ以上存在してもよい。   Further, the user PC 102 can request the print site 109 via the photo site 105 to print the edited electronic album. The print site 109 executes print processing for the electronic album data using the printer 111 and outputs the album 112. In FIG. 1, only one print site 109 is shown, but one or more print sites 109 may exist.

図2は本実施形態に係るユーザPC102に相当する情報処理装置の概略構成を示す図である。   FIG. 2 is a diagram showing a schematic configuration of an information processing apparatus corresponding to the user PC 102 according to the present embodiment.

図2において、201はCRTディスプレイ(Cathode Ray Tube)であり、その表示画面には、例えば編集中の文書、図形、画像その他の編集情報、アイコン、メッセージ、メニューその他のユーザインタフェース情報が表示される。202はVRAMであり、CRTディスプレイ201の表示画面に表示するための画像が描画される。このVRAM202に生成された画像データは、所定の規定に従ってCRTディスプレイ201に転送され、これによりCRTディスプレイ201に画像が表示される。203はビットムーブユニット(BMU)であり、例えば、メモリ間(例えば、VRAM202と他のメモリ)のデータ転送や、メモリと各I/Oデバイス(例えば、ネットワークインタフェース211)との間のデータ転送を制御する。204はキーボードであり、文書等を入力するための各種キーを有する。205はポインティングデバイスであり、例えば、CRTディスプレイ201の表示画面上に表示されたアイコン、メニューその他のオブジェクトを指示するために使用される。206はCentral Processing Unit(CPU)であり、Read Only Memory(ROM)207、Hard Disk Drive(HDD)209又はフロッピー(登録商標)ディスクに格納された制御プログラムに基づいて、CPU206に接続された各デバイスを制御する。207はROMであり、各種の制御プログラムやデータを保持する。208はRandom Access Memory(RAM)であり、CPU206のワーク領域、エラー処理時のデータの退避領域、制御プログラムのロード領域等を有する。209はHDDである。HDD209は、ユーザPC102内で実行される各制御プログラムやコンテンツを格納することができる。例えば、HDD209には、ブラウザ120、電子アルバムデータ、電子アルバム編集プログラムなどが格納されている。210はフロッピー(登録商標)ディスクドライブ(FDD)であり、フロッピー(登録商標)ディスクに対するアクセスを制御する。211はネットワークインタフェースであり、他の情報処理装置やプリンタ等とインターネット104を介して通信を行うことができる。212はCPUバスであり、アドレスバス、データバス及びコントロールバスを含む。CPU206に対する制御プログラムの提供は、ROM207、HDD209、FDD210から行うこともできるし、ネットワークインタフェース211を介してインターネット104経由で他の情報処理装置等から行うこともできる。   In FIG. 2, reference numeral 201 denotes a CRT display (Cathode Ray Tube) whose display screen displays, for example, a document being edited, graphics, images and other editing information, icons, messages, menus and other user interface information. . Reference numeral 202 denotes a VRAM on which an image to be displayed on the display screen of the CRT display 201 is drawn. The image data generated in the VRAM 202 is transferred to the CRT display 201 according to a predetermined rule, whereby an image is displayed on the CRT display 201. 203 is a bit move unit (BMU), for example, for transferring data between memories (for example, VRAM 202 and other memories) and transferring data between the memory and each I / O device (for example, network interface 211). Control. A keyboard 204 has various keys for inputting documents and the like. Reference numeral 205 denotes a pointing device, which is used, for example, to indicate an icon, menu, or other object displayed on the display screen of the CRT display 201. Reference numeral 206 denotes a central processing unit (CPU), which is a device connected to the CPU 206 based on a control program stored in a read only memory (ROM) 207, a hard disk drive (HDD) 209, or a floppy (registered trademark) disk. To control. A ROM 207 holds various control programs and data. Reference numeral 208 denotes a random access memory (RAM), which has a work area for the CPU 206, a data save area during error processing, a control program load area, and the like. Reference numeral 209 denotes an HDD. The HDD 209 can store each control program and content executed in the user PC 102. For example, the HDD 209 stores a browser 120, electronic album data, an electronic album editing program, and the like. A floppy (registered trademark) disk drive (FDD) 210 controls access to the floppy (registered trademark) disk. A network interface 211 can communicate with other information processing apparatuses, printers, and the like via the Internet 104. A CPU bus 212 includes an address bus, a data bus, and a control bus. The provision of the control program to the CPU 206 can be performed from the ROM 207, HDD 209, and FDD 210, or can be performed from another information processing apparatus or the like via the network 104 via the Internet 104.

図3は本実施例に係る電子アルバム編集プログラムの機能構成を示すブロック図である。301は電子アルバムデータを管理したり、電子アルバム編集プログラムの全体を制御するためのデータ制御部である。302は電子アルバム編集プログラムのグラフィカルユーザインタフェース(GUI)を制御してユーザに対する操作手段や編集内容の表示手段を提供するためのGUI制御部である。303は電子アルバムデータの編集に使用されるテンプレートファイルやレイアウトファイル308、画像データ割付テーブル309などのデザイン情報を管理するためのデザイン制御部である。304は編集された電子アルバムデータを元に印刷注文に必要な印刷データを作成して、印刷データ及び注文処理に必要な情報の通信処理を行うための通信制御部である。   FIG. 3 is a block diagram showing a functional configuration of the electronic album editing program according to the present embodiment. A data control unit 301 manages the electronic album data and controls the entire electronic album editing program. A GUI control unit 302 controls the graphical user interface (GUI) of the electronic album editing program to provide an operation unit and a display unit for displaying edited contents for the user. A design control unit 303 manages design information such as a template file, layout file 308, and image data allocation table 309 used for editing electronic album data. A communication control unit 304 creates print data necessary for the print order based on the edited electronic album data, and performs communication processing of the print data and information necessary for the order process.

データ制御部301により管理されている電子アルバムデータの中には、電子アルバムの表紙に割り振られる表紙用画像データ305、電子アルバム内の各ページに割り振られるページ内画像データ306、電子アルバム内のページに割り振られていないページ外画像データ307がある。ページ外画像データ307は、後述する電子アルバム編集画面内の退避画像表示領域上に表示されるよう制御される。レイアウトファイル308は電子アルバム内の各ページ見開き上での画像データや画像データに付属する文字列の配置位置を決定するための情報を記録する。画像データ割付テーブル309はデザイン制御部303により管理され、電子アルバム内の各見開きページに割り付けられる画像データの数量に関わる情報をテーブルとして記録する。尚、本実施形態では、電子アルバムは表紙ページと本文ページで構成され、それぞれ区別して扱われる場合について説明するが、表紙ページと本文ページとを区別せずに同様の扱いにするようにしても、本発明を実現できる。   Among the electronic album data managed by the data control unit 301, the cover image data 305 allocated to the cover of the electronic album, the in-page image data 306 allocated to each page in the electronic album, and the pages in the electronic album There is out-of-page image data 307 that is not allocated to. The out-of-page image data 307 is controlled to be displayed on a saved image display area in an electronic album editing screen described later. The layout file 308 records information for determining image data on each page spread in the electronic album and an arrangement position of a character string attached to the image data. The image data allocation table 309 is managed by the design control unit 303, and records information related to the quantity of image data allocated to each spread page in the electronic album as a table. In this embodiment, the electronic album is composed of a cover page and a body page, and each case is handled separately. However, the cover page and the body page may be treated in the same manner without being distinguished from each other. The present invention can be realized.

図4はページ内画像データ306とページ外画像データ307のデータ構成の一例を示す図である。ページ内画像データ306やページ外画像データ307の画像データファイル402や412はファイルデータであってもよいし、ファイルデータの格納位置を示すパスであってもよい。403や413は文字データであり、画像データに付属する文字データを保持する。404や414は画像編集情報であり、ユーザの操作によって当該画像データに対して施された編集内容を保持する。これは、基準矩形の位置情報、クリッピング情報、色やコントラストなどを変更したイメージ編集情報などを含んだデータである。編集内容は例えば、クリッピング、色やコントラストなどの調整、回転操作などである。415はページ情報であり、当該画像データがどの見開きページの本文ページ編集領域上から退避画像表示領域に移動されたかを保持する。ページ情報415に保持された値は、退避画像表示領域上で当該画像データとともに表示される。   FIG. 4 is a view showing an example of the data structure of the in-page image data 306 and the out-page image data 307. The image data files 402 and 412 of the in-page image data 306 and the off-page image data 307 may be file data, or may be a path indicating the storage location of the file data. Character data 403 and 413 hold character data attached to image data. Reference numerals 404 and 414 denote image editing information, which holds the editing contents applied to the image data by the user's operation. This is data including position information of the reference rectangle, clipping information, image editing information in which the color and contrast are changed, and the like. The editing contents include, for example, clipping, adjustment of color and contrast, rotation operation, and the like. Reference numeral 415 denotes page information, which holds which spread page is moved from the text page editing area of the spread page to the saved image display area. The value held in the page information 415 is displayed together with the image data on the saved image display area.

図5は本実施形態に係る画像データ割付テーブル309の一例を示す図である。電子アルバムの本文ページのそれぞれに何枚の画像データが割り振られるかは、電子アルバムの本文ページの総数と電子アルバムに含まれるよう選択された画像データの枚数に基づき、画像データ割付テーブル309を用いて決定される。画像データ割付テーブル309は電子アルバムの本文ページの総数ごとに存在する。以下、説明を分かりやすくするため、図5を参照してページ総数が12ページの画像データ割付テーブル309を例に挙げて説明する。図5の画像データ割付テーブル309に従うと、電子アルバムに含まれるよう選択された画像データの枚数が8枚であれば、1ページ目に1枚、2&3ページ目に2枚、4&5ページ目に1枚、6&7ページ目に2枚、8&9ページ目に1枚、10&11ページ目に1枚の画像データがそれぞれ割り振られ、12ページ目には画像データは割り振られないこととなる。   FIG. 5 is a diagram showing an example of the image data allocation table 309 according to the present embodiment. The number of image data allocated to each body page of the electronic album is determined using the image data allocation table 309 based on the total number of body pages of the electronic album and the number of image data selected to be included in the electronic album. Determined. The image data allocation table 309 exists for each total number of body pages of the electronic album. Hereinafter, for easy understanding, the image data allocation table 309 having a total number of 12 pages will be described as an example with reference to FIG. According to the image data allocation table 309 of FIG. 5, if the number of image data selected to be included in the electronic album is 8, 1 on the 1st page, 2 on the 2 & 3 page, 1 on the 4 & 5 page 2 sheets on the 6th and 7th pages, 1 image data on the 8th and 9th pages, and 1 image data on the 10th and 11th pages, respectively, and no image data is allocated on the 12th page.

尚、電子アルバムに含まれるよう選択された画像データは、ユーザによって指定された任意の順番あるいは、画像データの選択順、画像データの撮影日順、画像データの名称順などにしたがって割り振られる。   Note that the image data selected to be included in the electronic album is allocated according to an arbitrary order designated by the user or according to the selection order of the image data, the order of the date of photographing of the image data, the order of the names of the image data, and the like.

また、本実施形態では、電子アルバムに含まれるよう選択された画像データを見開き両側ページに配置する場合について説明しているが、片側ページごとに配置する場合でも同様に実現できる。   Further, in the present embodiment, a case has been described in which image data selected to be included in the electronic album is arranged on both sides of the page, but the same can be realized even in the case of arranging each side page.

図6は本実施形態に係るレイアウトファイル308の構成の一例を示す図である。レイアウトファイルは電子アルバムの本文ページの総数ごとに存在する。以下、説明をわかりやすくするため、図6を参照して本文ページの総数が12ページのレイアウトファイルを例に挙げて説明する。   FIG. 6 is a diagram showing an example of the configuration of the layout file 308 according to the present embodiment. A layout file exists for each total number of body pages of the electronic album. Hereinafter, in order to make the explanation easy to understand, a layout file having a total of 12 text pages will be described as an example with reference to FIG.

図6に示すレイアウトファイル308は、本文ページの総数が12ページのレイアウトファイルである。表紙ページ用のレイアウトリストと先頭1ページ目用のレイアウトリストと最終12ページ目用のレイアウトリストは、片側1ページ分に画像データを配置するためのレイアウトリストとなっている。また、残りの2&3ページ目用、4&5ページ目用..(略)..10&11ページ目用ページ用のレイアウトリストは見開き両側ページ分のレイアウトリストとなっている。そして、表紙ページ用のレイアウトリストは画像データが1枚と2枚の場合にそれぞれ対応するレイアウトリストを持っている。先頭1ページ目用のレイアウトリストは画像データが1枚と2枚と3枚の場合にそれぞれ対応するレイアウトリストを持っている。また、最終12ページ目用のレイアウトリストには画像データが1枚、2枚、3枚、および5枚の場合にそれぞれ対応するレイアウトリストを持っている。同様に2&3ページ目用、4&5ページ目用、6&7ページ目用…および10&11ページ目用も最適な画像データの枚数に対応するレイアウトリストを持っている。   A layout file 308 shown in FIG. 6 is a layout file having a total of 12 text pages. The layout list for the cover page, the layout list for the first page, and the layout list for the last page 12 are layout lists for arranging image data on one page on one side. Also for the remaining 2 & 3 pages, 4 & 5 pages. . (Omitted). . The layout list for the pages for the 10th and 11th pages is a layout list for the two-page spread pages. The cover page layout list has layout lists corresponding to the case where the image data is one and two, respectively. The layout list for the first page has layout lists corresponding to the case where the image data is one, two and three, respectively. Further, the layout list for the last 12th page has layout lists corresponding respectively to the case where the image data is 1, 2, 3 and 5. Similarly, the second and third pages, the fourth and fifth pages, the sixth and seventh pages, and the tenth and eleventh pages have layout lists corresponding to the optimum number of image data.

また、レイアウトリスト602〜615は各画像データの枚数について1種類以上のレイアウトデータを有する。図7に、レイアウトリストが有するレイアウトデータの一例を示す。図7では、あるページ用として、画像データが1〜5枚の場合に対応するレイアウトリストを持ち、各レイアウトリストが2又は3種類のレイアウトデータを有していることを表している。また、レイアウトリストは、レイアウトデータA701、レイアウトデータB702、レイアウトデータC703に分類して構成されている。ここで、本実施形態では、レイアウトデータAのレイアウトデータを初期値とする。また、図7ではレイアウトデータが3つの場合を図示したが、その数に制限はない。   The layout lists 602 to 615 include one or more types of layout data for the number of pieces of image data. FIG. 7 shows an example of layout data included in the layout list. FIG. 7 shows that for a certain page, a layout list corresponding to 1 to 5 image data is provided, and each layout list has two or three types of layout data. The layout list is classified into layout data A701, layout data B702, and layout data C703. Here, in the present embodiment, the layout data of the layout data A is set as an initial value. FIG. 7 shows the case where there are three layout data, but the number is not limited.

そして、各ページ上での画像データの配置は、そのページに割り振られた画像データの枚数と対応するレイアウトリストのレイアウトデータで決定される。例えば、2&3ページ目に割り振られた画像データの枚数が3枚の場合、2&3ページ目3枚用レイアウトリスト609に含まれるレイアウトデータが指定する位置にしたがって、3枚の画像データが2&3ページ目に配置される。   The arrangement of the image data on each page is determined by the layout list layout data corresponding to the number of image data allocated to the page. For example, if the number of image data allocated to the 2nd and 3rd pages is 3, the 3rd image data is placed on the 2nd and 3rd pages according to the position specified by the layout data included in the layout list 609 for the 3rd page 3rd page. Be placed.

尚、レイアウトファイル308は、各ページにおいて、全ての画像データの枚数に対応するレイアウトリストを持っているわけではない。図6に示すように、例えば、2&3ページ目は、画像データが1枚、2枚、3枚、6枚、8枚の場合に対応するレイアウトリストは持っているが、画像データが4枚や7枚の場合に対応するレイアウトデータは持っていない。   The layout file 308 does not have a layout list corresponding to the number of all image data on each page. As shown in FIG. 6, for example, the 2nd and 3rd pages have a layout list corresponding to the case where the image data is 1, 2, 3, 6, or 8, but the image data is 4 or There is no layout data corresponding to the case of seven sheets.

ユーザPC102は電子アルバム編集プログラムを実行して、上述した画像データ割付テーブル309とレイアウトファイル308を使用することによって、本文ページの総数と電子アルバムに含まれるよう選択された画像データの枚数に基づき、各ページへの画像データの割り振りとそれらの配置を決定し、電子アルバムを作成する。   The user PC 102 executes the electronic album editing program and uses the image data allocation table 309 and the layout file 308 described above, so that based on the total number of body pages and the number of image data selected to be included in the electronic album, The allocation of image data to each page and their arrangement are determined, and an electronic album is created.

図8は本実施形態に係るユーザPC102のCPU206が、ROM207あるいはHDD209から電子アルバム編集プログラムを読み出して起動し、電子アルバム編集プログラムを実行して電子アルバムを編集する処理の流れを説明するフローチャート図である。   FIG. 8 is a flowchart for explaining a flow of processing in which the CPU 206 of the user PC 102 according to the present embodiment reads out and starts an electronic album editing program from the ROM 207 or the HDD 209, executes the electronic album editing program, and edits the electronic album. is there.

ステップS801では、アルバムのサイズや本文ページの総数を選択及び決定する。アルバムのサイズは、例えばA4サイズやB5サイズなど、電子アルバムデータに基づき印刷装置111で出力されるアルバム112の用紙サイズである。   In step S801, the size of the album and the total number of body pages are selected and determined. The size of the album is, for example, the paper size of the album 112 output from the printing apparatus 111 based on the electronic album data, such as A4 size or B5 size.

ステップS802では、電子アルバムに適用するテンプレートファイルを選択及び決定する。   In step S802, a template file to be applied to the electronic album is selected and determined.

ステップS803では、デザイン制御部303によって、ステップS802にて決定されたテンプレートファイルと対応付けられたレイアウトファイル308と画像データ割付テーブル309とを取り込む。   In step S803, the design control unit 303 captures the layout file 308 associated with the template file determined in step S802 and the image data allocation table 309.

ステップS804では、電子アルバムに含まれる画像データを選択する。ここで、選択可能な画像データの枚数の範囲を、ステップS301で決定した本文ページの総数及びステップS303で取り込まれた画像データ割付テーブル309に基づき、設定する。また、電子アルバムの表紙ページに配置する表紙用画像データ305を選択する。そして、データ制御部301によって、選択された画像データの複製を電子アルバム編集プログラムの指定する記憶領域へ取り込む。   In step S804, image data included in the electronic album is selected. Here, the range of the number of selectable image data is set based on the total number of body pages determined in step S301 and the image data allocation table 309 captured in step S303. Also, the cover image data 305 to be arranged on the cover page of the electronic album is selected. Then, the data control unit 301 takes a copy of the selected image data into a storage area designated by the electronic album editing program.

ステップS805では、電子アルバムの表紙ページにステップS804にて選択された表紙用画像データ305を配置する。まず、ステップS801で決定された本文ページの総数に基づき、レイアウトファイル308を読み出す。そして、ステップS804にて選択された表紙用画像データ305の枚数にしたがって、表紙用レイアウトリスト602又は603を決定する。決定された表紙用レイアウトリスト602又は603に含まれる初期値のレイアウトデータにしたがい、表紙用画像データ305を表紙ページ上に配置する。尚、表紙は裏表紙と表表紙を含む。   In step S805, the cover image data 305 selected in step S804 is arranged on the cover page of the electronic album. First, the layout file 308 is read based on the total number of body pages determined in step S801. Then, the cover layout list 602 or 603 is determined in accordance with the number of cover image data 305 selected in step S804. According to the initial layout data included in the determined cover layout list 602 or 603, the cover image data 305 is arranged on the cover page. The front cover includes a back cover and a front cover.

ステップS806では、電子アルバム内の本文の各ページにステップS804にて選択されたページ内画像データ306を配置する。まず、ステップS801で決定された本文ページの総数とステップS804にて選択されたページ内画像データ306の総枚数とに基づき、画像データ割付テーブル309を読み出す。そして、読み出された画像データ割付テーブル309に従って、電子アルバムの本文の各ページに画像データを割り振る。次に、ステップS801で決定された本文のページ総数に基づき、レイアウトファイル308を読み出す。そして、各ページに割り振られたページ内画像データ306の枚数にしたがって、各ページのレイアウトリストを決定する。各ページのレイアウトリストの初期値のレイアウトデータに従って、ページ内画像データ306を電子アルバムの本文の各ページ上に配置する。このページ内画像データ306を配置する処理は本文の全ページについてそれぞれ実行される。尚、画像データ割付テーブル309に従って、ページ内画像データ306が割り振られなかったページにはページ内画像データ306は配置されない。そして、後述する図11に示すような電子アルバム編集画面1101をユーザPC102のCRT201に表示する。   In step S806, the in-page image data 306 selected in step S804 is arranged on each page of the text in the electronic album. First, the image data allocation table 309 is read based on the total number of body pages determined in step S801 and the total number of in-page image data 306 selected in step S804. Then, according to the read image data allocation table 309, image data is allocated to each page of the text of the electronic album. Next, the layout file 308 is read based on the total number of body pages determined in step S801. Then, the layout list of each page is determined according to the number of in-page image data 306 allocated to each page. In-page image data 306 is arranged on each page of the body of the electronic album in accordance with the initial layout data of the layout list of each page. The process of arranging the in-page image data 306 is executed for all pages of the body. In addition, according to the image data allocation table 309, the in-page image data 306 is not arranged on the page to which the in-page image data 306 is not allocated. Then, an electronic album editing screen 1101 as shown in FIG. 11 described later is displayed on the CRT 201 of the user PC 102.

ステップS807では、画像データに関するコメントを表す文字列の入力処理、入力された文字列のフォント種類やフォント色、フォントサイズの選択決定など、電子アルバムに表記される文字列を編集する。   In step S807, the character string described in the electronic album is edited, such as input processing of a character string representing a comment related to image data, selection of font type, font color, and font size of the input character string.

ステップS808では、電子アルバムの各ページ内での画像データの入れ替え、ページへの画像データの追加、ページからの画像データの削除、ページの配置の変更などレイアウト変更処理を実行する。このレイアウト変更処理については、後述する図9を用いて詳細に説明する。   In step S808, layout change processing such as replacement of image data in each page of the electronic album, addition of image data to the page, deletion of image data from the page, and change of page arrangement is executed. This layout change process will be described in detail with reference to FIG.

次に、ステップS809では、以上のようにして作成された電子アルバムデータがプリント注文に十分な形態や条件を満たしているかを確認するための処理を実行する。具体的には、電子アルバムデータに含まれる、表紙ページや本文ページ編集領域に表示されていた、ページ内画像データの解像度が印刷するのに十分な値となっているかを確認する。   In step S809, a process for confirming whether the electronic album data created as described above satisfies a form and conditions sufficient for a print order is executed. Specifically, it is confirmed whether the resolution of the in-page image data displayed in the cover page or body page editing area included in the electronic album data is a value sufficient for printing.

ステップS810では、アルバムプリント注文に必要な印刷用データを、電子アルバムデータに基づいて作成する。印刷用データは、電子アルバムの各ページにおいて配置されていたページ内画像データを、物理的なアルバム上でも同様に配置して印刷するよう指示するためのデータである。   In step S810, print data necessary for ordering an album print is created based on the electronic album data. The print data is data for instructing to print the in-page image data arranged on each page of the electronic album in the same manner on the physical album.

ステップS811では、ステップS810にて作成された印刷用データやプリント注文に必要な注文情報をフォトサイト105へ送信する。フォトサイト105はプリントサイト109へ転送する。   In step S811, the printing data created in step S810 and the order information necessary for the print order are transmitted to the photo site 105. The photo site 105 is transferred to the print site 109.

ステップS812では、電子アルバムデータを保存するかどうか確認する。   In step S812, it is confirmed whether the electronic album data is to be saved.

ステップS812にて電子アルバムデータを保存すると確認されれば、ステップS813では、作成された電子アルバムデータをユーザPC102のHDD209に保存する。   If it is confirmed in step S812 that the electronic album data is to be stored, the created electronic album data is stored in the HDD 209 of the user PC 102 in step S813.

図10は保存される電子アルバムデータの構成の一例を示すデータ構造図である。1001は電子アルバムデータ全体である。1002はページ内画像データ306が格納される領域、1003はページ内画像データ306を示す。1004はページ外画像データが格納される領域、1005はページ外画像データ307を示す。1006は各本文ページの配置に利用されたレイアウトデータが格納される領域で、1007はそのレイアウトデータである。レイアウトデータ1007は各ページに配置される、画像データの配置順、画像データの枚数、画像データの配置位置、画像データに付属する文字列を表示するための枠の位置などをさらに含めるようにしてもよい。   FIG. 10 is a data structure diagram showing an example of the configuration of stored electronic album data. Reference numeral 1001 denotes the entire electronic album data. Reference numeral 1002 denotes an area where the in-page image data 306 is stored, and reference numeral 1003 denotes the in-page image data 306. Reference numeral 1004 denotes an area in which image data outside the page is stored, and reference numeral 1005 denotes image data 307 outside the page. Reference numeral 1006 denotes an area for storing layout data used for arrangement of each body page, and reference numeral 1007 denotes the layout data. The layout data 1007 further includes the arrangement order of image data, the number of image data, the arrangement position of image data, the position of a frame for displaying a character string attached to the image data, and the like arranged on each page. Also good.

本実施形態では、電子アルバムデータ1001にページ外画像データ307を含むことにより、電子アルバムを再編集する際にもページ内画像データとして登録されなかった画像データが表示されるので、ユーザが前回は電子アルバムに不要であると判断した画像データを簡単に確認することができる。   In the present embodiment, by including the out-of-page image data 307 in the electronic album data 1001, image data that has not been registered as in-page image data is displayed even when the electronic album is re-edited. It is possible to easily check the image data determined to be unnecessary for the electronic album.

図9は本実施形態に係る図8のステップS808で実行されるレイアウト変更処理を説明するためのフローチャート図である。   FIG. 9 is a flowchart for explaining the layout change process executed in step S808 of FIG. 8 according to the present embodiment.

ステップS901では、ユーザ操作によるページレイアウト変更指示が行われたかどうか判断する。ページレイアウト変更は、例えば、電子アルバムのページ上に配置された画像データの入れ替え、ページへの画像データの追加又はページからの画像データの削除、ページから他ページへの画像データの移動、ページのレイアウトデータの選択変更である。   In step S901, it is determined whether a page layout change instruction has been issued by a user operation. Page layout changes include, for example, replacement of image data arranged on a page of an electronic album, addition of image data to a page or deletion of image data from a page, movement of image data from a page to another page, This is a selection change of layout data.

図11において、1100は電子アルバム編集画面である。1101は編集の対象となっているページを表示する本文ページ編集領域である。1102はステップS804にて選択されたが、その後の編集操作によって、ページに割り振られないことになった画像データを表示する退避画像表示領域である。1103はページ一覧表示領域で、電子アルバムに含まれる全てのページの番号が表示されている。また、ページ一覧表示領域1103では、編集の対象となっているページが明示されるよう、当該ページのページ番号にマスク表示処理が施されている。   In FIG. 11, 1100 is an electronic album editing screen. Reference numeral 1101 denotes a body page editing area for displaying a page to be edited. Reference numeral 1102 denotes a saved image display area that displays image data that has been selected in step S804 but has not been allocated to a page by a subsequent editing operation. Reference numeral 1103 denotes a page list display area in which numbers of all pages included in the electronic album are displayed. Further, in the page list display area 1103, a mask display process is performed on the page number of the page so that the page to be edited is clearly indicated.

図11では一例として、編集の対象となっている本文ページが6&7ページ目であり、本文ページ編集領域1101にて画像データA、B、Cが、6&7ページ目の3枚用レイアウトデータにしたがって配置されている状態が表示され、ページ一覧表示領域1103にて6&7ページのページ番号がマスク処理されて表示されている。また、退避画像表示領域1102には、編集操作の結果、ページ上に割り振られないことになった画像データDが表示されている。   In FIG. 11, as an example, the text page to be edited is the 6th and 7th pages, and the image data A, B, and C are arranged in the text page editing area 1101 according to the layout data for 3 sheets of the 6th and 7th pages. In the page list display area 1103, the page numbers of the 6th and 7th pages are masked and displayed. Further, the saved image display area 1102 displays image data D that is not allocated on the page as a result of the editing operation.

図11では、ページ一覧表示領域1103においてページ番号のみ表示しているが、各ページのイメージを表すようなサムネイル画像を表示するようにしてもよい。   In FIG. 11, only the page number is displayed in the page list display area 1103. However, a thumbnail image representing the image of each page may be displayed.

また、1104は指示リストであり、本文ページ編集領域1101上でポインティングデバイス205の右クリック入力を受けると、表示される。   An instruction list 1104 is displayed when a right-click input of the pointing device 205 is received on the text page editing area 1101.

尚、ステップS806で表示される電子アルバム編集画面1100の初期画面では、退避画像表示領域1102には画像データDは存在しない。   Note that the image data D does not exist in the saved image display area 1102 on the initial screen of the electronic album editing screen 1100 displayed in step S806.

ステップS911では、ページレイアウト変更指示が「ページのレイアウトデータの変更」であったかどうか判断する。具体的には、ユーザが本文ページ編集領域1101上でポインティングデバイス205の右クリック操作を入力することにより、指示リスト1104が表示される。そして、ユーザがポインティングデバイス205を操作して指示リスト1104の中から「レイアウト変更」を選択入力すれば、「ページのレイアウトデータの変更」が指示されたと判断する。   In step S911, it is determined whether the page layout change instruction is “change page layout data”. Specifically, the instruction list 1104 is displayed when the user inputs a right-click operation of the pointing device 205 on the text page editing area 1101. When the user operates the pointing device 205 to select and input “change layout” from the instruction list 1104, it is determined that “change page layout data” has been instructed.

ステップS912では、ステップS911にてページレイアウト変更指示が「ページのレイアウトデータの変更」であると判断されれば、本文ページ編集領域1101に表示されている画像データの枚数を検知する。   In step S912, if it is determined in step S911 that the page layout change instruction is “change page layout data”, the number of image data displayed in the body page edit area 1101 is detected.

ステップS913では、ステップS912にて検知された枚数と対応するレイアウトリストを取得する。   In step S913, a layout list corresponding to the number detected in step S912 is acquired.

ステップS914では、ステップS913にて取得したレイアウトリストに2種類以上のレイアウトデータが含まれているかどうか判定する。   In step S914, it is determined whether two or more types of layout data are included in the layout list acquired in step S913.

ステップS914にて含まれていると判定されれば、ステップS915では、当該レイアウトリストに含まれるレイアウトデータを図12に示すようなレイアウトデータ選択画面1200に表示する。尚、図12は本文ページ編集領域1101に3枚の画像データが表示されていると検知された場合の一例を示している。図12では、レイアウトリストに含まれるレイアウトデータ1201が3種類表示されている。また、1203はOKボタン、1204はキャンセルボタンで、OKボタン1203の押下操作が入力されるとチェックボックス1202がオンとなったレイアウトデータが選択決定され、レイアウトデータ選択画面1200を非表示にする。また、キャンセルボタン1204の押下操作が入力されると、ページのレイアウトデータの変更を中止し、レイアウトデータ選択画面1200を非表示にする。尚、レイアウトデータ1201には、現在、本文ページ編集領域1101に画像データを配置する際に利用されたレイアウトデータも含めて表示するようにしてもよい。そして、現在の画像データの配置に利用されたレイアウトデータが再び選択されれば、以降の処理を実行せずに、終了するようにしてもよい。   If it is determined in step S914 that it is included, in step S915, layout data included in the layout list is displayed on a layout data selection screen 1200 as shown in FIG. FIG. 12 shows an example when it is detected that three image data are displayed in the text page editing area 1101. In FIG. 12, three types of layout data 1201 included in the layout list are displayed. Also, reference numeral 1203 denotes an OK button, and 1204 denotes a cancel button. When a pressing operation of the OK button 1203 is input, layout data with the check box 1202 turned on is selected and determined, and the layout data selection screen 1200 is hidden. When a pressing operation of the cancel button 1204 is input, the change of the page layout data is stopped and the layout data selection screen 1200 is not displayed. The layout data 1201 may be displayed including the layout data currently used when the image data is arranged in the text page editing area 1101. If the layout data used for the arrangement of the current image data is selected again, the process may be terminated without executing the subsequent processing.

ステップS916では、ステップS915にて表示されたレイアウトデータ選択画面1200のレイアウトデータ1201の中で、対応するチェックボックス1203にオンが入力されたレイアウトデータを選択する。   In step S916, the layout data in which ON is input to the corresponding check box 1203 is selected from the layout data 1201 of the layout data selection screen 1200 displayed in step S915.

ステップS917では、ステップS916にて選択されたレイアウトデータにしたがって、本文ページ編集領域1101に表示されているページ内画像データ306を配置する。   In step S917, the in-page image data 306 displayed in the text page editing area 1101 is arranged according to the layout data selected in step S916.

また、ステップS914にてレイアウトデータが2つ以上ないと判定されれば、ステップS902では、警告ダイアログを表示する。図16は警告ダイアログの一例を示す図である。   If it is determined in step S914 that there are not two or more layout data, a warning dialog is displayed in step S902. FIG. 16 is a diagram illustrating an example of a warning dialog.

ステップS921では、ページレイアウト変更指示が「ページへの画像データの追加」であったかどうか判断する。具体的には、図13に示すように、ユーザがポインティングデバイス205を使って、退避画像表示領域1102に表示された画像データを本文ページ編集領域1101へ移動するよう指示すれば、「ページへの画像データの追加」が指示されたと判断する。ここで、図13は、ユーザがポインティングデバイスを使って、退避画像表示領域1102に表示された画像データB、C、Dの中から、画像データCを選択し、ドラッグ&ドロップにより本文ページ編集領域1102へ追加するよう指示した場合の概念図を示している。尚、退避画像表示領域1102に表示された画像データ中から、複数の画像データを一度に選択することも可能である。   In step S921, it is determined whether the page layout change instruction is “adding image data to a page”. Specifically, as shown in FIG. 13, if the user instructs to move the image data displayed in the saved image display area 1102 to the text page editing area 1101 using the pointing device 205, “ It is determined that “add image data” has been instructed. Here, FIG. 13 shows that the user selects image data C from the image data B, C, and D displayed in the saved image display area 1102 using a pointing device, and drags and drops the body text page editing area. A conceptual diagram when an instruction to add to 1102 is given is shown. It should be noted that a plurality of image data can be selected at once from the image data displayed in the saved image display area 1102.

ステップS922では、本文ページ編集領域1101に表示されている画像データの枚数にステップS921にて追加対象と指示された画像データの枚数を加算した合計枚数を検知する。   In step S922, the total number obtained by adding the number of image data indicated in step S921 to the number of image data displayed in the body page editing area 1101 is detected.

ステップS923では、ステップS922にて検知された合計枚数に対応するレイアウトリストがあるかどうか判定する。   In step S923, it is determined whether there is a layout list corresponding to the total number detected in step S922.

ステップS923にてあると判定されれば、ステップS924では、当該レイアウトリストを取得する。   If it is determined in step S923, the layout list is acquired in step S924.

ステップS925では、ステップS924にて取得したレイアウトリストの中で初期値のレイアウトデータを選択決定する。   In step S925, initial layout data is selected and determined from the layout list acquired in step S924.

ステップS926では、ステップS925にて決定されたレイアウトデータにしたがって、ステップS921にて追加対象と指示された画像データと既に本文ページ編集領域1101に表示されていた画像データを配置する。図14に配置後の画面の一例を示す。図14では、図13に示すように1枚用レイアウトデータにしたがって画像データAが配置されていた状態に、新たに画像データCが追加された結果、本文ページ編集領域1101に表示されている画像データの合計枚数が2枚となり、6&7ページ目の2枚用の初期値のレイアウトデータにしたがって画像データA、Cを本文ページ編集領域1101に配置した場合の一例を示している。また、図14では、画像データCが退避画像表示領域1102で非表示になったことを示している。また、ここで、データ制御部301によって、画像データCはページ外画像データ307からページ内画像データ306として、登録更新される。   In step S926, according to the layout data determined in step S925, the image data instructed to be added in step S921 and the image data already displayed in the text page editing area 1101 are arranged. An example of the screen after arrangement is shown in FIG. In FIG. 14, the image displayed in the text page editing area 1101 as a result of newly adding image data C to the state in which image data A is arranged according to the single-sheet layout data as shown in FIG. 13. An example in which the total number of data is two and image data A and C are arranged in the text page editing area 1101 in accordance with the initial layout data for two of the 6th and 7th pages is shown. Further, FIG. 14 shows that the image data C is not displayed in the saved image display area 1102. Here, the image data C is registered and updated as the in-page image data 306 from the out-page image data 307 by the data control unit 301.

尚、本実施形態では退避画像領域1102に表示された画像データの中から、追加対象の画像データを選択するようにしたが、ユーザPC102のHDD209に記憶された画像データの中から選択したり、電子アルバム編集プログラムとは別のアプリケーションプログラムが保持する画像データの中から選択したり、フォトサイト105の画像DB107に記憶された画像データの中から選択するようにしてもよい。   In the present embodiment, the image data to be added is selected from the image data displayed in the saved image area 1102, but the image data stored in the HDD 209 of the user PC 102 can be selected, You may make it select from the image data which the application program different from an electronic album edit program hold | maintains, or may select from the image data memorize | stored in image DB107 of the photo site 105. FIG.

ステップS931では、ページレイアウト変更指示が「ページからの画像データの削除」であったかどうか判断する処理を実行する。具体的には、ユーザがポインティングデバイス205を使って、本文ページ編集領域1101に表示された画像データを退避画像表示領域1102へ移動するよう指示すれば、「ページからの画像データの削除」が指示されたと判断する。又は、ユーザが本文ページ表示領域1101上でポインティングデバイス205の右クリック操作を入力することにより、指示リスト1104が表示される。そして、ユーザが指示リスト1104の中から「削除」を選択入力すれば、「ページからの画像データの削除」が指示されたと判断する。   In step S931, processing for determining whether or not the page layout change instruction is “deletion of image data from page” is executed. Specifically, if the user instructs to move the image data displayed in the body page editing area 1101 to the saved image display area 1102 using the pointing device 205, “deletion of image data from the page” is instructed. Judge that it was done. Alternatively, when the user inputs a right-click operation of the pointing device 205 on the text page display area 1101, the instruction list 1104 is displayed. If the user selects and inputs “delete” from the instruction list 1104, it is determined that “deletion of image data from the page” has been instructed.

ステップS932では、データ制御部301によって、ステップS931にてページからの削除対象と指示された画像データの登録内容を更新する。当該画像データを退避画像表示領域1102へ移動するよう指示された場合には、ページ内画像データ306として記憶されていた当該画像データを、ページ外画像データ307として記憶するよう、登録内容を更新する。そして、当該画像データを退避画像表示領域1102に表示する。一方、ページレイアウト変更指示リスト1104の中から「削除」を選択入力することによって、当該画像データの削除が指示された場合には、データ制御部301によって管理されるHDD209上の記憶領域から当該画像データを消去する。   In step S932, the data control unit 301 updates the registration contents of the image data instructed to be deleted from the page in step S931. When instructed to move the image data to the saved image display area 1102, the registration contents are updated so that the image data stored as the in-page image data 306 is stored as the off-page image data 307. . Then, the image data is displayed in the saved image display area 1102. On the other hand, when deletion of the image data is instructed by selecting and inputting “delete” from the page layout change instruction list 1104, the image is stored in the storage area on the HDD 209 managed by the data control unit 301. Erase the data.

ステップS933では、本文ページ編集領域1101に表示されている画像データの枚数からステップS931にて削除対象と指示された画像データの枚数を減算した合計枚数を検知する。   In step S933, the total number of images obtained by subtracting the number of image data instructed to be deleted in step S931 from the number of image data displayed in the body page edit area 1101 is detected.

ステップS934では、ステップS933にて検知された合計枚数に対応するレイアウトリストがあるかどうか判定する。   In step S934, it is determined whether there is a layout list corresponding to the total number detected in step S933.

ステップS934にてあると判定されれば、ステップS935では、当該レイアウトリストを取得する。   If it is determined in step S934, the layout list is acquired in step S935.

ステップS936では、ステップS935にて取得したレイアウトリストの中で初期値のレイアウトデータを選択決定する。   In step S936, initial layout data is selected and determined from the layout list acquired in step S935.

ステップS937では、ステップS936にて決定されたレイアウトデータにしたがって、既に本文ページ編集領域に表示されていた画像データからステップS931にて削除対象と指示された画像データを省いた残りの画像データを配置する。   In step S937, in accordance with the layout data determined in step S936, the remaining image data obtained by omitting the image data instructed to be deleted in step S931 from the image data already displayed in the text page editing area is arranged. To do.

尚、ステップS924やステップS935にて、本文ページ編集表示領域1101に表示された画像データの配置が変更される旨を、変更通知ダイアログをユーザPC102のCRTディスプレイ201上に表示することによってユーザに通知するようにしてもよい。このダイアログ画面の一例を図15に示す。図15では、変更前後の画像データの配置1501や、画像データが退避画像表示領域1102に表示されること1502を表示することによりユーザに通知している。ユーザがポインティングデバイス205を使用して「OK」ボタン1503の押下操作を指示することにより、変更通知ダイアログ画面は非表示とし、新たに設定されたレイアウトデータにしたがって画像データの配置を変更する処理を実行するようにしてもよい。   In step S924 or step S935, the change notification dialog is displayed on the CRT display 201 of the user PC 102 to notify the user that the arrangement of the image data displayed in the text page edit display area 1101 will be changed. You may make it do. An example of this dialog screen is shown in FIG. In FIG. 15, the user is notified by displaying the arrangement 1501 of the image data before and after the change and that the image data is displayed 1502 in the saved image display area 1102. When the user instructs to press the “OK” button 1503 using the pointing device 205, the change notification dialog screen is hidden, and processing for changing the arrangement of the image data according to the newly set layout data is performed. You may make it perform.

また、ステップS923、S934にてレイアウトリストがないと判定されれば、ステップS903では、検知した枚数未満の中で最大のレイアウトリストのある枚数を取得する。   If it is determined in steps S923 and S934 that there is no layout list, in step S903, the number of sheets having the maximum layout list out of the detected number is acquired.

次に、ステップS904では、ステップS903にて取得された枚数からステップS922又は933にて検知された枚数との差を計算する。   In step S904, the difference between the number acquired in step S903 and the number detected in step S922 or 933 is calculated.

そして、ステップS905では、本文ページ編集領域1101に表示された画像データの中からステップS904にて計算された枚数の画像データを選択して退避画像領域1102に表示する。ここで、追加対象の画像データは本文編集領域1101に表示する。また、本文ページ編集領域1101に表示されていた画像データを退避画像領域1102表示するように変更したことを通知するためのダイアログを表示するようにしてもよい。   In step S905, the image data of the number calculated in step S904 is selected from the image data displayed in the body page edit area 1101 and displayed in the saved image area 1102. Here, the image data to be added is displayed in the text editing area 1101. Further, a dialog for notifying that the image data displayed in the text page editing area 1101 has been changed to be displayed in the saved image area 1102 may be displayed.

あるいは、ステップS903にて、検知した枚数より大きい中で最小のレイアウトリストのある枚数を取得するようにしてもよい。この場合、取得された枚数と対応するレイアウトリストのレイアウトデータにしたがって、余白を含めて本文ページ編集領域1101に画像データを表示する。そして、余白を埋めるためにページに画像データを追加するよう通知するダイアログを表示する。   Alternatively, in step S903, a certain number of layout lists that are larger than the detected number may be acquired. In this case, the image data is displayed in the text page editing area 1101 including the margin according to the layout data of the layout list corresponding to the acquired number. Then, a dialog for notifying the user to add image data to the page in order to fill the margin is displayed.

なお、本実施形態では、ステップS912、S922、S933の処理を実行する前に、本文ページ編集領域1101に表示されたページ用のレイアウトリストが存在する画像データの枚数を取得し、電子アルバム編集画面1100上に表示しておくようにしてもよい。これにより、ユーザは前もって変更可能な画像データの枚数を知ることができる。   In the present embodiment, before executing the processes of steps S912, S922, and S933, the number of image data in which the layout list for the page displayed in the body page editing area 1101 exists is acquired, and the electronic album editing screen is displayed. You may make it display on 1100. Thereby, the user can know the number of image data that can be changed in advance.

(第2の実施形態)
本実施形態では、上記した第1の実施形態に加えて、PC102のCPU206がROM207あるいはHDD209から電子アルバム編集プログラムを読み出して起動し、電子アルバム編集プログラムを実行して電子アルバムを編集する際に表示された電子アルバム編集画面1100での操作について説明する。
(Second Embodiment)
In this embodiment, in addition to the first embodiment described above, the CPU 206 of the PC 102 reads out and activates the electronic album editing program from the ROM 207 or the HDD 209, and is displayed when the electronic album editing program is executed to edit the electronic album. The operation on the electronic album editing screen 1100 will be described.

図17は本実施形態に係る電子アルバム編集画面1101である。図17の電子アルバム編集画面1101は、図11に示したものに加えて、退避前ページ番号1704が表示されている。退避前ページ番号1704は、ページ外画像データ307が以前割り振られていたページの番号である。   FIG. 17 shows an electronic album editing screen 1101 according to this embodiment. The electronic album editing screen 1101 in FIG. 17 displays a page number 1704 before saving in addition to the one shown in FIG. The pre-save page number 1704 is a page number to which the image data 307 outside the page has been previously allocated.

以下、図18のフローチャート図を参照して、手順を説明する。   Hereinafter, the procedure will be described with reference to the flowchart of FIG.

ステップS1801では、ページ外画像データ307から以前割り振られていたページ番号に関するデータを、PC102のHDDから取得する。   In step S <b> 1801, data related to the page number previously allocated from the out-page image data 307 is acquired from the HDD of the PC 102.

ステップS1802では、ステップS1801にて取得したデータに基づく退避前ページ番号1704とともにページ外画像データ307を退避画像領域1102に表示する。図17の退避画像表示領域1102では、以前2&3ページ目に割り振られていたがその後の編集操作の結果、ページ上に割り振られないことになった画像データDや、以前6&7ページ目に割り振られていたがその後の編集操作の結果、ページ上に割り振られないことになった画像データB及びCが表示されている。   In step S1802, out-of-page image data 307 is displayed in the saved image area 1102 together with the page number before saving 1704 based on the data acquired in step S1801. In the saved image display area 1102 in FIG. 17, the image data D that was previously allocated to the second and third pages but is not allocated on the page as a result of the subsequent editing operation, or the previous sixth and seventh pages. However, image data B and C that are not allocated on the page as a result of the subsequent editing operation are displayed.

ステップS1803では、ユーザの操作による画像退避前ページ番号1704の押下操作の入力を受けたかどうか判断する。   In step S1803, it is determined whether an input of a pressing operation of the page number before image saving 1704 by the user's operation has been received.

ステップS1803にて入力を受けたと判断されれば、ステップS1804では、本文ページ編集領域1101に画像退避前ページ番号1704のページを表示する。そして、画像退避前ページ番号1704が6&7ページである画像データB及びDを退避画像表示領域1102内で強調表示する。   If it is determined in step S1803 that an input has been received, in step S1804, the page with the page number before image saving 1704 is displayed in the text page editing area 1101. Then, the image data B and D whose page numbers 1704 before image saving are 6 & 7 pages are highlighted in the saved image display area 1102.

最後に、本発明における基準矩形の扱いについて、図19を参照して説明する。「19−A」は画像データ、「19−B」は画像フレームが、基準矩形情報と、クリップ形状から成っている事を示している。「19−C」は、「19−A」を「19−B」に挿入した状況を示しており、このとき、404の画像編集情報に基準矩形の位置情報が記録される。「19−D」は、この後のユーザ操作で画像のリサイズ、移動が行われ、画像中の基準矩形の位置が変化した事を示しており、このとき404の画像編集情報に基準矩形の位置情報が更新される。「19−F」は、「19−D」の操作の後に、画像フレームが「19−E」の形状に変更された状態で、新しい画像フレームの基準矩形に画像中の基準矩形の位置を合わせる形で、画像フレーム変形後の画像サイズ・位置・回転角度を自動的に決定している事を示している。」
(他の実施形態)
本発明の目的は前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記録媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することとなり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
Finally, the handling of the reference rectangle in the present invention will be described with reference to FIG. “19-A” indicates image data, and “19-B” indicates that an image frame is composed of reference rectangle information and a clip shape. “19-C” indicates a state in which “19-A” is inserted into “19-B”. At this time, the position information of the reference rectangle is recorded in the image editing information 404. “19-D” indicates that the image is resized and moved by the subsequent user operation, and the position of the reference rectangle in the image is changed. At this time, the position of the reference rectangle is added to the image editing information 404. Information is updated. “19-F” aligns the position of the reference rectangle in the image with the reference rectangle of the new image frame in a state where the image frame is changed to the shape of “19-E” after the operation of “19-D”. The figure shows that the image size, position, and rotation angle after image frame deformation are automatically determined. "
(Other embodiments)
An object of the present invention is to supply a recording medium recording software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and store the computer (or CPU or MPU) of the system or apparatus in the recording medium. Needless to say, this can also be achieved by reading and executing the program code. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM、DVDなどを用いることができる。   As a storage medium for supplying the program code, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, DVD, etc. Can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーションシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operation system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function is based on the instruction of the program code. It goes without saying that the CPU of the expansion board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明に係る電子アルバム編集システムの概略の一例を示すブロック図である。It is a block diagram which shows an example of the outline of the electronic album edit system which concerns on this invention. 本発明に係るPCの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of PC concerning this invention. 本発明に係る電子アルバム編集プログラムの機能構成の一例を示す図である。It is a figure which shows an example of a function structure of the electronic album edit program which concerns on this invention. 本発明に係る画像データの構成の一例を示す図である。It is a figure which shows an example of a structure of the image data which concerns on this invention. 本発明に係る画像データ割付テーブルの構成の一例を示す図である。It is a figure which shows an example of a structure of the image data allocation table which concerns on this invention. 本発明に係るレイアウトファイルの構成の一例を示す図である。It is a figure which shows an example of a structure of the layout file which concerns on this invention. 本発明に係るレイアウトリストが有するレイアウトデータの一例を示す図である。It is a figure which shows an example of the layout data which the layout list which concerns on this invention has. 本発明に係るPC上で電子アルバム編集プログラムを実行して電子アルバムを編集する処理を説明するためのフローチャート図である。It is a flowchart for demonstrating the process which edits an electronic album by running an electronic album edit program on PC concerning this invention. 本発明に係るPC上で電子アルバム編集プログラムを実行して電子アルバムを編集する処理を説明するためのフローチャート図である。It is a flowchart for demonstrating the process which edits an electronic album by running an electronic album edit program on PC concerning this invention. 本発明に係る電子アルバムデータの構成の一例を示す図である。It is a figure which shows an example of a structure of the electronic album data concerning this invention. 本発明に係る電子アルバム編集画面の一例を示す図である。It is a figure which shows an example of the electronic album edit screen which concerns on this invention. 本発明に係るレイアウトデータ選択画面の一例を示す図である。It is a figure which shows an example of the layout data selection screen which concerns on this invention. 本発明に係る電子アルバム編集画面の一例を示す図である。It is a figure which shows an example of the electronic album edit screen which concerns on this invention. 本発明に係る電子アルバム編集画面の一例を示す図である。It is a figure which shows an example of the electronic album edit screen which concerns on this invention. 本発明に係る変更通知ダイアログの一例を示す図である。It is a figure which shows an example of the change notification dialog which concerns on this invention. 本発明に係る警告ダイアログの一例を示す図である。It is a figure which shows an example of the warning dialog based on this invention. 本発明に係る電子アルバム編集画面の一例を示す図である。It is a figure which shows an example of the electronic album edit screen which concerns on this invention. 本発明に係るPC上で電子アルバム編集プログラムを実行して電子アルバムを編集する処理を説明するためのフローチャート図である。It is a flowchart for demonstrating the process which edits an electronic album by running an electronic album edit program on PC concerning this invention. 本発明に係る基準矩形を説明するための図である。It is a figure for demonstrating the reference | standard rectangle which concerns on this invention.

符号の説明Explanation of symbols

101 画像入力装置
102 パーソナルコンピュータ(PC)
103 データ転送用インターフェース
104 インターネット
105 フォトサイト
107 画像データベース
109 プリントサイト
111 プリンタ
112 アルバム
101 Image Input Device 102 Personal Computer (PC)
103 Data Transfer Interface 104 Internet 105 Photo Site 107 Image Database 109 Print Site 111 Printer 112 Album

Claims (1)

複数ページからなるアルバムフォーマットの各ページに画像を配置する情報処理装置であって、
画像を挿入すべき領域である画像フレームの情報として画像を挿入すべき位置とサイズ(以降「基準矩形」と呼ぶ)を管理する手段と、
画像が画像フレームに挿入されたときに、画像の左上を原点としたXY座標系中における、基準矩形の位置をアルバムデータ中の画像情報に記録する手段と、
画像挿入領域に挿入されている任意の画像をリサイズする手段と、
任意の画像挿入領域に挿入されている任意の画像を移動する手段と、
任意の画像挿入領域に挿入されている任意の画像を回転する手段と、
上記3つのいずれかの操作によって変化した画像中の基準矩形の位置情報を更新する手段と、
画像の画像フレームを変更する手段と、
画像に関連づけて記憶している基準矩形の位置情報と、新しい画像フレームの基準矩形の情報から、画像の挿入サイズを決定する手段を備えた事を特徴する情報処理装置。
An information processing apparatus that arranges images on each page of an album format consisting of a plurality of pages,
Means for managing a position and size (hereinafter referred to as “reference rectangle”) at which an image is to be inserted as information of an image frame that is an area into which the image is to be inserted;
Means for recording the position of the reference rectangle in the image information in the album data in the XY coordinate system with the upper left corner of the image as the origin when the image is inserted into the image frame;
Means for resizing any image inserted in the image insertion area;
Means for moving an arbitrary image inserted in an arbitrary image insertion area;
Means for rotating any image inserted in any image insertion area;
Means for updating the position information of the reference rectangle in the image changed by any one of the three operations;
Means for changing the image frame of the image;
An information processing apparatus comprising means for determining an insertion size of an image from position information of a reference rectangle stored in association with an image and information of a reference rectangle of a new image frame.
JP2004325046A 2004-11-09 2004-11-09 Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner Withdrawn JP2006135864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004325046A JP2006135864A (en) 2004-11-09 2004-11-09 Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004325046A JP2006135864A (en) 2004-11-09 2004-11-09 Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner

Publications (1)

Publication Number Publication Date
JP2006135864A true JP2006135864A (en) 2006-05-25

Family

ID=36728952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004325046A Withdrawn JP2006135864A (en) 2004-11-09 2004-11-09 Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner

Country Status (1)

Country Link
JP (1) JP2006135864A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010045479A (en) * 2008-08-11 2010-02-25 Noritsu Koki Co Ltd Image processor, image forming apparatus, image processing method and image processing program
JP2013103476A (en) * 2011-11-16 2013-05-30 Canon Inc Printing apparatus, method of changing layout, and program
JP2016144947A (en) * 2016-04-14 2016-08-12 キヤノン株式会社 Printing apparatus, method of changing layout, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010045479A (en) * 2008-08-11 2010-02-25 Noritsu Koki Co Ltd Image processor, image forming apparatus, image processing method and image processing program
JP2013103476A (en) * 2011-11-16 2013-05-30 Canon Inc Printing apparatus, method of changing layout, and program
JP2016144947A (en) * 2016-04-14 2016-08-12 キヤノン株式会社 Printing apparatus, method of changing layout, and program

Similar Documents

Publication Publication Date Title
JP2006074592A (en) Electronic album edit apparatus, control method thereof, program thereof, and computer readable storage medium with program stored
US8089653B2 (en) Document processing apparatus, method and program for variable printing with document file dividing
EP1632869A2 (en) Digital document editing method, program and apparatus
JP5371560B2 (en) Layout editing apparatus, layout editing method and program
JP2011013866A (en) Device and method for controlling print, and program
JP5495597B2 (en) PRINT CONTROL METHOD, PRINT CONTROL DEVICE, AND PROGRAM
JP2006293598A (en) Document processing system
JP4109938B2 (en) Information processing apparatus, control method therefor, and program
JP2008269108A (en) Information processor and program
JP4827521B2 (en) Information processing apparatus, control method thereof, and program
JP4438061B2 (en) Electronic album editing apparatus, control method thereof, and program thereof
JP2007114990A (en) Print control program
JP4347168B2 (en) Editing apparatus, control method thereof, and program thereof
JP2006331301A (en) Image editing apparatus, image editing method, program, and storage medium
JP2006135864A (en) Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner
JP4455235B2 (en) Image processing apparatus, image processing apparatus control method, and computer program
JP2006074590A (en) Electronic album editing device, its control method, its program and storage medium recorded with the program readable by computer system
JP4251644B2 (en) Editing method and recording medium
JP2006135863A (en) Image editing apparatus, control method therefor, program therefor and storage medium stored with the program in computer device readable manner
JP6457249B2 (en) Electronic document management apparatus, electronic document management system, and electronic document management program
JP2007043557A (en) Image editing apparatus, control method thereof, program thereof, and storage medium computer-readably storing this program
JP2006163938A (en) Information processor and processing method
JP2007080154A (en) Device and method for drawing structured document, and program
JP2007080155A (en) Device and method for drawing structured document, and program
JP2007043556A (en) Image editing apparatus, control method thereof, program thereof, and storage medium computer-readably storing this program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080205