The present invention relates to an electronic album editing apparatus for creating an electronic album in which multiple images are arranged on multiple pages, a control method therefor, and a computer readable recording medium in which a program for causing a computer to perform the control method is stored.
Conventionally, on a personal computer (PC), there have been electronic album editing programs for performing editing by arranging images in layouts to provide such that has multiple pages like an album.
In the conventional electronic album editing programs, a user selects images to be arranged on a page. Then, the user moves the images to any positions on the page to arrange them in free layout. Alternatively, the user manually selects one from among some layout candidates and arranges images on the page in accordance with the layout.
In the conventional electronic album editing programs, the user has to perform both of the image selection operation and the layout selection/specification operation, which presents a bad operability problem.
Furthermore, the conventional electronic album editing programs have a problem that, if an image is deleted from a page of the electronic album after images are arranged on the page, a space is generated on the page and causes a bad looking. Or, if an image is further added to a page of the electronic album after images are arranged on the page, images are packed in the page and causes a bad looking. In this case, the user has to manually move the images on the page of the electronic album to adjust distances among the images for a better looking, which is a very troublesome work.
The present invention has been made in consideration of the above situation, and has its object to enable to automatically arrange images on a page of an electronic album in accordance with an optimum layout without user operation.
According to the present invention, the foregoing object is attained by providing an electronic document editing apparatus for arranging images in an electronic document including a plurality of pages, the electronic document editing apparatus comprising:
According to the present invention, the foregoing object is also attained by providing a control method for an electronic document editing apparatus for arranging images in an electronic document including a plurality of pages, the control method comprising:
Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate an embodiment of the invention and, together with the description, serve to explain the principles of the invention.
A preferred embodiment of the present invention will be described in detail in accordance with the accompanying drawings.
In
On the user PC 102, a browser 120 which has a standard protocol enabling information transfer on the Internet 104 can operate. By causing the browser 120 to operate, the user PC 102 can access a photo site 105 with the use of a protocol such as Hyper Text Transfer Protocol (HTTP) or the like, acquire and analyze web page information created in a description language such as Hyper Text Markup Language (HTML) and extensible Markup Language (XML), and display a web page on the display of the user PC 102. This web page information is linked to multimedia information, such as images and voices, which is managed by the photo site 105 at an image DB 107.
Then, by operating the browser 120, the user PC 102 can download a template or image data for an electronic album to be used when executing an electronic editing program, from the photo site 105 via the Internet 104. The template and image data to be downloaded are stored in the image DB 107.
The user PC 102 also has an electronic album editing program for performing editing by arranging one or more images on an electronic album including one or more pages. Image data to be included in the electronic album are the image data acquired from the image input apparatus 101 and stored in the HDD of the user PC 102 or the image data downloaded from the photo site 105.
Furthermore, the user PC 102 is capable of giving an order of prints of the edited electronic album to a print site 109 via the photo site 105. The print site 109 performs print processing for electronic album data with the use of a printer 111 and outputs an album 112. Though only one print site 109 is shown in
In
Among the electronic album data managed by the data control section 301, there are cover image data 305 to be allocated to the cover of an electronic album, on-page image data 306 to be allocated to each page in the electronic album, and off-page image data 307 which are not allocated to a page in the electronic album. The off-page image data 307 are controlled to be displayed on a saved image display area in an electronic album editing screen to be described later. In the layout file 308, there are recorded information for determining the arrangement positions of images and character strings attached to the image data on each two-page spread in the electronic album. The image data allocation table 309 is managed by the design control section 303, and there is recorded information related the quantity of images to be allocated to each two-page spread in the electronic album. In this embodiment, an electronic album is constituted by a cover page and body pages, and description will be made on a case where the cover page and the body pages are separately handled. However, the present invention can be realized if the cover page and the body pages similarly handled without distinguishing them.
Image data of images selected to be included in an electronic album are allocated in any order specified by the user, in the order of selection of the image data, in the order of the dates when the image data were taken, in the order of the names of the image data or the like.
Though description is made on a case where images selected to be included in an electronic album are arranged on both pages of two-page spread in this embodiment, arrangement can be realized similarly when images are to be arranged only on one page of two-page spread.
The layout file 308 shown in
The layout lists 602 to 615 have one or more kinds of layout data for each number of images.
Arrangement of images on each page is determined by the number of images allocated to the page and the layout data of a corresponding layout list. For example, if the number of images allocated to the second and third pages is three, then three images are arranged on the second and third pages at positions specified by the layout data included in the layout list 609 for the second and third pages with three images.
The layout file 308 does not have a layout list corresponding to each number of images for each page. For example, as shown in
The user PC 102 executes the electronic album editing program and determines allocation of images to each page and arrangement of them with the use of the above-described image data allocation table 309 and layout file 308 to create the electronic album based on the total number of body pages and the number of images selected to be included in an electronic album.
At step S801, the album size and the total number of body pages are selected and determined. The album size is the paper size, such as the A4 size and the B5 size, of an album 112 to be outputted by the printer 111 based on electronic album data.
At step S802, a template file to be applied to the electronic album is selected and determined.
At step S803, a layout file 308 and an image data allocation table 309 which are associated with the template file determined at step S802 are acquired by the design control section 303.
At step S804, images to be included in the electronic album are selected. The range of a selectable number of images is set based on the total number of body pages determined at step S301 and the image data allocation table 309 acquired at step S303. Cover image data 305 to be arranged on the cover page of the electronic album are selected. Then, copies of the selected images are acquired by the data control section 301 into a storage area specified by the electronic album editing program.
At step S805, the cover image data 305 selected at step S804 are arranged on the cover page of the electronic album. The layout file 308 is read based on the total number of body pages determined at step S801. Then, the cover layout list 602 or 603 is determined based on the number of the cover image data 305 selected at step S804. The cover image data 305 are arranged on the cover page based on the default layout data included in the determined cover layout list 602 or 603. The cover includes a front cover and a back cover.
At step S806, the on-page image data 306 selected at step S804 are arranged on each body page in the electronic album. First, the image data allocation table 309 is read based on the total number of body pages determined at step S801 and the total number of on-page image data 306 selected at step S804. Then, images are allocated to respective body pages of the electronic album in accordance with the read image data allocation table 309. Next, the layout file 308 is read based on the total number of body pages determined at step S801. Then, a layout list for each page is determined based on the number of images of the on-page image data 306 allocated to each page. Images of the on-page image data 306 are arranged on each body page of the electronic album based on the default layout data of the layout list for each page. This process of arranging the images of the on-page image data 306 is performed for each of all the body pages. Then, an electronic album editing screen 1100 as shown in
At step S807, editing of character strings represented on the electronic album is performed, such as input of character strings indicating a comment on an image, and selection and determination of the font type, font color and font size of the inputted character strings.
At step S808, layout change processing is performed, such as exchange of images on each page of the electronic album, addition of an image to a page, deletion of an image from a page and change in arrangement of pages. This layout change processing will be described in detail with
Next, at step S809, processing for confirming whether or not the electronic album data created as described above has a sufficient form and satisfies conditions required for order of printing. Specifically, it is confirmed whether the resolution of on-page image data corresponding to images displayed in the cover page and body page editing areas, which are included in the electronic album data, indicates a value enough for printing.
At step S810, data for printing, which is required to order printing of the album, is created based on the electronic album data. The data for printing is data for instructing that the on-page image data arranged on each page of the electronic album should be similarly arranged on a physical album to be printed.
At step S811, the data for printing created at step S810 and order information required for order of printing are sent to the photo site 105. The photo site 105 transfers them to the print site 109.
At step S812, it is confirmed whether or not to store the electronic album data.
If it is confirmed at step S812 that the electronic album data is to be stored, then, at step S813, the created electronic album data is stored in the HDD 209 of the user PC 102.
In this embodiment, by including the off-page image data 307 in the electronic album data 1001, image data which have not been registered as on-page image data are also displayed when an electronic album is re-edited, and thereby, it is possible for a user to easily confirm an image which he determined to be unnecessary for the electronic album previously.
At step S901, it is determined whether a page layout change instruction has been issued by a user operation. As the page layout change, for example, exchange of images arranged on a page of an electronic album, addition/deletion of an image to/from a page, movement of an image from one page to another page, and change of selection of layout data for a page are included.
In
In
Though only page numbers are displayed in the page list display area 1103 in
Reference numeral 1104 denotes an instruction list, which is displayed when a right click input on the pointing device 205 is received on the body page editing area 1101.
On the initial screen of the electronic album editing screen 1100 displayed at step S806, the image D does not exist in the saved image display area 1102.
At step S911, it is determined whether the page layout change instruction is “change of layout data for the page”. Specifically, by the user inputting a right-click operation of the pointing device 205 on the body page editing area 1101, the instruction list 1104 is displayed. Then, if the user selects and inputs “layout change” from the instruction list 1104 by operating the pointing device 205, it is determined that “change of layout data for the page” has been instructed.
If it is determined that the page layout change instruction is “change of layout data for the page” at step S911, then, at step S912, the number of images displayed in the body page editing area 1101 is detected.
At step S913, a layout list corresponding to the number detected at step S912 is acquired.
At step S914, it is determined whether the layout list acquired at step S913 includes two or more kinds of layout data.
If it is determined at step S914 that two or more kinds of layout data are included, then at step S915, the layout data included in the layout list are displayed in a layout data selection screen 1200 as shown in
At step S916, the layout data for which the corresponding checkbox 1202 is on is selected from among the layout data 1201 in the layout data selection screen 1200 displayed at step S915.
At step S917, the on-page image data 306 displayed in the body page editing area 1101 are arranged in accordance with the layout data selected at step S916.
Meanwhile, if it is determined at step S914 that there are not two or more kinds of layout data, then a warning dialog is displayed at step S902.
At step S921, it is determined whether the page layout change instruction is “addition of an image/images to the page”. Specifically, if the user instructs that an image displayed in the saved image display area 1102 should be moved to the body page editing area 1101 with the use of the pointing device 205, as shown in
At step S922, a total number obtained by adding the number of images specified to be added at step S921 to the number of images displayed in the body page editing area 1101 is detected.
At step S923, it is determined whether there is a layout list corresponding to the total number detected at step S922.
If it is determined at step S923 that there is such a layout list, then the layout list is acquired at step S924.
At step S925, a default layout data in the layout list acquired at step S924 is selected and determined.
At step S926, the image specified to be added at step S921 and the images already displayed in the body page editing area 1101 are arranged in accordance with the layout data determined at step S925.
Though an image to be added is selected from among images displayed in the saved image display area 1102 in this embodiment, the image may be selected from among images stored in the HDD 209 of the user PC 102, from among images held by an application program different from the electronic album editing program, or from among images stored in the image DB 107 of the photo site 105.
At step S931, a process of determining whether the page layout change instruction is “deletion of an image/images from the page” is performed. Specifically, if the user instructs that an image/images displayed in the body page editing area 1101 should be moved to the saved image display area 1102, with the use of the pointing device 205, then it is determined that “deletion of an image/images from a page” has been instructed. Alternatively, by the user inputting a right-click operation of the pointing device 205 on the body page editing area 1101, the instruction list 1104 is displayed. Then, if the user selects and inputs “deletion” from the instruction list 1104, it is determined that “deletion of an image/images from a page” has been instructed.
At step S932, registration of the image data of the image/images specified to be deleted from the page at step S931 is updated by the data control section 301. If it is instructed that the image/images should be moved to the saved image display area 1102, the registration is updated so that the image data stored as on-page image data 306 is stored as off-page image data 307. Then, the image of the image data is displayed in the saved image display area 1102. On the other hand, if it is instructed that the image/images should be deleted by selecting and inputting “deletion” from the page layout change instruction list 1104, the image data of the image is deleted from the storage area on the HDD 209 managed by the data control section 301.
At step S933, a total number obtained by subtracting the number of images specified to be deleted at step S931 from the number of images displayed in the body page editing area 1101 is detected.
At step S934, it is determined whether there is a layout list corresponding to the total number detected at step S933.
If it is determined that there is such a layout list at step 934, then the layout list is acquired at step S935.
At step S936, default layout data in the layout list acquired at step S935 is selected and determined.
At step S937, images left after the image specified to be deleted at step S931 are removed from the images already displayed in the body page editing area are arranged in accordance with the layout data determined at step S936.
At step S924 or S935, it may be notified to the user that the image arrangement displayed in the body page editing area 1101 is to be changed by displaying a change notification dialog on the CRT display 201 of the user PC 102. An example of the dialog screen is shown in
If it is determined that there is not a layout list at step S923 or S934, then the process proceeds to step S903. In the case of a process from step S923, the largest number of images below the detected number of images, for which a layout list is prepared, is acquired. In the case of a process from step S934, the smallest number of images above the detected number of images, for which a layout list is prepared, is acquired.
Next, at step S904, the difference between the number acquired at step S903 and the number detected at step S922 or S933 is calculated.
At step S905, in the case of the process from step S923, the number images calculated at step S904 are selected from among images specified to be moved to the body page editing area 1101 and displayed in the saved image display area 1102. In this case, images to be added are displayed in the body page editing area 1101. A dialog may be displayed for notifying that change is made to display images which have been displayed in the body page editing area 1101, in the saved image display area 1102.
Alternatively, at step S905, in the case of the process from step S934, images are displayed in the body page editing area 1101 with blank space in accordance with layout data of a layout list corresponding to the obtained number. A dialog is then displayed for notifying that an image should be added to fill the blank space.
In this embodiment, the numbers of images for the page displayed in the body page editing area 1101, for which a layout list exists, may be acquired and displayed on the electronic album editing screen 1100, before performing processings at steps S912, S922 and S933. Thereby, the user can know the changeable number of images in advance.
Though description has been made on an electronic album editing program as an example in this embodiment, the present invention is not limited thereto and can be similarly applied to a program such as an electronic presentation editing program or an electronic document editing program for arranging images or text, graphics and a background.
The invention can be implemented by supplying a software program, which implements the functions of the foregoing embodiments, directly or indirectly to a system or apparatus, reading the supplied program code with a computer of the system or apparatus, and then executing the program code. In this case, so long as the system or apparatus has the functions of the program, the mode of implementation need not rely upon a program.
Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the claims of the present invention also cover a computer program for the purpose of implementing the functions of the present invention.
In this case, so long as the system or apparatus has the functions of the program, the program may be executed in any form, such as an object code, a program executed by an interpreter, or scrip data supplied to an operating system.
Example of storage media that can be used for supplying the program are a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a CD-RW, a magnetic tape, a non-volatile type memory card, a ROM, and a DVD (DVD-ROM and a DVD-R).
As for the method of supplying the program, a client computer can be connected to a website on the Internet using a browser of the client computer, and the computer program of the present invention or an automatically-installable compressed file of the program can be downloaded to a recording medium such as a hard disk. Further, the program of the present invention can be supplied by dividing the program code constituting the program into a plurality of files and downloading the files from different websites. In other words, a WWW (World Wide Web) server that downloads, to multiple users, the program files that implement the functions of the present invention by computer is also covered by the claims of the present invention.
It is also possible to encrypt and store the program of the present invention on a storage medium such as a CD-ROM, distribute the storage medium to users, allow users who meet certain requirements to download decryption key information from a website via the Internet, and allow these users to decrypt the encrypted program by using the key information, whereby the program is installed in the user computer.
Besides the cases where the aforementioned functions according to the embodiments are implemented by executing the read program by computer, an operating system or the like running on the computer may perform all or a part of the actual processing so that the functions of the foregoing embodiments can be implemented by this processing.
Furthermore, after the program read from the storage medium is written to a function expansion board inserted into the computer or to a memory provided in a function expansion unit connected to the computer, a CPU or the like mounted on the function expansion board or function expansion unit performs all or a part of the actual processing so that the functions of the foregoing embodiments can be implemented by this processing.
As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.
This application claims priority from Japanese Patent Application No. 2004-257258 filed on Sep. 3, 2004, which is hereby incorporated herein by reference herein.
Number | Date | Country | Kind |
---|---|---|---|
2004-257258 | Sep 2004 | JP | national |