TWI508516B - Method for automatically converting scan image file and computer program product executing such method - Google Patents
Method for automatically converting scan image file and computer program product executing such method Download PDFInfo
- Publication number
- TWI508516B TWI508516B TW101132446A TW101132446A TWI508516B TW I508516 B TWI508516 B TW I508516B TW 101132446 A TW101132446 A TW 101132446A TW 101132446 A TW101132446 A TW 101132446A TW I508516 B TWI508516 B TW I508516B
- Authority
- TW
- Taiwan
- Prior art keywords
- file
- scanned image
- image file
- computer
- format
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/93—Document management systems
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
- Storing Facsimile Image Data (AREA)
Description
本發明是有關於一種檔案格式轉換方法,且特別是有關於一種自動對一掃描影像檔案進行一影像處理程序,將該掃描影像檔案轉換格式之方法。本發明亦有關於一種用於自動轉換掃描影像檔案格式之電腦程式產品,包含一組電腦程式碼,當一電腦載入該電腦程式碼後,可執行上述方法。 The present invention relates to a file format conversion method, and more particularly to a method for automatically performing an image processing program on a scanned image file and converting the scanned image file into a format. The invention also relates to a computer program product for automatically converting a scanned image file format, comprising a set of computer code, which can be executed when a computer loads the computer code.
傳統掃描裝置在掃描完成後,只會在連接的電腦或顯示器上顯示掃描影像檔案。若使用者要轉換檔案之格式,則需另外開啟檔案轉換應用程式再一一手動轉換,相當費時又不方便。 After the scanning is completed, the conventional scanning device will only display the scanned image file on the connected computer or display. If the user wants to convert the format of the file, it is necessary to open the file conversion application and then manually convert it one by one, which is quite time consuming and inconvenient.
[圖1]顯示傳統掃描與轉換格式之方法之流程圖。如步驟101所示,使用者設定檔案預定儲存位置。 [Fig. 1] A flow chart showing a method of a conventional scan and conversion format. As shown in step 101, the user sets the file to a predetermined storage location.
接著,如步驟102所示,掃描裝置對一文件進行掃描。 Next, as shown in step 102, the scanning device scans a file.
然後,如步驟103所示,掃描完成後,掃描裝置將掃描影像檔案傳送至連接的電腦並在電腦上顯示。 Then, as shown in step 103, after the scanning is completed, the scanning device transmits the scanned image file to the connected computer and displays it on the computer.
接著,如步驟104所示,使用者手動開啟檔案轉換應用程式。 Next, as shown in step 104, the user manually opens the file conversion application.
然後,如步驟105所示,在檔案轉換應用程式中,使用者選取先前掃描取得的檔案,並設定欲轉換的格式與檔案儲存位置。 Then, as shown in step 105, in the file conversion application, the user selects the file obtained by the previous scan and sets the format and file storage location to be converted.
最後,如步驟106所示,使用者藉由檔案轉換應用程式得到欲轉換格式之檔案。 Finally, as shown in step 106, the user obtains the file to be converted by the file conversion application.
若使用者欲對多份掃描影像檔案進行轉檔,需浪費許多時間手動 反覆進行步驟105與步驟106,相當不方便。 If the user wants to transfer multiple scanned image files, it takes a lot of time to manually Repeating steps 105 and 106 is quite inconvenient.
另一方面,如果使用者想要複製紙本文件的文字部份,一般會利用具有光學字元辨識(Optical Character Recognition,OCR)功能的掃描裝置掃描紙本文件,為取得例如.rtf或searchable PDF等具文字形式格式之電子檔案,以利後續編輯。 On the other hand, if the user wants to copy the text portion of the paper document, the scanning file device with the optical character recognition (OCR) function is generally used to scan the paper file for obtaining, for example, .rtf or searchable PDF. Wait for an electronic file in text format for subsequent editing.
[圖2]為具有OCR功能掃描裝置之掃描方法之流程圖。如步驟201所示,使用者設定檔案預定儲存位置。 FIG. 2 is a flow chart of a scanning method with an OCR function scanning device. As shown in step 201, the user sets the file to the predetermined storage location.
接著,如步驟202所示,掃描裝置對一文件進行OCR掃描。所謂OCR掃描,為掃描裝置一邊掃描一邊進行光學字元辨識轉換。 Next, as shown in step 202, the scanning device performs an OCR scan on a file. The OCR scan performs optical character recognition conversion for the scanning device while scanning.
最後,如步驟203所示,掃描裝置產生具有文字形式格式之檔案。 Finally, as shown in step 203, the scanning device generates an archive having a textual format.
使用者預先選擇OCR掃描即無需進行手動轉檔,缺點是會受限於掃描裝置之資料運算、傳輸能力與掃描速度。若掃描一份相同的文件,OCR掃描比一般掃描需要花上更多時間。換言之,使用者雖不需手動轉檔,卻仍需要花費額外時間等待掃描裝置產生掃描檔案。對於有多份待掃描文件的使用者而言,直接進行OCR掃描並不會比較快速。 The user selects the OCR scan in advance, that is, no manual conversion is required, and the disadvantage is that it is limited by the data calculation, transmission capability and scanning speed of the scanning device. If you scan a copy of the same file, the OCR scan takes more time than a normal scan. In other words, the user does not need to manually shift files, but still needs to spend extra time waiting for the scanning device to generate a scan file. For users with multiple files to be scanned, direct OCR scanning is not fast.
故本發明方法之目的即為替使用者省下反覆手動轉檔或等待OCR掃描產生檔案所浪費的時間,進以增加工作效率。 Therefore, the purpose of the method of the present invention is to save the user the time wasted by repeatedly shifting the file manually or waiting for the OCR scan to generate the file, thereby increasing work efficiency.
本發明提供一種掃描影像檔案自動轉換格式之方法。先判斷是否有待轉換之掃描影像檔案,如資料儲存裝置上是否有掃描影像檔案,或是否有接收到掃描影像檔案,然後自動進行一影像處理程序將上述掃描影像檔案轉換格式並取代之。 The invention provides a method for scanning an image file automatic conversion format. First, it is determined whether there is a scanned image file to be converted, such as whether there is a scanned image file on the data storage device, or whether a scanned image file is received, and then an image processing program is automatically performed to convert the scanned image file into a format and replace it.
因此,根據本發明提供一種掃描影像檔案自動轉換格式之方法,包含以下步驟:一判斷步驟,判斷是否有待轉換之掃描影像檔案;以及一轉換步驟,當有掃描影像檔案時,自動轉換掃描影像檔案之格式。根據本發明亦提供一種電腦程式產品,包含一組電腦程式碼,當一電腦載入該電腦程式碼後,可執行上述方法之步驟。 Therefore, the present invention provides a method for automatically converting a scanned image file, comprising the following steps: a determining step of determining whether there is a scanned image file to be converted; and a converting step of automatically converting the scanned image file when the scanned image file is scanned The format. According to the present invention, there is also provided a computer program product comprising a computer program code, wherein when a computer loads the computer code, the steps of the above method can be performed.
利用在電腦上進行影像處理與轉換檔案格式擁有較佳效率,即便掃描裝置不具備OCR功能,使用者仍無須做任何手動轉檔動作也不需花費冗長等待時間,即可得到具文字形式格式之檔案或其他格式檔案。轉換成具文字形式格式之檔案乃為方便使用者進行後續編輯工作。使用者亦可另行設定欲轉換格式而得到他種格式的檔案。 It is better to use the image processing and conversion file format on the computer. Even if the scanning device does not have the OCR function, the user does not need to do any manual shifting operation and does not need to wait for a long time to obtain the text format. File or other format file. Conversion to a file in text format is for the convenience of the user for subsequent editing. The user can also set a file to be converted into another format.
利用本發明之方法,上述轉換處理過的檔案除了可儲存在使用者指定之電腦位置或網路上之外,也可直接取代掃描裝置之資料儲存裝置內的原始掃描影像檔案。如原本經由掃描得到的是.bmp、.jpeg或image PDF等圖片格式類型檔案,經本發明方法轉換處理後,可得到.txt、.rtf或searchable PDF等具文字形式格式之檔案並取代之。 By using the method of the present invention, the converted file can be directly stored in the computer location or network designated by the user, and can directly replace the original scanned image file in the data storage device of the scanning device. If the original image type file such as .bmp, .jpeg or image PDF is obtained by scanning, after the conversion method of the present invention, a file with a text format such as .txt, .rtf or searchable PDF can be obtained and replaced.
為使本發明的上述內容能更明顯易懂,下文特舉較佳實施例,並配合所附圖示,做詳細說明如下。 In order to make the above description of the present invention more comprehensible, the following detailed description of the preferred embodiments and the accompanying drawings will be described below.
[圖3]顯示依據本發明較佳實施例之掃描影像檔案自動轉換格式之方法之流程圖。如步驟301所示,一台未與電腦連接之掃描裝置掃描一份或多份文件,並將掃描影像檔案儲存於掃描裝置之資料儲存裝置內,資料儲存裝置如 內建記憶體、記憶卡、USB隨身碟或行動硬碟等。 [Fig. 3] A flow chart showing a method of automatically converting a scanned image file in accordance with a preferred embodiment of the present invention. As shown in step 301, a scanning device not connected to the computer scans one or more documents, and stores the scanned image file in a data storage device of the scanning device, such as a data storage device. Built-in memory, memory card, USB flash drive or mobile hard drive.
接著,如步驟302所示,於電腦上設定掃描影像檔案之轉換格式,如searchable PDF。也可進行其他設定:如轉換完成後是否自動開啟檔案,以及是否會跳出詢問另存新檔位置之視窗。或者可略過本步驟自動套用預設檔案轉換之格式與設定。 Next, as shown in step 302, a conversion format of the scanned image file, such as searchable PDF, is set on the computer. Other settings can also be made: if the file is automatically opened after the conversion is completed, and whether the window for asking to save the new file location will pop up. Or you can skip this step and automatically apply the format and settings of the preset file conversion.
然後,如步驟303所示,上述電腦與存有掃描影像檔案之資料儲存裝置連接,並且自動判斷資料儲存裝置上是否有待轉換之掃描影像檔案。可以是電腦與整個掃描裝置連接,或是在電腦上插入可卸式資料儲存裝置,如記憶卡、USB隨身碟或行動硬碟等;連接後,電腦會自動判斷資料儲存裝置上是否有待轉換之掃描影像檔案。 Then, as shown in step 303, the computer is connected to the data storage device storing the scanned image file, and automatically determines whether there is a scanned image file to be converted on the data storage device. The computer can be connected to the entire scanning device, or a removable data storage device such as a memory card, a USB flash drive or a mobile hard disk can be inserted into the computer; after the connection, the computer automatically determines whether the data storage device has to be converted. Scan image files.
接著,如步驟304所示,當電腦判斷資料儲存裝置上有待轉換之掃描影像檔案時,自動進行一影像處理程序,例如光學字元辨識工作,將掃描影像檔案轉換成設定格式之檔案,且取代原先在資料儲存裝置上的掃描影像檔案。經由本發明方法的影像處理程序,如原本的檔案類型是.bmp、.jpeg或imagePDF等圖片格式類型的掃描影像檔案,會自動被轉換成具有文字形式格式之檔案,如searchable PDF,並直接取代原先檔案或是依照使用者的指示另存新檔。轉換成具文字形式格式之檔案乃為方便使用者進行後續編輯工作,且本發明之方法無須使用者另外手動轉檔。使用者亦可在步驟302時即設定自動轉換成其他格式,所以影像處理程序也可是做影像壓縮或者圖文分離等處理。 Then, as shown in step 304, when the computer determines the scanned image file to be converted on the data storage device, automatically performs an image processing program, such as optical character recognition, converting the scanned image file into a file of a set format, and replacing Scanned image file originally on the data storage device. The image processing program of the method of the present invention, such as the original image file type of the image format of .bmp, .jpeg or imagePDF, is automatically converted into a file with a text format, such as searchable PDF, and directly replaced The original file or the new file is saved according to the user's instructions. The conversion to a file in a text format format is convenient for the user to perform subsequent editing work, and the method of the present invention does not require the user to manually shift the file. The user can also automatically convert to other formats in step 302, so the image processing program can also perform image compression or image separation.
本實施例所述之方法亦可藉由使用一種電腦程式產品來自動轉換掃描影像檔案之格式:該電腦程式產品包含一組電腦程式碼,當電腦載入該電腦程式碼後,可執行上述步驟302、步驟303與步驟304。 The method of the present embodiment can also automatically convert the format of the scanned image file by using a computer program product: the computer program product includes a set of computer code, and the computer can execute the above steps after loading the computer code. 302, step 303 and step 304.
[圖4]顯示依據本發明另一實施例之一種掃描影像檔案自動轉換格 式之方法之流程圖。 [FIG. 4] shows an automatic conversion of scanned image files according to another embodiment of the present invention. Flow chart of the method.
如步驟401所示,掃描裝置掃描文件,將一掃描影像檔案傳送給電腦。傳送掃描影像檔案的方式可以例如是:透過纜線傳輸給連接之電腦、使用無線傳輸或利用網路發送電子郵件。 As shown in step 401, the scanning device scans the file and transmits a scanned image file to the computer. The method of transmitting the scanned image file may be, for example, transmission to a connected computer via a cable, wireless transmission, or use of the network to send an email.
之後,如步驟402所示,電腦判斷是否有接收到掃描影像檔案。 Thereafter, as shown in step 402, the computer determines whether a scanned image file has been received.
如步驟403所示,當電腦判斷接收到掃描影像檔案時,則自動進行一影像處理程序,例如光學字元辨識工作,將掃描影像檔案轉換成預設格式之檔案。預設格式的設定可由使用者自行選擇欲轉換的檔案格式,或者是套用預設值。 As shown in step 403, when the computer determines that the scanned image file is received, an image processing program, such as an optical character recognition operation, is automatically performed to convert the scanned image file into a file of a preset format. The preset format can be set by the user to select the file format to be converted, or to apply the preset value.
最後,如步驟404所示,電腦將產生之該轉換完成之檔案儲存在預設儲存位置。該預設儲存位置可以是掃描影像檔案轉換前的原始儲存位置或是使用者預先指定的檔案儲存位置。這樣一來,原本掃描裝置傳送到電腦的.bmp、.jpeg或image PDF等圖片格式類型檔案,經由本發明方法的自動影像處理程序後,在電腦上顯示的檔案,或者使用者獲得的檔案,即為如searchablePDF等具文字形式格式之檔案,無須使用者另外手動轉檔。 Finally, as shown in step 404, the computer stores the converted file generated in the preset storage location. The preset storage location may be an original storage location before the scan image file is converted or a file storage location specified by the user. In this way, the image format type file of the .bmp, .jpeg or image PDF that the original scanning device transmits to the computer, the file displayed on the computer after the automatic image processing program of the method of the present invention, or the file obtained by the user, That is, a file in a text format such as searchablePDF, without the need for the user to manually transfer files.
本實施例所述之方法亦可藉由使用一種電腦程式產品來自動轉換掃描影像檔案之格式:該電腦程式產品包含一組電腦程式碼,當電腦載入該電腦程式碼後,可執行上述步驟402、步驟403與步驟404。 The method of the present embodiment can also automatically convert the format of the scanned image file by using a computer program product: the computer program product includes a set of computer code, and the computer can execute the above steps after loading the computer code. 402, step 403 and step 404.
利用本發明之方法,若使用者欲對多張掃描影像檔案進行轉檔,使用者不需另外動作,也不需具有支援OCR功能之掃描裝置或另行下載檔案轉換應用程式,即可自動獲得轉換完成之檔案。本發明方法可幫使用者輕鬆省下冗長的手動轉檔手續,達到省時、方便並增加工作效率的目的。 By using the method of the present invention, if the user wants to transfer multiple scanned image files, the user does not need to perform another action, nor does it need to have a scanning device supporting OCR function or download a file conversion application separately, and the conversion can be automatically obtained. Completed file. The method of the invention can save the user from the lengthy manual transfer procedure, saves time, convenience and increases work efficiency.
在較佳實施例之詳細說明中所提出之具體實施例僅用以方便說明本發明之技術內容,而非將本發明狹義地限制於上述實施例,在不超出本發明之精神及以下申請專利範圍之情況,所做之種種變化實施,皆屬於本發明之範圍。 The specific embodiments of the present invention are intended to be illustrative only and not to limit the invention to the above embodiments, without departing from the spirit of the invention and the following claims. The scope of the invention and the various changes made are within the scope of the invention.
101、102、103、104、105、106‧‧‧步驟 101, 102, 103, 104, 105, 106‧‧‧ steps
201、202、203‧‧‧步驟 201, 202, 203‧ ‧ steps
301、302、303、304‧‧‧步驟 301, 302, 303, 304 ‧ ‧ steps
401、402、403、404‧‧‧步驟 401, 402, 403, 404‧ ‧ steps
[圖1]顯示傳統掃描與轉換格式之方法之流程圖。 [Fig. 1] A flow chart showing a method of a conventional scan and conversion format.
[圖2]顯示具有OCR功能掃描裝置之掃描方法之流程圖。 [Fig. 2] A flow chart showing a scanning method with an OCR function scanning device.
[圖3]顯示依據本發明較佳實施例之掃描影像檔案自動轉換格式之方法之流程圖。 [Fig. 3] A flow chart showing a method of automatically converting a scanned image file in accordance with a preferred embodiment of the present invention.
[圖4]顯示依據本發明另一實施例之一種掃描影像檔案自動轉換格式之方法之流程圖。 FIG. 4 is a flow chart showing a method for automatically converting a scanned image file according to another embodiment of the present invention.
301、302、303、304‧‧‧步驟 301, 302, 303, 304 ‧ ‧ steps
Claims (7)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101132446A TWI508516B (en) | 2012-09-06 | 2012-09-06 | Method for automatically converting scan image file and computer program product executing such method |
CN201310127792.4A CN103678434A (en) | 2012-09-06 | 2013-04-12 | Method for automatically converting format of scanned image document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101132446A TWI508516B (en) | 2012-09-06 | 2012-09-06 | Method for automatically converting scan image file and computer program product executing such method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201412087A TW201412087A (en) | 2014-03-16 |
TWI508516B true TWI508516B (en) | 2015-11-11 |
Family
ID=50316014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101132446A TWI508516B (en) | 2012-09-06 | 2012-09-06 | Method for automatically converting scan image file and computer program product executing such method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103678434A (en) |
TW (1) | TWI508516B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106485770B (en) * | 2015-08-26 | 2019-11-19 | 腾讯科技(深圳)有限公司 | A kind of format conversion method and device of flash animation |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW530222B (en) * | 1999-06-17 | 2003-05-01 | Compal Electronics Inc | Automatic assignment method and apparatus |
JP2011087120A (en) * | 2009-10-15 | 2011-04-28 | Canon Marketing Japan Inc | Image forming device, file transmission system, and processing method and program in image forming device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4143956B2 (en) * | 2002-02-14 | 2008-09-03 | 富士フイルム株式会社 | Image display device and image management program |
US20050055636A1 (en) * | 2003-07-21 | 2005-03-10 | Roger Graves | Dynamic editing of multimedia content for real-time applications |
CN100527775C (en) * | 2007-03-05 | 2009-08-12 | 深圳矽感科技有限公司 | An image scanning method and system |
CN101216828B (en) * | 2007-12-27 | 2012-01-11 | 北大方正集团有限公司 | Image file conversion method and apparatus |
CN101262513A (en) * | 2008-04-24 | 2008-09-10 | 陶建新 | Miniature scanner shooting mobile phone |
CN102364926A (en) * | 2011-10-21 | 2012-02-29 | 镇江科大船苑计算机网络工程有限公司 | Android-based intelligent information conversion method |
-
2012
- 2012-09-06 TW TW101132446A patent/TWI508516B/en active
-
2013
- 2013-04-12 CN CN201310127792.4A patent/CN103678434A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW530222B (en) * | 1999-06-17 | 2003-05-01 | Compal Electronics Inc | Automatic assignment method and apparatus |
JP2011087120A (en) * | 2009-10-15 | 2011-04-28 | Canon Marketing Japan Inc | Image forming device, file transmission system, and processing method and program in image forming device |
Also Published As
Publication number | Publication date |
---|---|
TW201412087A (en) | 2014-03-16 |
CN103678434A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10924624B2 (en) | Computer readable recording medium, information processing apparatus, and information processing method | |
US10230863B2 (en) | Information processing device performing a data sharing process among applications and controlling method thereof | |
US10108584B2 (en) | Host apparatus and screen capture control method thereof | |
US7930307B2 (en) | Image capturing apparatus and control method thereof | |
US9348673B2 (en) | Information processing device and control method of sharing image data to plural applications | |
US20150029530A1 (en) | Non-transitory computer-readable recording medium which stores computer-readable instructions for information processing device and information processing device | |
KR20120014518A (en) | Image forming apparatus and method for producting e-book | |
JP5933387B2 (en) | Scanning apparatus, scanning method, and computer program | |
JP6464668B2 (en) | Device management apparatus, device management system, and program | |
US9069500B2 (en) | Information processing device, method and computer-readable medium therefor configured to generate transmission information associated with selected target spreadsheets | |
JP5430227B2 (en) | Information processing apparatus, processing method thereof, and program | |
US9864750B2 (en) | Objectification with deep searchability | |
US20150248259A1 (en) | Information processing apparatus, print system, and recording medium | |
TWI508516B (en) | Method for automatically converting scan image file and computer program product executing such method | |
US9875068B2 (en) | Information processing system, information processing apparatus, and information processing method for facilitating job parameter setting | |
JP2015233268A (en) | Information processing device, method for controlling information processing device, and program | |
US8958108B2 (en) | Apparatus and program product for processing page images with defined page order to increase editing flexibilty | |
US8879093B2 (en) | Communication apparatus, control method, and storage medium for converting document information or image information input as a file into transmission data and transmitting the obtained data | |
US20090323128A1 (en) | System, method, and computer program product for scanning | |
JP6569436B2 (en) | Information processing system, electronic device and program | |
JP6627583B2 (en) | Device, information processing system, display control method, and program | |
KR20110136171A (en) | Image forming apparatus and method for producting e-book contents | |
US9864554B2 (en) | Information processing apparatus and data processing method for inserting image information into a document by converting a size of the image information into a size suitable for an output paper size of the document | |
US20140173395A1 (en) | Image processing apparatus, image processing method, and program | |
JP2010146052A (en) | Printer driver |