TWI564783B - Automatic typesetting method for photobook, and computer program product and interface system thereof - Google Patents

Automatic typesetting method for photobook, and computer program product and interface system thereof Download PDF

Info

Publication number
TWI564783B
TWI564783B TW104135886A TW104135886A TWI564783B TW I564783 B TWI564783 B TW I564783B TW 104135886 A TW104135886 A TW 104135886A TW 104135886 A TW104135886 A TW 104135886A TW I564783 B TWI564783 B TW I564783B
Authority
TW
Taiwan
Prior art keywords
page
photo
photos
straight
horizontal
Prior art date
Application number
TW104135886A
Other languages
Chinese (zh)
Other versions
TW201715378A (en
Inventor
顏駿聲
Original Assignee
顏駿聲
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 顏駿聲 filed Critical 顏駿聲
Priority to TW104135886A priority Critical patent/TWI564783B/en
Application granted granted Critical
Publication of TWI564783B publication Critical patent/TWI564783B/en
Publication of TW201715378A publication Critical patent/TW201715378A/en

Links

Description

相片書之自動排版方法及其電腦程式產品、介面系統 Automatic typesetting method for photo book and computer program product and interface system

本發明是有關於一種相片書之自動排版的技術領域,特別是有關於一種可自動挑選版型並排版的相片書之自動排版方法及其電腦程式產品、介面系統。 The invention relates to the technical field of automatic typesetting of photo books, in particular to an automatic typesetting method for a photo book which can automatically select a type and typesetting, and a computer program product and interface system thereof.

習知技術中,在編排製作相本或相片書時,往往需要透過許多的人力及人為思考的介入方可完成相片書的排版程序。 In the prior art, when composing a photo album or a photo book, it is often necessary to complete the photo book typesetting process through a lot of manpower and human intervention.

舉例來說,在相片書的各頁面的排版方面,使用者可能會先挑選出頁面版型,然而卻遇到挑選出的頁面版型上的相片欄位無法完全地符合要編排的相片檔案,而需再針對原本版面進行修改調整,耗費需多心力與時間在思考、找尋與修改版型上。或者是,使用者可能會先計算好所欲配置的相片的數量,再去挑選適當的版型,然而,頁面版型的資料庫往往儲存有繁多的頁面版型,從而亦產生使用者須逐一或大量的查看各頁面版型是否適當的時間及人力的耗費。 For example, in the layout of the pages of the photo book, the user may first select the page layout, but the photo field on the selected page layout cannot fully conform to the photo file to be arranged. It is necessary to make adjustments and adjustments to the original layout, and it takes more effort and time to think, find and modify the layout. Or, the user may first calculate the number of photos to be configured, and then select the appropriate version. However, the database of the page type often stores a large number of page layouts, thereby generating one by one. Or a large amount of time and manpower for viewing the appropriateness of each page layout.

此外,即便使用者已挑選出對應於使用者所欲配置的相片的數量的版型時,其仍可能面臨到挑選出的頁面版型中的直式相片欄位與橫式相片欄位的數量不對應於使用者所欲配置的相片的直式相片與橫式相片的數量,此情形使得使用者可能要重新挑選適當的頁面版型或是將所欲配置的相片調整其大小比例、長寬比例等,以套入頁面版型中的欄位,以致於產生花費使用者時間及精神的問題。 In addition, even if the user has selected a version corresponding to the number of photos the user desires to configure, it may still face the number of straight photo fields and horizontal photo fields in the selected page layout. The number of direct photos and horizontal photos that do not correspond to the photos that the user wants to configure. This situation may cause the user to re-select the appropriate page layout or adjust the size, length and width of the desired photo. Proportion, etc., to nest into the fields in the page layout, so as to cause problems that cost the user time and spirit.

由上述可知,在單一頁面排版方面即可能消耗使用者大量的時間、人力及精神,因此在整本相片書的排版上,當然地即成為使用者的一大負擔及困擾。然,目前市面上的相本編輯軟體,為方便省事,鎖定可排版的頁數及可加入的相片張數,但編排的版面內容都一樣,缺乏變化性。從而目前極需一種可供使用者簡便的進行相片書排版的技術。 It can be seen from the above that in terms of single page layout, a large amount of time, manpower and spirit of the user may be consumed. Therefore, the layout of the entire photo book is of course a burden and a problem for the user. However, the current editing software on the market, in order to save trouble, lock the number of pages that can be typeset and the number of photos that can be added, but the layout of the layout is the same, lack of variability. Therefore, there is a great need for a technology that allows users to easily perform photo book layout.

綜觀前所述,為兼顧編排效率、版面美觀且富變化性,本發明之發明人思索並設計一種相片書之自動排版方法及其電腦程式產品、介面系統,經多年潛心研究,以針對現有技術之缺失加以改善,進而增進產業上之實施利用。 As mentioned above, in order to balance the efficiency of layout, the beauty of the layout and the variability of the layout, the inventor of the present invention contemplates and designs an automatic typesetting method for photo books and a computer program product and interface system thereof, and after years of painstaking research, aiming at the prior art The lack of it is improved to enhance the implementation and utilization of the industry.

有鑑於上述習知技藝之問題,本發明之目的就是在提供一種相片書之自動排版方法及其電腦程式產品、介面系統,以解決上述習知技術所產生的問題。 In view of the above-mentioned problems of the prior art, the object of the present invention is to provide an automatic typesetting method for photo books and a computer program product and interface system thereof to solve the problems caused by the above-mentioned prior art.

根據本發明之目的,提出一種相片書之自動排版方法。該方法係藉由資料處理裝置執行並製作相片書,其包含下列步驟:建立一直 式清單及一橫式清單;讀取複數個待排版相片的各檔案資訊;依據各檔案資訊,將複數個相片中為直式的記錄於直式清單,及將複數個相片中為橫式的記錄於橫式清單;計算直式清單及橫式清單中直式及橫式的相片數量;根據直式及橫式的相片數量於一資料庫中查詢對應的一頁面版型;頁面版型之複數個直式欄位及複數個橫式欄位分別對應於直式的相片數量及橫式的相片數量;以及將各直式的相片填入各直式欄位及將各橫式的相片填入各橫式欄位以形成一相本頁面。 According to the purpose of the present invention, an automatic typesetting method for a photo book is proposed. The method is performed by a data processing device and creates a photo book, which comprises the following steps: establishing a list of files and a horizontal list; reading a plurality of file information of a plurality of photos to be typeset; according to each file information, recording a plurality of photos in a straight form in a straight form, and horizontally dividing the plurality of photos Recorded in the horizontal list; calculate the number of straight and horizontal photos in the straight list and the horizontal list; query the corresponding one-page version in a database according to the number of straight and horizontal photos; A plurality of straight fields and a plurality of horizontal fields respectively correspond to the number of straight photos and the number of horizontal photos; and the direct photos are filled into the straight fields and the horizontal photos are filled in. Enter each horizontal field to form a phase of this page.

承上述,根據本發明之目的,另提出一種相片書之自動排版電腦程式產品,其經由一資料處理裝置載入後,可完成上述的方法。 In view of the above, in accordance with the purpose of the present invention, an automatic typesetting computer program product for a photo book is provided, which can be completed after being loaded via a data processing device.

根據本發明之目的,又提出一種相片書之自動排版系統,其包含資料庫、排版介面以及處理模組。資料庫配置以儲存複數個頁面版型。排版介面配置以顯示預定的一頁面版型,且頁面版型上具有已排版之複數個相片。處理模組配置以讀取待排版的複數個相片的各相片的一檔案資訊,將複數個相片中為直式的記錄於一直式清單及將複數個相片中為橫式的記錄於一橫式清單,並計算直式清單及橫式清單各別的相片數量;處理模組還配置以於資料庫中查詢對應的頁面版型,而控制排版介面顯示對應的頁面版型,並將儲存空間的複數個相片填入頁面版型,以成為排版介面所顯示之內容。 According to the purpose of the present invention, an automatic typesetting system for photo books is further provided, which comprises a database, a layout interface and a processing module. The database is configured to store a plurality of page layouts. The layout interface is configured to display a predetermined one-page layout, and the page layout has a plurality of photos that have been typeset. The processing module is configured to read a file information of each photo of the plurality of photos to be typeset, and record the plurality of photos in a straight type in the continuous list and the horizontal photos in a plurality of photos in a horizontal format List, and calculate the number of photos of the straight list and the horizontal list; the processing module is further configured to query the corresponding page layout in the database, and the control layout interface displays the corresponding page layout, and the storage space is A plurality of photos are filled in the page layout to be displayed by the layout interface.

較佳地,自動排版介面系統更可包含相片挑選介面;相片挑選介面可包含來源區及待排版區,來源區包含複數個相片,當來源區的複數個相片的一部分或全部被選擇後成為待排版的相片,並顯示於待排版區。 Preferably, the automatic layout interface system further includes a photo selection interface; the photo selection interface may include a source area and a to-be-typed area, and the source area includes a plurality of photos, and is selected when part or all of the plurality of photos in the source area are selected. The typesetting photo is displayed in the area to be typeset.

較佳地,自動排版介面系統更可包含一版型更換選項;當版型更換選項被觸發時,處理模組於資料庫中查詢對應的另一頁面版型。 Preferably, the automatic layout interface system further includes a version replacement option; when the layout replacement option is triggered, the processing module queries the database for the corresponding other page layout.

根據本發明之目的,再提出一種相片書之自動排版方法,其藉由一資料處理裝置製作一相片書,該方法包含下列步驟:計算待排版的複數個相片的一總數量;依據總數量於一資料庫中查詢對應之一排版數序;根據排版數序之各單頁中的相片數量於資料庫中查詢對應的複數個頁面版型;將複數個相片填入各頁面版型,以形成複數個相本頁面;以及將複數個相本頁面編排為一相本頁面集,並輸出成為相片書。 According to the purpose of the present invention, an automatic typesetting method for a photo book is further provided, wherein a photo book is produced by a data processing device, the method comprising the steps of: calculating a total number of a plurality of photos to be typeset; Querying a type of layout number in a database; querying a corresponding plurality of page layouts in the database according to the number of photos in each page of the layout number; filling a plurality of photos into each page layout to form A plurality of phased pages; and a plurality of related pages are arranged into a single page set and output as a photo book.

較佳地,當有未編排的相片時,更可包含下列步驟:計算剩餘的相片之數量;根據剩餘的相片之數量於資料庫中查詢對應的頁面版型;將剩餘的相片填入頁面版型,以形成相本頁面;將相本頁面編排至相本頁面集之後;以及將結合的相本頁面集輸出成為相片書。 Preferably, when there are unarranged photos, the following steps may be further included: calculating the number of remaining photos; querying the corresponding page layout in the database according to the number of remaining photos; filling the remaining photos into the page version Type to form a photo page; arrange the page after the page set; and output the combined page set as a photo book.

較佳地,所述將複數個相片填入各頁面版型,以形成複數個相本頁面,其更可包含下列步驟:建立直式清單及橫式清單;讀取各相片的檔案資訊;依據各相片之檔案資訊,以將複數個相片中為直式的記錄於直式清單,及將複數個相片中為橫式的記錄於橫式清單;以及將各直式的相片分別填入各頁面版型之複數個直式欄位及將各橫式的相片分別填入各橫式欄位。 Preferably, the plurality of photos are filled in each page layout to form a plurality of related pages, which further includes the following steps: establishing a direct list and a horizontal list; reading file information of each photo; The file information of the photo, in which a plurality of photos are recorded in a straight list in a straight form, and a plurality of photos are recorded in a horizontal format in a horizontal format; and each of the straight photos is filled in each page version. A plurality of straight fields of the type and fill each horizontal photo into each horizontal field.

承上述,根據本發明之目的,另提供一種相片書之自動排版電腦程式產品,經由一資料處理裝置載入程式執行後,可完上述之方法。 In view of the above, in accordance with the purpose of the present invention, an automatic typesetting computer program product for a photo book is provided, which can be completed after the program is executed by a data processing device.

根據本發明之目的,更提供一種相片書之自動排版介面系統,其包含:資料庫以及處理模組。資料配置以儲存複數個排版數序及 複數個頁面版型。處理模組配置以計算待排版的複數個相片的一總數量,並依據總數量於資料庫中查詢對應之一排版數序,再根據排版數序之各單頁中的相片數量於資料庫中查詢對應的複數個頁面版型,以將複數個相片填入各頁面版型,從而形成複數個相本頁面,並將複數個相本頁面編排為一相本頁面集,並輸出成為相片書。 According to the purpose of the present invention, an automatic typesetting interface system for photo books is further provided, which comprises: a database and a processing module. Data configuration to store a plurality of typesetting sequences and Multiple page layouts. Processing the module configuration to calculate a total number of the plurality of photos to be typeset, and querying the corresponding one of the typesetting numbers in the database according to the total quantity, and then in the database according to the number of photos in each single page of the typesetting sequence The corresponding plurality of page layouts are searched to fill a plurality of photos into each page layout, thereby forming a plurality of related pages, and the plurality of related pages are arranged into a single page set, and outputted into a photo book.

較佳地,當有未編排的相片時,處理模組更可配置以計算剩餘的相片之數量,根據剩餘的相片之數量於資料庫中查詢對應的頁面版型,其將剩餘的相片填入頁面版型,從而形成相本頁面,以結合至相本頁面集輸出成為相片書。 Preferably, when there are unarranged photos, the processing module is further configured to calculate the number of remaining photos, and query the corresponding page layout in the database according to the number of remaining photos, and fill in the remaining photos. The page layout forms a page to be combined with the output of the page set to become a photo book.

較佳地,自動排版介面系統更可包含一排版介面,其顯示其中一頁面中預定的頁面版型,且頁面版型上具有已排版之複數個相片,其中處理模組讀取各相片的一檔案資訊,並據以將複數個相片中為直式的記錄於直式清單,及將複數個相片中為橫式的記錄於橫式清單,且將直式的相片分別填入顯示中的頁面版型之直式欄位及將橫式的相片填入顯示中的頁面版型的該橫式欄位。 Preferably, the automatic layout interface system further comprises a typesetting interface, which displays a predetermined page layout in one of the pages, and the page layout has a plurality of photos that have been typeset, wherein the processing module reads one of the photos. File information, and according to the multiple photos in a straight form recorded in a straight list, and a plurality of photos in a horizontal format recorded in the horizontal list, and fill the photo directly into the displayed page The straight field of the version and the horizontal field of the page version in the display.

較佳地,自動排版介面系統更可包含一排版介面,其顯示其中一頁面中預定的頁面版型,且頁面版型上具有已排版之複數個相片,其中處理模組將相片分別填入顯示中的頁面版型之欄位,並調整各相片之格式以符合各頁面版型之各欄位之格式。 Preferably, the automatic layout interface system further includes a typesetting interface, which displays a predetermined page layout in one of the pages, and the page layout has a plurality of photos that have been typeset, wherein the processing module fills the photos into the display. The field of the page layout, and adjust the format of each photo to match the format of each field of each page layout.

綜上所述,本發明之相片書之自動排版方法及其電腦程式產品、介面系統,其可具有一或多個下述之優點: In summary, the automatic typesetting method of the photo book of the present invention and its computer program product and interface system can have one or more of the following advantages:

(1)本發明之相片書之自動排版方法及其電腦程式產品、介面系統,其可藉由計算待排版的相片中,直式與橫式的數量自動地於資料庫查找符合的頁面版型並套入,藉此大量的節省使用者可能花費的時間,並有效地提升相片書排版時的便利性。 (1) The automatic typesetting method of the photo book of the present invention and the computer program product and interface system thereof, which can automatically find the matching page layout in the database by calculating the number of the straight and horizontal images in the photo to be typeset. And nesting in, thereby greatly saving the time that the user may spend, and effectively improving the convenience of the photo book layout.

(2)本發明之相片書之自動排版方法及其電腦程式產品、介面系統,其可藉由計算全部待排版的相片的數量,於資料庫查找符合的排版數量及對應的頁面版型以套入相片,藉此可提升使用者進行相片排版時的效率及便利性。 (2) The automatic typesetting method of the photo book of the present invention and the computer program product and interface system thereof, by calculating the number of all the photos to be typeset, searching for the number of layouts and corresponding page layouts in the database Into the photo, which can improve the efficiency and convenience of the user when composing photos.

(3)本發明之相片書之自動排版方法及其電腦程式產品、介面系統,其可藉由頁面切換選項的設置,從而可利用使用者挑選所喜好的頁面版型。 (3) The automatic typesetting method of the photo book of the present invention and the computer program product and interface system thereof can be selected by the user through the page switching option, so that the user can select the preferred page version.

為讓本發明之上述和其他目的、特徵和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。 The above and other objects, features and advantages of the present invention will become more <RTIgt;

1‧‧‧自動排版介面系統 1‧‧‧Automatic typesetting interface system

10‧‧‧資料庫 10‧‧‧Database

11‧‧‧頁面版型 11‧‧‧ page layout

12‧‧‧排版數序 12‧‧‧ Typesetting sequence

20‧‧‧處理模組 20‧‧‧Processing module

30‧‧‧排版介面 30‧‧‧setting interface

31‧‧‧版型更換選項 31‧‧‧ version replacement options

32‧‧‧頁面切換選項 32‧‧‧Page Switching Options

40‧‧‧顯示模組 40‧‧‧Display module

50‧‧‧相片挑選介面 50‧‧‧Photo selection interface

51‧‧‧來源區 51‧‧‧Source area

52‧‧‧待排版區 52‧‧‧ area to be typeset

S11~S16、S51~S55‧‧‧步驟 S11~S16, S51~S55‧‧‧ steps

第1圖 係為本發明之相片書之自動排版方法之第一實施例的步驟圖。 Fig. 1 is a flow chart showing the first embodiment of the automatic typesetting method of the photo book of the present invention.

第2圖 係為本發明之相片書之自動排版介面系統之第一實施例的方塊示意圖。 Figure 2 is a block diagram showing a first embodiment of an automatic typesetting interface system for a photo book of the present invention.

第3圖 係為本發明之相片書之自動排版介面系統之第一實施例的排版介面示意圖。 Figure 3 is a schematic diagram showing the layout of the first embodiment of the automatic typesetting interface system of the photo book of the present invention.

第4圖 係為本發明之相片書之自動排版介面系統之第一實施例的相片挑選介面示意圖。 Figure 4 is a schematic diagram of a photo selection interface of the first embodiment of the automatic typesetting interface system of the photo book of the present invention.

第5圖 係為本發明之相片書之自動排版方法之第二實施例的步驟圖。 Figure 5 is a flow chart showing a second embodiment of the automatic typesetting method of the photo book of the present invention.

第6圖 係為本發明之相片書之自動排版方法之第二實施例的第一介面示意圖。 Figure 6 is a first interface diagram showing a second embodiment of the automatic typesetting method of the photo book of the present invention.

第7圖 係為本發明之相片書之自動排版方法之第二實施例的第二介面示意圖。 Figure 7 is a second interface diagram showing a second embodiment of the automatic typesetting method of the photo book of the present invention.

為利貴審查員瞭解本發明之技術特徵、內容與優點及其所能達成之功效,茲將本發明配合附圖,並以實施例之表達形式詳細說明如下,而其中所使用之圖式,其主旨僅為示意及輔助說明書之用,未必為本發明實施後之真實比例與精準配置,故不應就所附之圖式的比例與配置關係解讀、侷限本發明於實際實施上的權利範圍,合先敘明。 The technical features, contents, and advantages of the present invention, as well as the advantages thereof, can be understood by the present inventors, and the present invention will be described in detail with reference to the accompanying drawings. The subject matter is only for the purpose of illustration and description. It is not intended to be a true proportion and precise configuration after the implementation of the present invention. Therefore, the scope and configuration relationship of the attached drawings should not be interpreted or limited. First described.

以下將參照相關圖式,說明依本發明之相片書之自動排版方法及其電腦程式產品、介面系統之實施例,為使便於理解,下述實施例中之相同元件係以相同之符號標示來說明。 The following is a description of the automatic typesetting method of the photo book and the computer program product and the interface system according to the present invention. For the sake of easy understanding, the same components in the following embodiments are denoted by the same symbols. Description.

請參閱第1圖,其係為本發明之相片書之自動排版方法之第一實施例的步驟圖。本發明之相片書之自動排版方法可應用於一電腦程式產品,以藉由資料處理裝置而執行。其中,資料處理裝置可為常用的桌上型電腦、筆記型電腦、便攜式電子裝置,例如平板電腦或智慧型手機,或可進行影像處理的裝置等資料處理裝置。本發明之相片書之自動 排版方法的執行方式例如可為顯示一排版介面以供使用者操作,或者是於背景下執行並於完成時直接顯示排版完成的頁面。其中,資料處理裝置可為常用的桌上型電腦、筆記型電腦、平板電腦或影像處理專用的裝置等資料處理裝置。 Please refer to FIG. 1 , which is a step diagram of a first embodiment of an automatic typesetting method for a photo book of the present invention. The automatic typesetting method of the photo book of the present invention can be applied to a computer program product to be executed by a data processing device. The data processing device may be a commonly used desktop computer, a notebook computer, a portable electronic device, such as a tablet computer or a smart phone, or a data processing device such as a device capable of image processing. Automatic photo book of the present invention The execution method of the typesetting method may be, for example, displaying a typesetting interface for the user to operate, or executing the page in the background and directly displaying the page after the completion of the layout. The data processing device may be a data processing device such as a commonly used desktop computer, a notebook computer, a tablet computer, or a device dedicated to image processing.

本發明之相片書之自動排版方法係包含下列步驟:(S11)建立直式清單及橫式清單;(S12)讀取待排版的相片的各檔案資訊;(S13)依據各待排版的相片之檔案資訊,以將待排版的相片中為直式的記錄於直式清單,及將待排版的相片中為橫式的記錄於橫式清單;(S14)計算直式清單及橫式清單中各別的數量;(S15)根據直式的數量及橫式的數量於一資料庫中查詢對應的一頁面版型;(S16)將各直式的相片填入各直式欄位及將各橫式的相片填入各橫式欄位以形成一相本頁面。 The automatic typesetting method of the photo book of the present invention comprises the following steps: (S11) establishing a straight list and a horizontal list; (S12) reading each file information of the photos to be typeset; (S13) according to each photo to be typeset File information, in which the photos to be typeset are recorded in a straight list in a straight form, and the photos to be typeset are horizontally recorded in a horizontal list; (S14) calculating a straight list and a horizontal list (S15) query the corresponding one-page version in a database according to the number of straight types and the number of horizontal types; (S16) fill each straight-type photo into each straight field and place each horizontal The photo is filled in each horizontal field to form a phase page.

其中,對應的頁面版型係指頁面版型之直式欄位及橫式欄位的數量分別對應於直式相片的數量及橫式相片的數量。因此,在後續的步驟(S16)中,可在不調整相片的長寬比例或進行裁切的情況下,直接地將各相片套入頁面版型的各欄位中,從而可節省調整相片的長寬比例的程序時間或處理時間,且更可避免因調整相片的長寬比例而使得相片產生變形的問題,或避免直式相片直接套入橫式欄位、橫式相片直接套入直式欄位所產生的相片顯示性不佳的問題。 The corresponding page layout refers to the number of the straight field and the horizontal field of the page layout respectively corresponding to the number of the straight photos and the number of the horizontal photos. Therefore, in the subsequent step (S16), each photo can be directly placed in each field of the page layout without adjusting the aspect ratio of the photo or cutting, thereby saving the adjustment of the photo. Length and width of the program time or processing time, and can avoid the problem of deforming the photo due to adjusting the aspect ratio of the photo, or avoiding the direct photo directly into the horizontal field, the horizontal photo directly into the straight The photo produced by the field is not well displayed.

另外,當對應的頁面版型之數量為複數個時,係可隨機地挑選其中一對應的頁面版型;或者是,依據使用者的喜好設定規則去挑選偏好使用的頁面版型。其中,使用者的喜好設定規則,例如可為使用次數較多的頁面版型或被記錄為偏好使用的頁面版型。 In addition, when the number of corresponding page layouts is plural, one of the corresponding page layouts may be randomly selected; or, according to the user's preference setting rules, the preferred page layout may be selected. The user's preference setting rule may be, for example, a page version that is used more frequently or a page version that is recorded as a preferred use.

此外,建立直式清單及橫式清單的步驟旨在於,對待排版的相片進行分類,在其他的實施例方式下,建立直式清單及橫式清單並不一定在步驟的最前端。舉例來說,資料處理裝置在執行本發明之相片書之自動排版方法所應用的電腦程式產品時,資料處理裝置的處理模組可暫存例如相片的尺寸、EXIF、或建立旗標等檔案資訊,以直接將各待排版的相片分類為直式及橫式,而在完成暫存各待排版的相片的檔案資訊時,其實質即等於建立了直式清單及橫式清單;或者是,處理模組可對待排版的相片的檔案資訊之內容附加標記,同樣地在完成標記各待排版的相片的檔案資訊時,其實質即等於建立了直式清單及橫式清單。因此,即便省略了或變換了建立直式清單及橫式清單的步驟,其仍未脫離本發明之精神與範疇,而應不可僅以上述作為侷限。 In addition, the steps of establishing a straight list and a horizontal list are intended to classify the photos to be typeset. In other embodiments, establishing a straight list and a horizontal list are not necessarily at the forefront of the steps. For example, when the data processing device executes the computer program product applied by the automatic typesetting method of the photo book of the present invention, the processing module of the data processing device can temporarily store file information such as the size of the photo, the EXIF, or the flag. To directly classify the photos to be typeset into a straight type and a horizontal type, and when the file information of the photos to be typeset is temporarily stored, the essence is equal to establishing a straight list and a horizontal list; or, processing The module can add a mark to the content of the file information of the photo to be typeset. Similarly, when the file information of each photo to be typeset is completed, the essence is equal to the establishment of a straight list and a horizontal list. Therefore, even if the steps of establishing a straight list and a horizontal list are omitted or changed, it is not limited to the spirit and scope of the present invention, and should not be limited to the above.

值得一提的是,在較佳地的實施態樣中,本發明之相片書之自動排版方法,更可包含將複數個相本頁面對應於一排版數序編排成一相本頁面集的步驟。其中排版數序係指各單頁中的相片數量,例如在整本相片書中各頁面中的相片數量分別為3、4、1、3、…;或者是,在整本相片書中各頁面中的相片數量分別為2、5、3、4、…等。也就是說,當使用者利用本發明之相片書之自動排版方法配置好相片書的各頁面後,或利用手動配置好相片書的各頁面後,使用者可直接再利用本發明之相片書之自動排版方法進一步簡單地將其形成相本頁面集,以輸出成為相片書。其中,相片書可為數位相片書或經由印刷而成的實體相片書。 It is to be noted that, in a preferred embodiment, the automatic typesetting method of the photo book of the present invention may further comprise the step of arranging a plurality of photo pages corresponding to a typesetting sequence into a set of one page. The number of prints refers to the number of photos in each single page. For example, the number of photos in each page in the entire photo book is 3, 4, 1, 3, ...; or, in the entire photo book, each page The number of photos in the are 2, 5, 3, 4, ..., etc. That is to say, after the user configures each page of the photo book by using the automatic typesetting method of the photo book of the present invention, or by manually configuring the pages of the photo book, the user can directly use the photo book of the present invention. The automatic typesetting method further simply forms a set of related pages to output as a photo book. The photo book may be a digital photo book or a printed physical photo book.

請一併參閱第2、3圖,其係分別為本發明之相片書之自動排版介面系統之第一實施例的方塊示意圖及排版介面示意圖。本實施例 之相片書之自動排版介面系統1主要是運作前述的相片書之自動排版方法,因此,主要運作於此便不再加以贅述。 Please refer to FIG. 2 and FIG. 3 together, which are block diagrams and layout interfaces of the first embodiment of the automatic typesetting interface system of the photo book of the present invention. This embodiment The automatic typesetting interface system 1 of the photo book is mainly used to operate the automatic typesetting method of the aforementioned photo book, and therefore, the main operation is not repeated here.

其中,本發明之相片書之自動排版方法可應用於一電腦程式產品,並儲存於一儲存媒介中以運行於資料處理裝置,從而實現本實施例之自動排版介面系統1。其中,儲存媒介例如可為磁碟記憶體件(例如,硬碟、軟碟或磁帶等),光碟(例如,CD(Compact Disk,壓縮磁碟)、DVD(Digital Versatile Disk,數位通用盤)等),智慧卡和快閃記憶體(例如,EPROM(Erasable Programmable Read-Only Memory,可讀寫可程式設計唯讀記憶體)、卡、棒或鑰匙驅動器等)。 The automatic typesetting method of the photo book of the present invention can be applied to a computer program product and stored in a storage medium to run on the data processing device, thereby implementing the automatic typesetting interface system 1 of the embodiment. The storage medium may be, for example, a magnetic disk memory device (for example, a hard disk, a floppy disk, or a magnetic tape), or a compact disk (for example, a CD (Compact Disk), a DVD (Digital Versatile Disk), or the like. ), smart cards and flash memory (for example, EPROM (Erasable Programmable Read-Only Memory), card, stick or key driver, etc.).

本實施例之自動排版介面系統1,其可包含一資料庫10、一處理模組20、一排版介面30及一顯示模組40。其中,資料庫10可經由電腦程式產品執行後,設置於例如上述的儲存媒介面中,資料庫10設有複數個頁面版型11。處理模組20可為一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以通過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器、數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現成可程式設計閘陣列(Field Programmable Gate Array,FPGA)或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件。處理模組20係控制顯示模組40顯示排版介面30。 The automatic layout interface system 1 of the embodiment may include a database 10, a processing module 20, a typesetting interface 30, and a display module 40. The database 10 can be installed in a storage medium surface, for example, after being executed by a computer program product, and the database 10 is provided with a plurality of page layouts 11. The processing module 20 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of the hardware in the processor or an instruction in the form of a software. The processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or Other programmable logic devices, discrete or transistor logic devices, discrete hardware components. The processing module 20 controls the display module 40 to display the layout interface 30.

進一步來說,處理模組20係讀取一儲存空間(例如資料夾)中的待排版的相片的各檔案資訊,以將複數個相片依據直式及橫式記錄 於一直式清單及一橫式清單中。接著,處理模組20再計算直式的相片的數量及橫式的相片的數量,並於資料庫10中查詢對應的頁面版型11,從而控制排版介面30顯示對應的頁面版型11。然後,處理模組20自動地將儲存空間的複數個相片填入顯示中的頁面版型11的對應的欄位中,以成為排版介面30所顯示之內容。 Further, the processing module 20 reads the file information of the photo to be typeset in a storage space (for example, a folder), so as to record the plurality of photos according to the straight and horizontal records. In the list of rules and a horizontal list. Then, the processing module 20 calculates the number of straight photos and the number of horizontal photos, and queries the corresponding page layout 11 in the database 10, thereby controlling the layout interface 30 to display the corresponding page layout 11. Then, the processing module 20 automatically fills a plurality of photos of the storage space into corresponding fields of the page layout 11 in the display to become the content displayed by the layout interface 30.

在排版介面30的較佳實施方式中,排版介面30更可包含一版型更換選項31。其中,版型更換選項31被使用者觸發(例如點擊)時,處理模組20係將於資料庫10中查詢到的對應的另一頁面版型11進行顯示,而於頁面版型11切換後,處理模組20亦會控制將相片套入頁面版型11的各欄位中。本實施例中的版型更換選項31,其旨在於供使用者切換頁面版型11,雖然於本實施例中僅以一個版型更換選項31係作為示範態樣,但於實際運用中應不僅止於此,故應不可僅以上述作為侷限。舉例來說,版型更換選項31可包含前一版型按鈕、下一版型按鈕,以便於使用者進行切換。又舉例來說,版型更換選項31甚至可包含喜好版型紀錄按鈕及喜好版型按鈕。因此,使用者可在版型切換選擇時,利用喜好版型紀錄按鈕,先將其覺得不錯的、喜歡的頁面版型11標記起來,再利用喜好版型按鈕於複數個不錯的、喜歡的頁面版型11中進行選擇。 In a preferred embodiment of the layout interface 30, the typesetting interface 30 may further include a version replacement option 31. When the layout replacement option 31 is triggered by the user (for example, clicking), the processing module 20 displays the corresponding another page layout 11 that is queried in the database 10, and after the page layout 11 is switched. The processing module 20 also controls the placement of photos into the fields of the page layout 11. The version replacement option 31 in this embodiment is intended for the user to switch the page layout 11 , although in this embodiment only one version replacement option 31 is used as an exemplary aspect, but in practice, it should be This is the case, so it should not be limited to the above. For example, the stencil replacement option 31 can include a previous version button and a next version button to facilitate user switching. As another example, the stencil replacement option 31 may even include a favorite version of the record button and a favorite version of the button. Therefore, the user can use the favorite version of the record button to mark the page type 11 that he feels good and like, and then use the favorite version of the button to search for a number of good, favorite pages. Make a selection in version 11.

請一併配合參閱第4圖,其係為本發明之相片書之自動排版介面系統之第一實施例的相片挑選介面示意圖。值得說明的是,處理模組20在控制顯示模組40顯示排版介面30之前,可先控制顯示模組40顯示相片挑選介面50。相片挑選介面50具有一來源區51及一待排版區52。來源區51係顯示儲存空間中的相片,以供使用者選取。當使用者選擇了來 源區51所顯示相片後,被選取的相片將顯示於待排版區52。其中,使用者選擇了來源區51所顯示相片可為僅選擇其中的一部分或是全部都選擇。也就是說,使用者除了直接將所欲排版的相片預先挑選以放置於一儲存空間中之外,藉由相片挑選介面50的設置,其亦可供使用者直接在原本儲存相片的儲存空間中進行選取,從而可節省了預先挑選相片以放置於一儲存空間中所花費的時間。 Please refer to FIG. 4 together, which is a schematic diagram of a photo selection interface of the first embodiment of the automatic typesetting interface system of the photo book of the present invention. It should be noted that the processing module 20 can control the display module 40 to display the photo selection interface 50 before the display module 40 displays the layout interface 30. The photo selection interface 50 has a source area 51 and a to-be-typed area 52. The source area 51 displays photos in the storage space for the user to select. When the user chooses to come After the photo displayed in the source area 51, the selected photo will be displayed in the area to be typed 52. The user selects the photo displayed in the source area 51 to select only some or all of them. In other words, in addition to directly pre-selecting the photos to be placed in a storage space, the user can also directly use the photo selection interface 50 to store the photos in the original storage space. The selection is made to save time spent pre-selecting photos for placement in a storage space.

由上述可知,實質上前述的本發明之相片書之自動排版方法,更可包含選取一儲存空間中的複數個相片的一部分或全部,以成為待排版的該相片的步驟。 It can be seen from the above that the automatic typesetting method of the photo book of the present invention may further comprise the step of selecting a part or all of a plurality of photos in a storage space to become the photo to be typeset.

請參閱第5圖,其係本發明之相片書之自動排版方法之第二實施例的步驟圖。如圖所示,本實施例之相片書之自動排版方法可應用於一電腦程式產品,以藉由資料處理裝置而執行。本實施例之相片書之自動排版方法可包含:(S51)計算待排版的複數個相片的一總數量;(S52)依據總數量於一資料庫中查詢對應之一排版數序;(S53)根據排版數序之各單頁中的相片數量於資料庫中查詢對應的複數個頁面版型;(S54)將複數個相片填入各頁面版型,以形成複數個相本頁面;以及(S55)將複數個相本頁面編排為一相本頁面集,並輸出成為相片書。 Please refer to FIG. 5, which is a step diagram of a second embodiment of the automatic typesetting method of the photo book of the present invention. As shown in the figure, the automatic typesetting method of the photo book of the embodiment can be applied to a computer program product to be executed by the data processing device. The automatic typesetting method of the photo book of the embodiment may include: (S51) calculating a total number of the plurality of photos to be typeset; (S52) querying a corresponding one of the typesetting numbers in a database according to the total quantity; (S53) Querying a corresponding plurality of page layouts in the database according to the number of photos in each page of the typesetting sequence; (S54) filling a plurality of photos into each page layout to form a plurality of related pages; and (S55) The plurality of related pages are arranged into a single page set and output as a photo book.

以下將以相片書之自動排版介面系統1,以對上述之本發明之相片書之自動排版方法之第二實施例之步驟作進一步說明。 The steps of the second embodiment of the automatic typesetting method of the photo book of the present invention will be further described below with the photo book automatic layout interface system 1.

本實施例之相片書之自動排版介面系統1主要是運作前述的相片書之自動排版方法,其可包含一資料庫10、一處理模組20、一排版介面30及一顯示模組40,其元件的連結配置可參閱第2圖。資料庫10儲存 複數個排版數序及複數個頁面版型11。處理模組20計算一儲存空間(如資料夾)中待排版的相片的一總數量,並依據總數量於資料庫10中查詢對應之一排版數序。其中,依據總數量於資料庫10中查詢對應之一排版數序,例如當相片之總數量為60張時,排版數序中各頁面的張數累加後接近於或等於60張。另外,排版數序中的頁數設定較佳地可依據印刷條件進行設定,例如,由於相片在進行印刷作業時,在較有效率的方式下,大多以4的倍數的頁數在進行印刷,因此,排版數序中的頁數值較佳地可為4的倍數,以利於進行印刷作業,藉此亦可增加在輸出相片書時的效率。 The automatic typesetting interface system 1 of the photo book of the present embodiment is mainly an automatic typesetting method for operating the aforementioned photo book, which may include a database 10, a processing module 20, a typesetting interface 30 and a display module 40. Refer to Figure 2 for the connection configuration of components. Database 10 storage A plurality of typesetting sequences and a plurality of page patterns 11 are. The processing module 20 calculates a total number of photos to be typeset in a storage space (such as a folder), and queries the database 10 for a corresponding number of layout numbers according to the total number. Wherein, according to the total quantity, the corresponding typesetting number sequence is queried in the database 10. For example, when the total number of photos is 60, the number of sheets of each page in the typesetting sequence is increased and is close to or equal to 60 sheets. In addition, the number of pages in the typesetting sequence can be set according to the printing conditions. For example, when the photo is being printed, in a more efficient manner, the number of pages is multiplied by 4 times. Therefore, the page number in the typesetting sequence can preferably be a multiple of 4 to facilitate the printing operation, thereby increasing the efficiency in outputting the photo book.

接著,處理模組20再根據排版數序之各單頁中的相片數量於資料庫10中查詢對應的複數個頁面版型11。其中,對應於各單頁的頁面版型11可為頁面版型11中可被套入的相片數量等於排版數序之單頁中的相片數量。然後,處理模組20將複數個相片填入各頁面版型11,從而形成複數個相本頁面,並將複數個相本頁面編排為一相本頁面集,並輸出成為相片書。 Then, the processing module 20 queries the database 10 for the corresponding plurality of page layouts 11 according to the number of photos in each single page of the layout order. The page layout 11 corresponding to each single page may be the number of photos that can be nested in the page layout 11 is equal to the number of photos in the single page of the layout number. Then, the processing module 20 fills a plurality of photos into each page layout 11 to form a plurality of related pages, and arranges a plurality of related pages into a single page set, and outputs the photo book.

值得一提的是,在上述過程中可能發生有未被編排的相片的情形,此時處理模組20可自動地計算剩餘的相片的數量,並依據計算出的數量於資料庫10中查詢對應的版型頁面11。然後,處理模組20將剩餘的相片填入頁面版型11的各欄位中以形成一張相本頁面,並結合至前述所形成的相本頁面集之中或之後。 It is worth mentioning that in the above process, unscheduled photos may occur. At this time, the processing module 20 may automatically calculate the number of remaining photos, and query the corresponding data in the database 10 according to the calculated number. Version of page 11. Then, the processing module 20 fills in the remaining photos into the fields of the page layout 11 to form a photo page, and combines into or after the aforementioned formed page set.

換句話說,本發明之相片書之自動排版方法之第二實施例係可供使用者一次完成整本相片書的排版。 In other words, the second embodiment of the automatic typesetting method of the photo book of the present invention allows the user to complete the typesetting of the entire photo book at one time.

就上述處理模組20將複數個相片填入各頁面版型11,其主要可區分為兩種方式,一為依據直式或橫式套入頁面版型11,其可為下列步驟:建立一直式清單及一橫式清單;讀取各相片的各檔案資訊;依據各相片之檔案資訊,以將複數個相片中為直式的記錄於直式清單,及將複數個相片中為橫式的記錄於橫式清單;以及將各直式的相片分別填入各頁面版型之複數個直式欄位及將各橫式的相片分別填入各橫式欄位。另一為不區分直式或橫式直接套入頁面版型11,其可為下列步驟:將複數個相片直接填入各頁面版型之複數個欄位;調整各相片之格式,例如長寬比例、裁切位置或依長邊或寬邊為準調整相片之長寬尺寸,使其符合各頁面版型之各欄位的顯示內容。 In the above processing module 20, a plurality of photos are filled into each page layout 11, which can be mainly divided into two modes, one is based on a straight or horizontal nesting page type 11, which can be the following steps: List and a horizontal list; read each file information of each photo; according to the file information of each photo, to record the multiple photos in a straight list, and to divide the plurality of photos into a horizontal format Recorded in the horizontal list; and fill each of the straight photos into a plurality of straight fields of each page type and fill each horizontal picture into each horizontal field. The other is to directly insert the page layout 11 without distinguishing between straight or horizontal, which may be the following steps: directly fill a plurality of photos into a plurality of fields of each page type; adjust the format of each photo, such as length and width. Scale, crop position or adjust the length and width of the photo according to the long side or wide side, so that it matches the display content of each field of each page type.

以下將分別以其應用的介面,說明介紹上述的兩種方式。 The following two methods will be described below with the interface of the application.

請一併參閱第6圖,其係為本發明之相片書之自動排版方法之第二實施例的第一介面示意圖。如圖所示,在依據直式或橫式套入頁面版型11方面,處理模組20可控制顯示模組40顯示排版介面30,而排版介面30所顯示的是整個相本頁面集的其中一個頁面,且已配置對應的頁面版型11並套入相片。背景處理的過程中,處理模組20係讀取各相片的檔案資訊,並據以將複數個相片中為直式的記錄於直式清單,及將複數個相片中為橫式的記錄於橫式清單。接著,對應於頁面版型之直式欄位與橫式欄位,將直式的相片與橫式相片分別填入頁面版型之直式欄位與橫式欄位。 Please refer to FIG. 6, which is a first interface diagram of a second embodiment of the automatic typesetting method for the photo book of the present invention. As shown, the processing module 20 can control the display module 40 to display the layout interface 30 according to the straight or horizontal nesting of the page layout 11, and the layout interface 30 displays one of the entire page collections. The page has been configured with the corresponding page layout 11 and nested in the photo. During the background processing, the processing module 20 reads the file information of each photo, and records the plurality of photos in a straight form in a straight form, and records the horizontal number in a plurality of photos in a horizontal format. List. Then, corresponding to the straight field and the horizontal field of the page version, the straight photo and the horizontal photo are respectively filled into the straight field and the horizontal field of the page version.

請一併參閱第7圖,其係為本發明之相片書之自動排版方法之第二實施例的第二介面示意圖。如圖所示,如圖所示,在不區分直式 或橫式直接套入頁面版型11方面,處理模組20可控制顯示模組40顯示排版介面30,而排版介面30所顯示的是其中一頁面中預定的頁面版型,且頁面版型上具有已排版之複數個相片。與前述不同的是,在背景的處理過程中,處理模組20係直接先將相片分別將填入顯示中的頁面版型11之各欄位,接著再利用本技術領域的技術人員常用的影像處理技術,將各相片調整其大小或長寬比例,或進行裁切,以使各相片之格式以符合各頁面版型11之各欄位之顯示內容。 Please refer to FIG. 7, which is a second interface diagram of the second embodiment of the automatic typesetting method for the photo book of the present invention. As shown in the figure, as shown in the figure, without distinguishing straight Or horizontally nested directly into the page layout 11, the processing module 20 can control the display module 40 to display the layout interface 30, and the layout interface 30 displays the predetermined page layout in one of the pages, and the page layout Have multiple photos that have been typeset. Different from the above, in the processing of the background, the processing module 20 directly fills the photos into the fields of the page layout 11 in the display, and then uses the images commonly used by those skilled in the art. The processing technique adjusts the size or aspect ratio of each photo, or performs cutting so that the format of each photo conforms to the display content of each field of each page layout 11.

上述的各相片調整其大小或長寬比例,其可將相片的大小或長寬比例調整為符合直式欄位、橫式欄位或正方形欄位,故應不以第7圖所繪示的作為侷限。 Each of the above photos is adjusted in size or aspect ratio, which can adjust the size or aspect ratio of the photo to conform to a straight field, a horizontal field or a square field, and therefore should not be depicted in FIG. As a limitation.

附帶一提的是,在上述複數個相片填入各頁面版型11及形成相片頁面集的過程中,較佳地,亦可結合本技術領域的技術人員常用的影像辨識處理技術,其處理模組20可讀取並辨識待排版的相片,以由其中辨識出人像,並依據人像上的顏色比例作進一步的分類。舉例來說,將待排版的相片區分為穿白色衣服類別、紅色衣服類別、黃色衣服類別等。接著,在複數個相片填入各頁面版型11及形成相片頁面集的過程時,處理模組20以較高優先順序將白色衣服類別的相片編排在頁碼連續的複數個頁面中,將紅色衣服類別的相片編排在頁碼連續的複數個頁面中,將黃色衣服類別的相片編排在頁碼連續的複數個頁面中,以形成相本頁面集。 It is to be noted that, in the process of filling the plurality of photos into the page layout 11 and forming the photo page set, preferably, the image recognition processing technology commonly used by those skilled in the art may be combined, and the processing mode is The group 20 can read and recognize the photo to be typeset to identify the portrait from it and further classify it according to the color ratio on the portrait. For example, the photos to be typeset are classified into a white clothes category, a red clothes category, a yellow clothing category, and the like. Then, when a plurality of photos are filled in each page layout 11 and a process of forming a photo page set, the processing module 20 arranges the photos of the white clothes category in a plurality of pages of consecutive page numbers in a higher priority order, and the red clothes are The photo of the category is arranged in a plurality of pages of consecutive page numbers, and the photos of the yellow clothes category are arranged in a plurality of pages of consecutive page numbers to form a set of related pages.

此外,值得一提的是,在第6圖及第7圖的排版介面30中,其可包含一頁面切換選項,例如前一頁面按鈕及下一頁面按鈕,以供使 用者切換顯示不同頁面,並可進一步的利用版型更換選項31更換顯示中的頁面的頁面版型。 In addition, it is worth mentioning that in the layout interface 30 of FIGS. 6 and 7, it may include a page switching option, such as a previous page button and a next page button, for making The user switches to display different pages, and can further replace the page layout of the displayed page with the layout replacement option 31.

綜上所述,本發明之相片書之自動排版方法及其電腦程式產品、介面系統可提供使用者便利用的排版相片以輸出相片書。 In summary, the automatic typesetting method of the photo book of the present invention and the computer program product and interface system thereof can provide a user-friendly typesetting photo to output a photo book.

以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 The above is intended to be illustrative only and not limiting. Any equivalent modifications or alterations to the spirit and scope of the invention are intended to be included in the scope of the appended claims.

S11~S16‧‧‧步驟 S11~S16‧‧‧Steps

Claims (12)

一種相片書之自動排版方法,係藉由一資料處理裝置製作一相片書,該方法包含下列步驟:建立一直式清單及一橫式清單;讀取複數個待排版相片的各檔案資訊;依據各該檔案資訊,將該複數個相片中為直式的記錄於該直式清單,及將該複數個相片中為橫式的記錄於該橫式清單;計算該直式清單及該橫式清單中直式及橫式的相片數量;根據直式及橫式的相片數量於一資料庫中查詢對應的一頁面版型,該頁面版型之複數個直式欄位及複數個橫式欄位分別對應於直式的相片數量及橫式的相片數量;以及將各該直式相片填入各該直式欄位及將各該橫式相片填入各該橫式欄位以形成一相本頁面。 An automatic typesetting method for a photo book, wherein a photo book is produced by a data processing device, the method comprising the steps of: creating a list of a continuation list and a horizontal list; reading each file information of the plurality of photos to be typeset; The file information, wherein the plurality of photos are recorded in a straight form in a straight form, and the plurality of photos are horizontally recorded in the horizontal list; the straight list and the horizontal list are calculated The number of straight and horizontal photos; according to the number of straight and horizontal photos, the corresponding one-page version is searched in a database, and the plurality of straight fields and the plurality of horizontal fields of the page type respectively Corresponding to the number of straight photos and the number of horizontal photos; and filling each of the straight photos into the straight fields and filling each of the horizontal photos into the horizontal fields to form a phased page. 如申請專利範圍第1項所述的相片書之自動排版方法,其更包含下列步驟:將複數個該相本頁面對應於一排版數序編排成一相本頁面集,其中該排版數序為各單頁中的相片數量。 The automatic typesetting method for a photo book according to claim 1, further comprising the steps of: arranging a plurality of the pages corresponding to a typesetting page into a page set, wherein the typesetting sequence is a single page. The number of photos in . 一種相片書之自動排版電腦程式產品,經由一資料處理裝置載入該程式執行後,可完成請求項第1至2項中任一項所述之方法。 An automatic typesetting computer program product for a photo book, which is executed by a data processing device, and the method of any one of claims 1 to 2 can be completed. 一種相片書之自動排版介面系統,其包含:一資料庫,係配置以儲存複數個頁面版型;一排版介面,係配置以顯示預定的該頁面版型,且該頁面版型上具有已排版之複數個相片;以及 一處理模組,係配置以讀取待排版的該複數個相片的各該相片的一檔案資訊,將該複數個相片中為直式的記錄於一直式清單及將該複數個相片中為橫式的記錄於一橫式清單,並計算該直式清單及該橫式清單中各別的相片數量,該處理模組係於該資料庫中查詢對應的該頁面版型,而控制該排版介面顯示對應的該頁面版型,並將該儲存空間的各直式的該相片填入該頁面版型的各直式欄位及將各橫式的相片填入該頁面版型的各橫式欄位,以成為該排版介面所顯示之內容。 A photo book automatic layout interface system, comprising: a database configured to store a plurality of page layouts; a typesetting interface configured to display a predetermined version of the page, and the page layout has a typesetting Multiple photos; and a processing module configured to read a file information of each of the plurality of photos to be typeset, and record the plurality of photos in a straight form in the continuous list and cross the plurality of photos Recorded in a horizontal list, and calculate the number of each photo in the direct list and the horizontal list, the processing module is to query the corresponding version of the page in the database, and control the typesetting interface Displaying the corresponding version of the page, and filling each of the straight photos of the storage space into the straight fields of the page layout and filling each horizontal photo into each horizontal bar of the page layout Bit to become the content displayed by the layout interface. 如申請專利範圍第4項所述的相片書之自動排版介面系統,其中更包含一相片挑選介面,該相片挑選介面包含一來源區及一待排版區,該來源區包含該複數個相片,當該來源區的該複數個相片的一部分或全部被選擇後成為待排版的該相片,並顯示於該待排版區。 The photo-editing interface system of the photo book of claim 4, further comprising a photo selection interface, the photo selection interface comprising a source area and a to-be-typed area, the source area comprising the plurality of photos, when A part or all of the plurality of photos in the source area is selected as the photo to be typeset and displayed in the to-be-typed area. 如申請專利範圍第4項所述的相片書之自動排版介面系統,其中排版介面更包含一版型更換選項,當該版型更換選項被觸發時,該處理模組係於該資料庫中查詢對應的另一該頁面版型。 For example, the automatic layout interface system of the photo book described in claim 4, wherein the layout interface further includes a version replacement option, and when the layout replacement option is triggered, the processing module is queried in the database. Corresponding to another page version. 一種相片書之自動排版方法,係藉由一資料處理裝置製作一相片書,該方法包含下列步驟:計算待排版的複數個相片的一總數量;依據該總數量於一資料庫中查詢對應之一排版數序,該排版數序係依據印刷條件進行設定;根據該排版數序之各單頁中的相片數量於該資料庫中查詢對應的複數個頁面版型; 將該複數個相片填入各該頁面版型,以形成複數個相本頁面;以及將該複數個相本頁面編排為一相本頁面集,並輸出成為該相片書;其中所述將該複數個相片填入各該頁面版型,其更包含下列步驟:建立一直式清單及一橫式清單;讀取各該相片的一檔案資訊;依據各該相片之該檔案資訊,以將該複數個相片中為直式的記錄於該直式清單,及將該複數個相片中為橫式的記錄於該橫式清單;以及將各直式的該相片分別填入各該頁面版型之複數個直式欄位及將各橫式的該相片分別填入各該頁面版型之複數個橫式欄位。 An automatic typesetting method for a photo book, wherein a photo book is produced by a data processing device, the method comprising the steps of: calculating a total number of a plurality of photos to be typeset; and querying corresponding data according to the total quantity in a database a typesetting sequence, the typesetting sequence is set according to the printing condition; and the number of photos in each single page according to the typesetting sequence is used to query the corresponding plurality of page patterns in the database; Filling in a plurality of photos into each page layout to form a plurality of related pages; and arranging the plurality of related pages into a set of related pages, and outputting the photo book into the photo book; wherein the plurality of photos are filled Each of the page layouts further includes the following steps: creating a continuous list and a horizontal list; reading a file information of each photo; and according to the file information of each photo, the plurality of photos are The straight type is recorded in the straight list, and the plurality of photos are horizontally recorded in the horizontal list; and each of the straight photos is filled in a plurality of straight columns of each page type And fill each horizontal photo into a plurality of horizontal fields of each page type. 如申請專利範圍第7項所述的相片書之自動排版方法,其中當有未編排的該相片時,更包含下列步驟:計算剩餘的該相片之數量;根據剩餘的該相片之數量於該資料庫中查詢對應的該頁面版型;將剩餘的該相片填入該頁面版型,以形成該相本頁面;將該相本頁面編排至該相本頁面集之後;以及將結合的該相本頁面集輸出成為該相片書。 The automatic typesetting method for a photo book as described in claim 7 , wherein when there is an unedited photo, the method further comprises the steps of: calculating the remaining number of the photo; and according to the remaining number of the photo Querying the corresponding version of the page in the library; filling the remaining page into the page layout to form the page; rearranging the page to the page set; and outputting the combined page set as The photo book. 一種相片書之自動排版電腦程式產品,經由一資料處理裝置載入該程式執行後,可完成請求項第7至8項中任一項所述之方法。 An automatic typesetting computer program product for a photo book, which is executed by a data processing device, and the method of any one of claims 7 to 8 can be completed. 一種相片書之自動排版介面系統,其包含:一資料庫,係儲存複數個排版數序及複數個頁面版型;以及一處理模組,係計算待排版的複數個相片的一總數量,並依據該總數量於該資料庫中查詢對應之該排版數序,再根據該排版數序之各單頁中的相片數量於該資料庫中查詢對應的複數個該頁面版型,以將該複數個相片填入各該頁面版型,從而形成複數個相本頁面,並將該複數個相本頁面編排為一相本頁面集,並輸出成為該相片書;其中,該排版數序係依據印刷條件進行設定;其中更包含一排版介面,係顯示其中一頁面中預定的該頁面版型,且該頁面版型上具有已排版之複數個該相片,其中該處理模組係讀取各該相片的一檔案資訊,並據以將該複數個相片中為直式的記錄於一直式清單,及將該複數個相片中為橫式的記錄於一橫式清單,且將直式的該相片分別填入顯示中的該頁面版型之直式欄位及將橫式的該相片填入顯示中的該頁面版型的橫式欄位。 An automatic typesetting interface system for a photo book, comprising: a database for storing a plurality of typesetting sequences and a plurality of page patterns; and a processing module for calculating a total number of the plurality of photos to be typeset, and Querying the corresponding number of the typesettings in the database according to the total quantity, and querying the corresponding plurality of the page types in the database according to the number of photos in each single page of the typesetting order, to the plural number Each photo is filled in each page layout to form a plurality of photo pages, and the plurality of related pages are arranged into a single page set, and outputted into the photo book; wherein the typesetting sequence is set according to printing conditions And further comprising a typesetting interface, which displays the predetermined version of the page in one of the pages, and the page has a plurality of the typesets that have been typeset, wherein the processing module reads a file of each of the photos. Information, and according to which the plurality of photos are recorded in a straight form in a straight list, and the plurality of photos are recorded in a horizontal format in a horizontal list, and the phase is straight Fill in the show were straight field version of the page and the landscape of the photo to fill horizontal field displays the version of the page. 如申請專利範圍第10項所述的相片書之自動排版介面系統,其中當有未編排的該相片時,該處理模組係計算剩餘的該相片之數量,根據剩餘的該相片之數量於該資料庫中查詢對應的該頁面版型,其將剩餘的該相片填入該頁面版型,從而形成該相本頁面,以結合至該相本頁面集輸出成為該相片書。 The automatic typesetting interface system for a photo book according to claim 10, wherein when there is an unedited photo, the processing module calculates the remaining number of the photos, according to the remaining number of the photos. The corresponding version of the page is queried in the database, and the remaining photo is filled into the page layout, thereby forming the photo page to be combined with the photo page set output to become the photo book. 如申請專利範圍第10項所述的相片書之自動排版介面系統,其中更包含一排版介面,係顯示其中一頁面中預定的該頁面版型,且該頁面版型上具有已排版之複數個該相片,其中該 處理模組係將該相片分別填入顯示中的該頁面版型之欄位,並調整各該相片之格式以符合各該頁面版型之各該欄位之顯示內容。 An automatic typesetting interface system for a photo book as claimed in claim 10, further comprising a typesetting interface for displaying a predetermined version of the page in one of the pages, and having a plurality of typesets on the page type The photo, where the The processing module fills the photo into the field of the page layout in the display, and adjusts the format of each photo to conform to the display content of each field of each page version.
TW104135886A 2015-10-30 2015-10-30 Automatic typesetting method for photobook, and computer program product and interface system thereof TWI564783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104135886A TWI564783B (en) 2015-10-30 2015-10-30 Automatic typesetting method for photobook, and computer program product and interface system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104135886A TWI564783B (en) 2015-10-30 2015-10-30 Automatic typesetting method for photobook, and computer program product and interface system thereof

Publications (2)

Publication Number Publication Date
TWI564783B true TWI564783B (en) 2017-01-01
TW201715378A TW201715378A (en) 2017-05-01

Family

ID=58407812

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104135886A TWI564783B (en) 2015-10-30 2015-10-30 Automatic typesetting method for photobook, and computer program product and interface system thereof

Country Status (1)

Country Link
TW (1) TWI564783B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110213795A1 (en) * 2010-03-01 2011-09-01 Kenneth Kun Lee Automatic creation of alternative layouts using the same selected photos by applying special filters and/or changing photo locations in relation to creating the photobook
TWI396099B (en) * 2010-02-11 2013-05-11 Jieh Hsiang The typographical method of video text file
US8854397B2 (en) * 2011-12-13 2014-10-07 Facebook, Inc. Photo selection for mobile devices
TW201539371A (en) * 2014-04-08 2015-10-16 Acer Inc Method for selecting picture displaying template and electronic apparatus thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI396099B (en) * 2010-02-11 2013-05-11 Jieh Hsiang The typographical method of video text file
US20110213795A1 (en) * 2010-03-01 2011-09-01 Kenneth Kun Lee Automatic creation of alternative layouts using the same selected photos by applying special filters and/or changing photo locations in relation to creating the photobook
US8854397B2 (en) * 2011-12-13 2014-10-07 Facebook, Inc. Photo selection for mobile devices
TW201539371A (en) * 2014-04-08 2015-10-16 Acer Inc Method for selecting picture displaying template and electronic apparatus thereof

Also Published As

Publication number Publication date
TW201715378A (en) 2017-05-01

Similar Documents

Publication Publication Date Title
US8411114B2 (en) Image display device, and program product for displaying image
US7689909B1 (en) System and method for generating photo collages and photo album pages
CN105379303B (en) System and method for content creating
US9269323B2 (en) Image layout for a display
US8184130B2 (en) Method and apparatus for image acquisition, organization, manipulation, and publication
US20040161224A1 (en) Image extracting method, image extracting apparatus, and program for implementing the method
RU2003112730A (en) SYSTEM AND METHOD FOR USER MODIFICATION OF METADATA IN A BROWSER-SHELL
KR20140023596A (en) Apparatus, method and computer readable recording medium for editting the image automatically by analyzing an image
JP2008236468A (en) Image file management device and program
US20140055479A1 (en) Content display processing device, content display processing method, program and integrated circuit
US20110320933A1 (en) Editing apparatus, layout editing method performed by editing apparatus, and storage medium storing program
TWI564783B (en) Automatic typesetting method for photobook, and computer program product and interface system thereof
US6914698B1 (en) Dynamic smart album page layouts in a direct connect printer
US20130077822A1 (en) Method for creating an index using an all-in-one printer and adjustable grouping parameters
WO2015167525A1 (en) Automatic page layout for text items and image items
JP2007259263A (en) Image processing method, image processing device, program, and storage medium
JP2004246582A (en) Display device for electronic document or file
JP2000090252A (en) Image processor and storage medium storing image processing program
US20060209311A1 (en) Image processing apparatus and image processing method
JP6704680B2 (en) Display device, information processing program, and information processing method
US20240104296A1 (en) Storage medium, information processing apparatus, and information processing method
KR100430828B1 (en) System and method for editing print files automatically and system and method for manufacturing print using the edited print files
JP4513507B2 (en) CALENDAR IMAGE GENERATION DEVICE AND CALENDAR IMAGE DATA GENERATION PROGRAM
JP7292895B2 (en) Information processing device, information processing method, and program
JP2004280691A (en) Document filing device