JP2004048349A - Image data processing apparatus - Google Patents

Image data processing apparatus Download PDF

Info

Publication number
JP2004048349A
JP2004048349A JP2002202608A JP2002202608A JP2004048349A JP 2004048349 A JP2004048349 A JP 2004048349A JP 2002202608 A JP2002202608 A JP 2002202608A JP 2002202608 A JP2002202608 A JP 2002202608A JP 2004048349 A JP2004048349 A JP 2004048349A
Authority
JP
Japan
Prior art keywords
image data
file
memory
name
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002202608A
Other languages
Japanese (ja)
Inventor
Noriyuki Yamamoto
山元 敬之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2002202608A priority Critical patent/JP2004048349A/en
Priority to CNU032415761U priority patent/CN2697728Y/en
Priority to CNB031107427A priority patent/CN100550967C/en
Priority to AT03006959T priority patent/ATE419711T1/en
Priority to US10/396,344 priority patent/US7911643B2/en
Priority to DE60325522T priority patent/DE60325522D1/en
Priority to EP03006959A priority patent/EP1349366B1/en
Priority to HK03109295.0A priority patent/HK1056959A1/en
Publication of JP2004048349A publication Critical patent/JP2004048349A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image data processing apparatus capable of easily processing a read original image to have a form as designated by a user. <P>SOLUTION: The image data processing apparatus (100) includes: an original read means (6) for reading an original image to generate first image data of a prescribed data format form; a file conversion means for converting the first image data into a file with a prescribed format form; and a storage means for consecutively adding at least the first image data converted by the file conversion means to an end of the file of the prescribed format form stored in advance in memories (4a, 18) as a next page and storing the result. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、読み取った原稿を所定の形式で記憶するための原稿データの記憶処理に関する。
【0002】
【従来の技術】
従来から、デジタルカメラ等で撮影されたり、パーソナルコンピュータ(以下、PCと称す)等で作成された画像データを記憶した、コンパクトフラッシュ(R)、スマートメディア(R)といった記憶媒体(以下、外部メモリと称す)を装着可能なスロットを有するプリンタが知られている。このようなプリンタにおいては、そのスロットに装着された外部メモリから画像データを読み出し、更にその読み出した画像データを印刷可能に構成されている。さらに、そのようなプリンタと原稿読取を可能とする原稿読取装置とを組み合わせた多機能プリンタと呼ばれるものもある。このような多機能プリンタの中には、PCと接続されることにより、PCのプリンタとして使用されたり、PCのスキャナとしても使用されるものがある。更に、多機能プリンタの外部メモリがPCの仮想ドライブとして使用される機能も備えられているものがある。
【0003】
しかしながら、このような多機能プリンタは、原稿読取装置を備えているにもかかわらず、この原稿読取装置が読み取った原稿に対応する画像データを外部メモリに直接保存する機能を備えていなかった。そのため、外部メモリにそのような画像データを保存しようとすると、次のような煩雑な手順を踏まなければならなかった。即ち、まずPCのスキャナとして多機能プリンタを使用し、その原稿読取装置に原稿を読み取らせることで、原稿に対応する画像データをPC内部の記憶媒体(例えば、ハードディスク)に取り込む。その後、PCが外部メモリを自らの仮想ドライブとして使用することにより、取り込んだ画像データを多機能プリンタの外部メモリに転送するというものである。
【0004】
【発明が解決しようとする課題】
そこで、このような多機能プリンタにおいて、原稿読取装置が読み取った原稿に対応する画像データを外部メモリに直接保存する機能を搭載したと想定すると、次のような問題点が生じるおそれがある。即ち、原稿読取装置が読み取った原稿に対応する画像データは頁ごとに新しいファイルとして作成されることが予想されるため、原稿が複数頁に渡る場合に、ファイルの指定等の操作が煩雑となるだけでなく、原稿全ての確認が非常に不便となる。従って、ファイル管理が煩雑となり、画像データを管理しにくいという課題がある。
【0005】
そこで本発明は、原稿読取装置が読み取った原稿に対応する画像データを外部メモリに直接保存する機能を搭載すると共に、原稿が複数頁に渡った場合でも、ファイル管理の容易な画像データ処理装置を提供する。
【0006】
【課題を解決するための手段】
上記課題を解決するために、本発明は以下の構成からなる。なお、本発明の理解を容易にするために添付図面の参照符号を括弧書きにて付記するが、それにより本発明が図示の形態に限定されるものではない。
【0007】
本発明の画像データ処理装置(100)は、原稿画像を読み取り、所定のデータ形式の第1の画像データを作成する原稿読取手段(2、3、4、5、6)と、当該第1の画像データを所定のフォーマット形式のファイルに変換するファイル変換手段(2、3、4、5)と、少なくとも前記ファイル変換手段により変換された前記ファイルを記憶可能なメモリ(4a、18〜20)と、前記原稿読取手段により新たに作成された第1の画像データを、前記メモリ内に予め記憶されている前記所定のフォーマット形式のファイルの末尾に対して、次頁として連続的に追加して記憶する記憶手段(2、3、4、5、10、11〜13)と、を備えていることを特徴とする。
【0008】
この画像データ処理装置によれば、予めメモリ内に記憶されている所定のフォーマット形式のファイルに、新たな第1の画像データを次頁として連続的に追加し、1つのファイルとして記憶することができる。
【0009】
また、前記メモリは、前記所定のデータ形式の画像データも記憶可能であることが望ましい。
【0010】
このように構成すれば、前記メモリには所定のフォーマット形式のファイルのみならず、所定のデータ形式の画像データも記憶することができるので、メモリを有効に活用することができる。
【0011】
また、前記メモリ内に予め所定のデータ形式の画像データのみが存在している場合は、前記ファイル変換手段は、当該画像データを前記所定のフォーマット形式のファイルに変換し、前記記憶手段は、当該ファイルの末尾に対して前記新たに作成された第1の画像データを次頁として連続的に追加して記憶することが望ましい。
【0012】
このように構成すれば、外部メモリ内に予め所定のデータ形式の画像データのみ存在している場合、その画像データをファイル変換手段により所定のフォーマット形式のファイルに変換後、その変換したファイルの末尾に新たな第1の画像データを次頁として連続的に追加し、1つのファイルとして記憶することができる。
【0013】
また、前記メモリ内に予め所定のデータ形式の画像データも所定のフォーマット形式のファイルも存在しない場合は、前記新たに作成された第1の画像データのみが前記記憶手段により前記メモリに記憶されることが望ましい。
【0014】
このように構成すれば、外部メモリ内に画像データやファイルが記憶されていなければ、新たな第1の画像データを所定のデータ形式の画像データとして又は所定のフォーマット形式のファイルとして外部メモリに記憶することができる。
【0015】
また、更に、前記メモリに予め複数記憶されている前記ファイルのうち特定のファイルを指定するためのファイル指定手段(2、3、4、5、7、8、9)を備え、当該ファイル指定手段により特定のファイルが指定された場合には、前記記憶手段は、前記指定された特定のファイルの末尾に対して前記新たに作成された第1の画像データを次頁として連続的に追加して記憶することが望ましい。
【0016】
このように構成すれば、メモリ内に予め複数のファイルが記憶されていたとしても、ファイル指定手段により使用者がそのファイルから特定のファイルを指定して、その指定したファイルの末尾にのみ新たな第1の画像データを次頁として連続的に追加することで、まとまった1つのファイルとして記憶することができる。
【0017】
また、前記ファイル指定手段により特定のファイルが指定されなかった場合には、前記新たに作成された第1の画像データが所定のデータ形式の画像データとして又は所定のフォーマット形式のファイルとして記憶手段によりメモリに記憶されることができる。
【0018】
このように構成すれば、外部メモリ内に予め複数の所定のフォーマット形式のファイルが記憶されている場合であっても、使用者によりファイルが指定されなかった場合は、新たな画像データのみを所定の形式でメモリに記憶することができる。
【0019】
また、更に、前記メモリに予め複数記憶されている前記画像データのうち特定の画像データを指定するための画像データ指定手段(2、3、4、5、7、8、9)を備え、前記画像データ指定手段により特定の画像データが指定された場合には、前記ファイル変換手段は、前記指定された特定の画像データを前記所定のフォーマット形式のファイルに変換し、前記記憶手段は、当該ファイルの末尾に対して前記新たに作成された第1の画像データを次頁として連続的に追加して記憶することが望ましい。
【0020】
このように構成すれば、メモリ内に予め複数の画像データが記憶されていたとしても、使用者が指定した特定の画像データを所定のフォーマット形式のファイルに変換し、そのファイルの末尾に新たな画像データを次頁として連続的に追加して、まとまった1つのファイルとして記憶することができる。
【0021】
また、前記画像データ指定手段により特定の画像データが指定されなかった場合には、前記新たに作成された第1の画像データのみが前記記憶手段により前記メモリに記憶されることが望ましい。
【0022】
このように構成すれば、メモリ内に予め複数の画像データが記憶されているとしても、使用者により画像データが指定されなかった場合は、新たな第1の画像データのみを所定の形式でメモリに記憶することができる。
【0023】
また、前記記憶手段は、前記新たに作成された第1の画像データをそのまま前記メモリに記憶することが望ましい。
【0024】
このように構成すれば、例えば、メモリ内に予め何も記憶されていない場合は、新たに画像データのみを記憶することができる。
【0025】
また、前記ファイル変換手段が前記新たに作成された第1の画像データを所定のフォーマット形式のファイルに変換した後、前記記憶手段は当該ファイルを前記メモリに記憶することが望ましい。
【0026】
また、前記原稿読取手段が1頁の1/Nの面積の所定のデータ形式の画像データを作成可能であり、この1頁の1/Nの面積の画像データを複数併合してNin1形式の第2の画像データを形成するNin1画像データ形成手段(2、3、4、5)を更に備えていてもよい。
【0027】
このように構成すれば、新たな画像データのみをメモリに記憶する際に、新たな画像データとしてNin1画像データを作成することができ、複数の画像データを1つの画像データに或いは複数の画像データを1つのファイルにまとめることができ、画像データを管理し易い。
【0028】
また、更に、前記Nin1画像データ形成手段に第2の画像データを形成させるか否かを使用者が指示入力するNin1指示入力手段(2、3、4、5、7、8、9)と、前記原稿読取手段が新たに読み取る前記原稿の枚数を計数する計数手段(2、3、4、5)と、を備え、使用者が前記Nin1画像データ形成手段に第2の画像データを形成させることを前記Nin1指示入力手段に指示入力することで前記原稿読取手段が1頁の1/Nの面積の所定のデータ形式の画像データを作成し、且つ前記計数手段が計数した前記原稿の枚数がN枚より大きい場合には、前記ファイル変換手段は、前記Nin1画像データ形成手段が形成した第2の画像データを所定のフォーマット形式のファイルに変換するとともに、前記記憶手段はこの第2の画像データを前記メモリに記憶することが望ましい。
【0029】
このように構成すれば、複数の読取原稿がある場合、使用者が所定のNin1画像データを形成するか否かを指示できる。具体的には、新たに読取原稿の枚数を計数し、その枚数が単数であれば、画像データのままメモリに新たな画像データを記憶する。一方、読み取り原稿の枚数が複数であれば、新たな画像データを所定のNin1形式の縮小画像データに縮小した上で、原稿読取手段により読み取られた複数の画像データを併合して所定のNin1形式の画像データに変換できるとともに、原稿枚数がNより多い場合には、1つのファイルとしてメモリに記憶できる。
【0030】
また、前記原稿読取手段が1頁の1/Nの面積の所定のデータ形式の画像データを作成可能であり、この1頁の1/Nの面積の画像データを複数併合してNin1形式の第2の画像データを形成するNin1画像データ形成手段(2、3、4、5)を備えていることが望ましい。
【0031】
このように構成すれば、新たな画像データとしてNin1画像データを作成することができ、このNin1画像データを1つのファイルにまとめてメモリに記憶することができ、画像データを管理し易い。
【0032】
また、更に、前記Nin1画像データ形成手段に第2の画像データを形成させるか否かを使用者が指示入力するNin1指示入力手段(2、3、4、5、7、8、9)を備え、使用者が前記Nin1画像データ形成手段に第2の画像データを形成させることを前記Nin1指示入力手段に指示入力している場合には、前記原稿読取手段は1頁の1/Nの面積の所定のデータ形式の画像データを作成し、前記記憶手段は前記Nin1画像データ形成手段により形成された第2の画像データを前記メモリ内に予め記憶されている前記所定のフォーマット形式のファイルの末尾に対して、次頁として連続的に追加して記憶することが望ましい。
【0033】
このように構成すれば、メモリ内に予め記憶されているNin1形式のファイルの末尾に対して新たな画像データを次頁として連続的に追加して、1つのファイルとしてメモリに記憶できる。
【0034】
また、前記Nin1画像データ形成手段に対し、正数Nを指示するためのN指示手段(2、3、4、5、7、8、9)を備えることが望ましい。
【0035】
このように構成すれば、1頁に併合する画像データの枚数を使用者の希望により設定できる。
【0036】
また、前記メモリに予め記憶されている画像データ又はファイルのうち1つの画像データ又はファイルを指定するための指定手段(2、3、4、5、7、8、9)と、当該指定手段により指定されたのが画像データであるかファイルであるかを判断するための判断手段(2、3、4、5)と、を備え、当該判断手段が、前記指定手段により指定されたのがファイルであると判断した場合には、前記記憶手段は、前記新たに作成された第1の画像データを当該指定されたファイルの末尾に対して、次頁として連続的に追加して記憶することが望ましい。
【0037】
このように構成すれば、メモリ内に予め画像データ又はファイルが複数記憶されていても、指定手段により特定のファイルを指定できるので、その指定したファイルに対して新たな画像データを1つのファイルとして記憶できる。
【0038】
また、前記判断手段が、前記指定手段により指定されたのが画像データであると判断した場合には、前記ファイル変換手段は指定された画像データを所定のフォーマット形式のファイルに変換した後、前記記憶手段が、前記新たに作成された第1の画像データを当該変換されたファイルの末尾に対して、次頁として連続的に追加して記憶することが望ましい。
【0039】
このように構成すれば、前記指定手段により指定されたのが画像データであったとしても、ファイル変換手段によりその画像データを所定のフォーマット形式のファイルに変換後、その変換されたファイルの末尾に対して新たな画像データを次頁として連続的に追加することで、まとまった1つのファイルとして記憶できる。
【0040】
また、更に、前記原稿読取手段が作成する前記第1の画像データの名称を入力指定するための画像データ名称入力指定手段(2、3、4、5、7、8、9)と、前記メモリ内に既に存在するファイルの名称を検知する検知手段(2、3、4、5)と、当該検知手段の検知結果に基づき、前記画像データ名称入力指定手段によって入力指定された名称と同一の名称のファイルが存在する場合には、前記記憶手段は前記第1の画像データを前記ファイルの末尾に対して、次頁として連続的に追加して記憶することが望ましい。
【0041】
このように構成すれば、メモリ内に予め複数のファイルが記憶されていても、画像データ名称入力指定手段により画像データの名称を入力することによって、同一名称のファイルを抽出し、そのファイルの末尾に対して、次頁として連続的に画像データを追加することで、まとまった1つのファイルとして記憶できる。
【0042】
また、前記メモリ内に、前記画像データ名称入力指定手段によって入力指定された名称と同一名称のファイルが存在しない場合には、前記記憶手段は、前記第1の画像データのみを前記画像データ名称指定手段によって指定された名称にて前記メモリに記憶することが望ましい。
【0043】
このように構成すれば、画像データ名称入力手段によって入力指定された名称と同一名称を持つファイルが存在しない場合でも、入力指定された名称でその画像データをメモリに記憶することができる。
【0044】
また、前記所定のデータ形式を選択する選択手段(2、3、4、5、7、8、9)を備えることが望ましい。
【0045】
このように構成すれば、使用者の希望に応じて、画像データを記憶する際のデータ形式を指定できる。
【0046】
また、新たな画像データの名称を入力して特定のファイル又は画像データを指定するための画像データ名称入力指定手段(2、3、4、5、7、8、9)と、前記画像データ名称入力指定手段により入力された新たな画像データの名称と同一名称のファイル又は画像データを検知するための検知手段(2、3、4、5)と、を備え、前記画像データ名称入力指定手段により入力された新たな画像データの名称と同一名称のファイル又は画像データが前記メモリ内に存在した場合は、前記新たな画像データを前記検知手段により検知されたファイル又は画像データに追加して記憶することが望ましい。
【0047】
このように構成すれば、使用者により入力された新たな画像データの名称と同一名称のファイル及び/又は画像データがメモリ内に存在した場合に、同一名称のファイル及び/又は画像データの末尾に新たな画像データを追加して、1つのファイルとしてメモリに記憶できる。
【0048】
また、使用者に報知するための報知手段(2、3、4、5、7、8、9)と、画像データの追加先を選択させるための追加先選択手段(2、3、4、5、7、8、9)と、を備え、前記画像データ名称入力指定手段により入力された新たな画像データの名称と同一名称のファイル又は画像データが前記メモリ内に複数存在した場合は、前記報知手段により前記使用者に報知し、前記追加先選択手段に追加先を選択させ、前記選択された追加先に前記新たな画像データを追加して記憶することが望ましい。
【0049】
このように構成すれば、使用者により入力された新たな画像データの名称と同一名称のファイル及び/又は画像データがメモリ内に存在した場合に、使用者に追加先を選択させることができる。また、使用者によって選択されたファイル及び/又は画像データの末尾に新たな画像データを追加して、1つのファイルとしてメモリに記憶できる。
【0050】
また、前記画像データ名称入力指定手段により入力された新たな画像データの名称と同一名称のファイル又は画像データが前記メモリ内に存在しない場合は、前記新たな画像データを前記画像データ名称入力指定手段により入力された新たな画像データの名称で前記メモリ内に記憶することが望ましい。
【0051】
このように構成すれば、使用者により入力された新たな画像データの名称と同一名称のファイル及び/又は画像データが外部メモリ内に存在しなかった場合は、新たな画像データを入力された名称でメモリに記憶することができる。
【0052】
また、前記画像データ又は前記ファイルを記憶するための外部メモリを着脱可能に装着するための外部メモリ装着手段(11、12、13)を備え、前記メモリは前記外部メモリ装着手段に装着される前記外部メモリ(18、19、20)であることが望ましい。
【0053】
このように構成すれば、原稿が原稿読取部により読み取られて作成された画像データを着脱可能な外部メモリに記憶できる。
【0054】
【発明の実施の形態】
以下、本発明である画像データ処理装置に係る複数の実施の形態について詳細に説明する。
【0055】
図1は画像データ処理装置100の概略構成を示し、図1(a)はブロック図、図1(b)はキーボードの構成を示す図である。最初にこの画像データ処理装置100の全体の概略構成について説明する。また、本実施形態の画像データ処理装置100は、操作部たるキーボード9から使用者が入力指定した指示にしたがって、原稿読取部6が読み取った画像データを直接外部記憶媒体に記憶できる。また、この場合に、所定のフォーマット形式のファイルの末尾に連続的に新たな画像データを追加することもできる。本実施の形態において、画像データとは、原稿読取部6が読み取った原稿の画像に対応するデータをいい、具体的には、JPEG(Joint Photographic Experts Group)、GIF(Graphic Interchange Format)、TIFF(Tagged Image File Format)、PNG(Portable Network Graphics)、BMP(BIT MAP)等の各形式の画像データをいう。また、本実施の形態において、所定のフォーマット形式のファイルとは、複数頁分の符号化データを1つのまとまりとして扱うことのできるデータファイルをいい、具体的には、PDF(PortableDocument Format)ファイルをいう。PDFファイルは、Adobe社の提唱するフォーマット形式である。但し、複数頁分の符号化データを1つのまとまりとして扱うことができ、新たな画像データをその末尾に続ページとして追加できるファイルであれば、PDF形式以外のファイルであってもよい。
【0056】
図1(a)に示すように画像データ処理装置は、バス1を介して、制御部としてのCPU(Central Processing Unit)2と、制御プログラムやデータ等を記憶するためのROM(Read Only Memory)3やRAM(Random Access Memory)4と、ASIC(Application Specific Integrated Circuit)5と、MODEM16と、が電気的に接続されている。また、RAM4は内部メモリ4aとして機能する記憶部と、使用者によって設定されるNin1フラグ記憶領域4bと、を有する。このNin1フラグ記憶領域4bには、使用者によってNin1フラグがオンに設定されている時には「1」が、オフに設定されている時には「0」が記憶される。また、ASIC5には、原稿を画像データとして読み取るための原稿読取部6と、パネルインターフェース7と、着脱可能メモリインターフェース10と、パラレルインターフェース14と、USB(Universal Serial Bus)インターフェース15と、が電気的に接続されている。本実施形態の原稿読取部6は自動原稿給送機構(ADF:Auto Document Feeder)を備えているので、複数頁の原稿が一枚ずつ原稿の読取箇所に自動的に給送される。但し、使用者が一枚ずつ原稿を読取箇所のガラス面上に載置してマニュアル操作で読み取らせるように構成してもよい。また、パネルインターフェース7には、必要な情報を使用者に表示するためのLCD(Liquid Crystal Display)8と、使用者の操作を受け入れるキーボード9と、が接続されている。また、着脱可能メモリインターフェース10には、第1スロット11と、第2スロット12と、第3スロット13と、が接続されている。この第1〜第3スロット11〜13には、各スロットに対応するように第1〜第3の外部メモリ18〜20として機能する外部記憶媒体を着脱可能に装着できる。なお、後述する第1〜第7の実施形態の説明においては、説明を容易にするために、1つの外部メモリ18にのみ画像データを記憶させることとして説明を行う。
【0057】
外部記憶媒体は、具体的には、コンパクトフラッシュ(R)、スマートメディア(R)、メモリスティック(R)等である。なお、外部記憶媒体として採用される記憶メディアは、これらの記憶メディアに限定されるものではない。例えば、フロッピー(R)ディスク、MO(Magnetic Optical Disk)、CD−R(Compact Disc Recordable)、CD−RW(Compact Disc Re−Writable)、DVD−R(Digital Versatile Disc Recordable)、DVD−RAM(Digital Versatile Disc RandomAccess Memory)、DVD−RW(Digital Versatile Disc Re−Writable)等のその他の記憶メディアであってもよい。これらの記憶メディアを使用する場合には、スロット11もその記憶メディアに対応するドライブ装置で構成されることは言うまでもない。
【0058】
また、パラレルインターフェース14/USBインターフェース15には必要時にパラレルケーブル/USBケーブルにより他の電子機器と接続できる。また、ASIC5とMODEM16には、NCU17が電気的に接続されている。NCU17は公衆電話回線と接続される。
【0059】
また、キーボード9には各種キーが備えられている。具体的には、図1(b)に示すように、0〜9までの番号キーから構成される「テンキー」9aと、Scan To Pccを実行するための「Scan To Pcc キー」9bと、項目等を選択するための「矢印キー」9cと、項目等を特定するための「確定キー」9dと、FAX送信を開始するための「送信開始キー」9eと、メモリに記憶されているファイル/画像データを消去するための「消去開始キー」9fと、複数の画像データを1ページ中にまとめる(Nin1処理)ための「Nin1キー」9gと、各処理を開始するための「スタートキー」9hと、を備えている。また、「テンキー」9aの各番号キーには数字のみならず英文字が割り当てられており、使用者がこの「テンキー」9aを操作することにより、画像データ処理装置100には各種設定のための英数字を入力することができる。ここで、「Scan To Pcc」処理とは、原稿読取部6で読み取った原稿の画像データを外部メモリに記憶させる処理をいう。即ち、「Scan To Pcc キー」9bを使用者が押下することにより、原稿読取部6で読み取った原稿に対応する画像データが所定の形式で外部メモリ18に記憶されるのである。
【0060】
次に図2〜図24を参照して、使用者の指示にしたがって処理される画像データ処理装置の各実施形態における動作について説明する。各動作は全て「Scan To Pcc」処理に関するものである。また、図2〜図24の処理は制御部の制御により実行されるものである。
【0061】
―第1の実施形態―
以下、図2〜図10を参照して、本発明に係る画像データ処理装置100の第1の実施形態について説明する。図2は、第1の実施形態の実行メインプログラムを示すフローチャートである。図3は、図2のS3に示す外部メモリ装着判断処理の過程を示すフローチャートである。図4は、図2のS4に示すデータ形式選択処理の過程を示すフローチャートである。図5は、図4のS41に示すデータ形式を選択するための画面である。図6は、Nin1形式の設定処理の処理過程を示すフローチャートである。図7(a)は、図6のS61に示す正数Nを選択するための画面であり、図7(b)は、図7(a)のN入力指定を選択した際に、表示される画面である。図8は第1の名称入力処理の処理過程を示すフローチャートである。図9は画像データの新規記憶処理の処理過程を示すフローチャートである。図10は外部メモリ挿入処理の処理過程を示すフローチャートである。
【0062】
図2において、まず使用者は原稿を原稿読取部6の所定位置に載置して(ステップ1:以下、S1と称す。他のステップも同様)、キーボード9の「ScanTo Pcc キー」9bを押下する(S2)。この「Scan To Pcc キー」9bの押下により、実行メインプログラムが実際に起動し、各処理が実行される。
【0063】
次に、外部メモリ装着判断処理をするための実行サブプログラム(図3)が起動される(S3)。この外部メモリ装着判断処理では、外部メモリ18が画像データ処理装置100の第1スロット11に装着されているか否かが判断されるとともに、原稿読取部6により読み取られた原稿に対応する画像データの記憶先が設定される。
【0064】
まず、外部メモリ18が第1スロット11に装着されているか否かが判断される(S31)。外部メモリ18が第1スロット11に装着されていれば(S31:Yes)、この実行サブプログラムは即座に終了して次のステップ、即ち図2のS4に進む。しかし、外部メモリ18が第1スロット11に装着されていなければ(S31:No)、外部メモリ18が無装着である旨と、「Scan ToPcc」処理を継続するか否かを使用者に問う表示がLCD8上に表示される(S32)。例えば、『外部メモリがスロットに装着されていません。継続する場合には「1」キーを、中止する場合には「2」キーを押して下さい。』等のメッセージがLCD8上に表示される。次に、使用者の指示入力に従って「Scan To Pcc」処理が継続されるか否かが判断される(S33)。即ち、使用者により「1」キーが入力された場合には(S33:Yes)、原稿読取部6により読み取られた原稿に対応する画像データの記憶先がRAM4の内部メモリ4aに仮設定され(S34)、図2の実行メインプログラムに戻る。一方、使用者により「2」キーが入力された場合には(S33:No)、図3の実行サブプログラムのみならず、図2に示す「Scan To Pcc」処理自体を終了する。
【0065】
S3において新たな画像データの記憶先が設定されると、データ形式選択処理を実行するための実行サブプログラム(図4)が起動される(S4)。このデータ形式選択処理では、原稿読取部6により読み取った原稿に対応する画像データのデータ形式が設定される。
【0066】
まず、図5に示すようなデータ形式の項目から構成されるデータ形式選択画面24がLCD8上に表示される(S41)。具体的には、例えば、「0:デフォルト、1.JPEG、2.GIF、3.TIFF、4.PNG、5.BMP」というように、各データ形式の項目25と、各項目25に対応した項目番号26と、各項目25のうち1つの項目を示すカーソル27とから構成される。また、デフォルト形式は、この画像処理装置の出荷時点で予め何らかのデータ形式に定められていてもよいし、又は使用者の指示に従って設定が変更できるように構成されていてもよい。使用者は、カーソル27を矢印キー9cにより希望の項目25に合わせるか、テンキー9aのうちの数字キー(この場合は、「0」〜「5」の数字キー)により該当する項目25の項目番号26を入力する等してデータ形式を選択することができる。
【0067】
次に、使用者が矢印キー9cか、又はテンキー9aから「0」〜「5」のうちいずれかの数字キーを押下することにより、データ形式の選択がなされたか否かが判断される(S42)。使用者が矢印キー9c又は「0」〜「5」のうちいずれかの数字キーを押下した場合には(S42:Yes)、S43に進み、使用者が矢印キー9c又は「0」〜「5」のうちいずれの数字キーをも押下していない場合には(S42:No)、S46に進む。また、使用者が「6」〜「9」のうちいずれかの数字キーを押下した場合には、S42は否定判断がなされる。
【0068】
使用者が矢印キー9cを押下した場合には(S42:Yes)、図5のカーソル27は、押下された矢印キー9cの上下方向に応じて上又は下の次の項目25へと移動する。使用者が「0」〜「5」のうちいずれかの数字キーを押下した場合には(S42:Yes)、押下された数字キーに対応する項目25へとカーソル27が移動する。次に、使用者により確定キー9dが押下されたか否かが判断される(S43)。使用者が確定キー9dを押下した場合には(S43:Yes)、外部メモリ18又は内部メモリ4aに記憶される新たな画像データのデータ形式がS42で選択されたデータ形式に設定され、図2の実行メインプログラムに戻る。一方、使用者が確定キー9dを押下していない場合には(S43:No)、S42に戻る。
【0069】
また、使用者が矢印キー9c又は「0」〜「5」のうちいずれの数字キーをも押下していない場合(使用者が「6」〜「9」の数字キーのいずれかを押下した場合を含む)にも(S42:No)、使用者により確定キー9dが押下されたか否かが判断される(S46)。使用者が確定キー9dを押下した場合には(S46:Yes)、外部メモリ18又は内部メモリ4aに記憶される新たな画像データのデータ形式がデフォルトのデータ形式(本実施の形態ではJPEG形式)に設定され(S47)、図2の実行メインプログラムに戻る。使用者が確定キー9dを押下していない場合には(S46:No)、S42に戻る。
【0070】
このように、S4では、原稿読取部6により原稿が読み取られて作成される画像データ(新たな画像データ)のデータ形式が設定される。
【0071】
S4において新たな画像データのデータ形式が設定されると、「Nin1キー」9gが使用者により押下されたか否かが判断される(S5)。「Nin1キー」9gが使用者により押下されていない場合には(S5:No)、S7に進む。しかし、「Nin1キー」9gが使用者により押下されたと判断されると(S5:Yes)、図6に示すNin1の設定処理をするための実行サブプログラムが起動する(S6)。このNin1の設定処理では、使用者によって1ページ中に配置する画像データの正数Nが設定される。
【0072】
まず、所定の正数Nから構成されるNin1データ形式の項目から構成されるNin1指定入力画面がLCD8上に表示される(S61)。Nin1指定入力画面は、具体的には、図7(a)に示すように、「0.Nin1無、1.2in1、2.4in1、3.8in1、4.16in1」からなる各項目30と、「5.N入力指定」からなる項目30aと、各項目30、30aに対応する項目番号31と、カーソル32と、から構成される。使用者は、カーソル32を矢印キー9cにより希望の項目30、30aに合わせるか、テンキー9aにより該当する項目30、30aの番号31(この場合「0」〜「5」)を入力する等して所望の項目を選択することができる。
【0073】
使用者が矢印キー9cか、又はテンキー9aから「0」〜「5」のうちいずれかの数字キーを押下することにより、項目30、30aの選択がなされたか否かが判断される(S62)。使用者が矢印キー9c又は「0」〜「5」のうちいずれかの数字キーを押下して項目30、30aのうちいずれかの項目を選択した場合には(S62:Yes)、使用者により確定キー9dが押下されたか否かが判断される(S63)。使用者が矢印キー9c又は「0」〜「5」のうちいずれの数字キーをも押下していない場合には(S62:No)、S62が繰り返される。また、使用者が「6」〜「9」のうちいずれかの数字キーを押下した場合にも、S62は否定判断がなされる。
【0074】
そして、いずれかの項目が選択された状態で、使用者により確定キー9dが押下されると(S63:Yes)、設定された正数NがRAM4に記憶されるとともに、Nin1フラグがオン状態に設定される。但し、「0.Nin1無」が設定された場合には、RAM4のNin1フラグはオフ状態に設定される。従って、この場合にはNin1設定はなされなかったのと同じになる。また、「5.N入力指定」が設定された場合には、図7(b)に示すようにN入力画面33がLCD8上に表示される。使用者はテンキー9a等により所定の正数Nを入力することで、自らの所望するNの値を設定することが可能である。この場合には、使用者が自ら入力した設定された正数NがRAM4に記憶されるとともに、Nin1フラグがON状態に設定される。そして、図2の実行メインプログラムに戻る。ここで、Nin1フラグがオン状態であることは、Nin1の設定がされていることを示す。具体的には、使用者によって正数Nが設定されるとNin1フラグ記憶領域4bにフラグ「1」が記憶される。また、図2のS5においてNin1キー9gが押下されない場合は、Nin1フラグはオフ状態のままであり、Nin1の設定がなされていないことを示す。具体的には、Nin1フラグ記憶領域4bにはフラグ「0」が記憶され続ける。
【0075】
次に、使用者によりスタートキー9hが押下された否かが判断される(S7)。スタートキー9hが使用者により押下されなければ(S7:No)、S5に戻る。しかし、スタートキー9hが使用者により押下されると(S7:Yes)、S3、S4或いはS6における各種設定に基づいて「SCAN TO PCC」処理が実行されることとなる。
【0076】
まず、原稿のページ数を表すパラメータPに1が設定され(S8)、原稿読取部6により1ページ分の原稿が読み取られる(S9)。このパラメータPはRAM4内の所定の領域に記憶される。次に、現在Nin1が設定されているか否かが判断される(S10)。具体的には、この判断は、Nin1フラグがオン状態になっているか否か、即ちNin1フラグ記憶領域4bに「1」が記憶されているか否かにより判断される。Nin1が設定されている場合には(S10:Yes)、RAM4内に記憶されている所定の正数Nに基づいて、原稿1ページ分の面積の1/Nの面積を持つ画像データが、S4で設定されたデータ形式で作成される(S11)。また、Nin1が設定されていない場合には(S10:No)、原稿1ページ分の面積の画像データがS4で設定されたデータ形式で作成される(S12)。
【0077】
次に、原稿全ページの読み取りが終了したか否かが判断される(S13)。この判断は公知の原稿センサによる原稿の有無の検出や、使用者による読取終了の入力操作により行われる。原稿全ページ分の読み取りが終了していない場合には(S13:No)、パラメータPの値に「1」を加える演算処理がされることにより、原稿のページ数を表すパラメータPの値が変更される(S14)。また、パラメータPの値を変更後、S9に戻り、原稿読取部6により次の1ページ分の原稿を読み取られる。このように原稿読取部6に載置されている原稿の全ページが読み取られるまでS9〜S14の処理が繰り返される。全ページ分の原稿の読み取りが終了している場合には(S13:Yes)、Nin1設定がなされているか否かが再び判断される(S15)。Nin1設定がされていれば(S15:Yes)、S11において作成された原稿1ページ分の面積の1/Nの面積の画像データから、S4で設定されたデータ形式で1ページ分のNin1画像データが作成され(S16)、S17へ進む。例えば、N=4の場合には、S11で1ページ分の1/4の面積の画像データが作成され、S16で1ページ分の1/4の面積の画像データを4ページ分使用することで1ページ分の4in1画像データが作成されることとなる。この場合、S11で作成された画像データが4ページ以内ならS16で4in1画像データが1ページ作成され、S11で作成された画像データが4ページより多ければ、S16で4in1画像データが複数ページ作成されることはいうまでもない。また、1/4の面積の画像データが4ページに満たない場合には、白画像データのページが挿入される。即ち、1/4の面積の画像データが3ページ分あるときは、4ページ目として1/4の面積の白画像データが使用される。一方、Nin1設定がなされていなければ(S15:No)、即座にS17へ進む。
【0078】
そして、外部メモリ18内にPDFファイルが予め記憶されているか否かが判断される(S17)。このとき、S3において外部メモリ18が装着されていない旨の判断がされ、且つ使用者が「Scan To Pcc」処理の継続を所望した場合には、内部メモリ4a内にPDFファイルがあらかじめ記憶されているか否かが判断される。外部メモリ18内又は内部メモリ4a内にPDFファイルが予め記憶されていれば(S17:Yes)、S12又はS16において作成された新しい画像データがJPEG形式の画像データであるか否かが判断される(S18)。S12又はS16において作成された新しい画像データがJPEG形式の画像データでなければ(S18:No)、この画像データをJPEG形式の画像データに変換し(S19)、そのJPEG形式に変換された画像データが外部メモリ18又は内部メモリ4aに記憶されているPDFファイルの末尾に追加されてPDFファイルが更新され、且つ再びその更新されたPDFファイルが外部メモリ18又は内部メモリ4aに記憶される(S20)ことにより、「Scan To Pcc」処理が終了する。
【0079】
一方、S12又はS16において作成された新しい画像データがJPEG形式の画像データであれば(S18:Yes)、そのJPEG形式の画像データが外部メモリ18又は内部メモリ4aに記憶されているPDFファイルの末尾に追加されてPDFファイルが更新され、且つ再びその更新されたPDFファイルが外部メモリ18又は内部メモリ4aに記憶される(S20)ことにより、「Scan To Pcc」処理が終了する。
【0080】
また、外部メモリ18内又は内部メモリ4a内にPDFファイルが予め記憶されていなければ(S17:No)、次に外部メモリ18内又は内部メモリ4a内に何らかの形式の画像データが予め記憶されているか否か判断される(S21)。
【0081】
外部メモリ18内又は内部メモリ4a内に何らかの形式の画像データが予め記憶されていれば(S21:Yes)、外部メモリ18内又は内部メモリ4a内に作成されている画像データがJPEG形式の画像データであるか否かが判断される(S22)。外部メモリ18内又は内部メモリ4a内に作成されている画像データがJPEG形式の画像データであれば(S22:Yes)、そのままS24に進み、JPEG形式の画像データでなければ(S22:No)、外部メモリ18内又は内部メモリ4a内に記憶されている画像データがJPEG形式の画像データに変換され(S23)、S24へ進む。
【0082】
そして、外部メモリ18内又は内部メモリ4a内に記憶されているJPEG形式の画像データがPDFファイルに変換されて(S24)、S18に進む。
【0083】
また、外部メモリ18内又は内部メモリ4a内に何らかの形式の画像データが予め記憶されていなければ(S21:No)、第1の名称入力処理をするための実行サブプログラム(図8)が起動する(S25)。この第1の名称入力処理により、原稿読取部6により読み取られ新たに作成される画像データを外部メモリ18内又は内部メモリ4a内に記憶する際のPDFファイルの名称、又は画像データの名称が設定される。
【0084】
第1の名称入力処理(図8)においては、まず、使用者が原稿読取部6に読み取られ作成された画像データ(新たな画像データ)の名称を入力するための画面がLCD8上に表示される(S81)。使用者は表示された画面に従って、キーボード9を用いて所望の名称を入力可能である。次に、新たな画像データの名称として、テンキー9a等からのキー入力が使用者によりなされたか否かが判断される(S82)。テンキー9a等からのキー入力が使用者によりなされた場合には(S82:Yes)、入力した名称が確定されたか否かが判断される(S83)。具体的には、使用者により確定キー9dが押下されたか否かが判断される。使用者により確定キー9dが押下されたと判断されれば(S83:Yes)、使用者によって入力された名称で新たな画像データの名称が設定され、図2の実行メインプログラムに戻る。使用者により確定キー9dが押下されたと判断されなければ(S83:No)、S82へと戻る。
【0085】
一方、テンキー9a等からのキー入力が使用者によりなされていない場合には(S82:No)、使用者によりそのまま確定キー9dが押下されたか否かが判断される(S85)。使用者によりそのまま確定キー9dが押下されたと判断されれば(S85:Yes)、新たな画像データの名称として、予め定められた連番初期値(例えば、img0001等)による名称が設定され、図2の実行メインプログラムに戻る。使用者により確定キー9dが押下されたと判断されなければ(S85:No)、S82に戻る。
【0086】
この説明からも明らかなように、画像データ処理装置100において、外部メモリ18内又は内部メモリ4a内にPDFファイルも何らかの画像データも存在しない場合(何も記憶されていない場合)には、まず使用者によって新たな画像データ又はPDFファイルの名称が設定される。
【0087】
次に、原稿読取部6により読み取られた原稿に基づいて作成された画像データを新規に記憶処理するための実行サブプログラム(図9)が起動し(S26)、原稿読取部6により読み取られ作成された画像データが外部メモリ18内又は内部メモリ4a内に、S25において設定された名称からなる1つのPDFファイル、又は1つの画像データとして記憶される。
【0088】
画像データ新規記憶処理(図9)においては、まず、Nin1データ形式の設定がされているか否かが判断される(S91)。具体的には、RAM4のNin1フラグ記憶領域4bに「1」が記憶されているか否かが判断される。Nin1フラグ記憶領域4bに「1」が記憶されていれば(S91:Yes)、RAM4に記憶されている原稿の総ページ数Pの値と、図2のS6において設定されてRAM4内に記憶されている正数Nの値とが比較され、Pの値がNの値よりも大きい値であるか否かが判断される(S92)。Pの値がNの値よりも大きい値であれば、即ち、原稿の総ページ数がNよりも大きい値であれば(S92:Yes)、原稿読取部6により原稿が読み取られて作成された画像データ(新たな画像データ)がJPEG形式であるか否かが判断される(S93)。新たな画像データがJPEG形式であれば(S93:Yes)、新しい画像データはPDFファイルに変換される(S95)。新たな画像データがJPEG形式でなければ(S93:No)、新しい画像データはJPEG形式に変換された後(S94)、PDFファイルに変換される(S95)。そして、図2のS25(第1の名称入力処理)で設定された名称が上記PDFファイルのファイル名称として付けられ、外部メモリ18又は内部メモリ4aに記憶され(S96)、図2の実行メインプログラムに戻る。
【0089】
一方、Nin1フラグ記憶領域4bに「1」が記憶されていなければ、RAM4に記憶されている原稿の総ページ数Pの値が2以上(複数)であるか否かが判断される(S97)。原稿の総ページ数Pの値が2以上(複数)であれば(S97:Yes)、上述したS93へ進み、原稿の総ページ数Pの値が2以上(複数)でなければ(S97:No)、S96へ進む。即ち、この場合の原稿は1枚だけである。そして、この1枚の原稿から作成された画像データには、図2のS25(第1の名称入力処理)で設定された名称が付けられ、外部メモリ18又は内部メモリ4aにそのまま画像データとして記憶され(S96)、図2の実行メインプログラムに戻る。
【0090】
また、Pの値がNの値よりも大きい値でなければ、即ち、原稿の総ページ数がN以下の値であれば(S92:No)、S96へ進む。即ち、この場合作成されているNin1画像データは1ページ分のみである。従って、この1ページ分のNin1画像データには、図2のS25(第1の名称入力処理)で設定された名称が付けられ、外部メモリ18又は内部メモリ4aにそのまま画像データとして記憶され(S96)、図2の実行メインプログラムに戻る。
【0091】
そして、図2に示す「Scan To Pcc」処理が実行されている最中、若しくはその後に外部メモリ18が第1スロット11に挿入された際の処理について図10を参照して説明する。この外部メモリ挿入処理用の実行サブプログラムは、外部メモリ18が対応する第1スロット11に挿入された際に起動される。
【0092】
この外部メモリ挿入処理(図10)においては、まず、仮置のPDFファイル又は画像データが内部メモリ4a内に存在するか否かが判断される(S101)。仮置のPDFファイル又は画像データが内部メモリ4a内に存在している場合には(S101:Yes)、画像データ処理装置100が新たな画像データを内部メモリ4a内のPDFファイルに現在追加中であるか、又は画像データ処理装置100が新たな画像データを内部メモリ4a内に現在新規に記憶中であるか否かが判断される(S102)。画像データ処理装置100が新しい画像データを内部メモリ4aに追加中又は記憶中の場合には(S102:Yes)、S101に戻る。一方、画像データ処理装置100が新しい画像データを内部メモリ4aに追加中又は記憶中ではない場合には(S102:No)、内部メモリ4aに存在する仮置のPDFファイル又は画像データが外部メモリ18に移動(記憶)され(S103)、本処理は終了する。この処理が終了することにより、それ以降の新たな画像データの追加先又は記憶先は外部メモリ18に設定される。また、この外部メモリ挿入処理は、第2〜第7の実施形態において説明されていないが、第1の実施形態と同様に、外部メモリ18が対応する第1スロット11に挿入された際に第2〜第7の実施形態においても起動されることは言うまでもない。
【0093】
なお、本実施例では、PDFファイルに新しい画像を追加して記憶する際、特定の画像圧縮方式(JPEG形式)を統一して用いているが、PDFファイルは符号化された画像データならその画像データをその末尾に後続のページとして追加して記憶することができるので、例えばGIF形式を統一して用いることも可能である。
【0094】
以上説明したことから明らかなように、この第1の実施形態の画像データ処理装置100においては、予め外部メモリ18内又は内部メモリ4a内にPDFファイルのみが記憶されている場合には、新たに作成されるJPEG形式の画像データはPDFファイルの末尾に追加されて記憶される。
【0095】
また、予め外部メモリ18内又は内部メモリ4a内に何らかのデータ形式の画像データのみが記憶されている場合には、その外部メモリ18内又は内部メモリ4a内の画像データはJPEG形式の画像データに変換されるとともに、PDFファイルに変換される。そして、新たに作成されるJPEG形式の画像データがそのPDFファイルの末尾に追加されて記憶される。
【0096】
また、予め外部メモリ18内又は内部メモリ4a内にPDFファイル及び何らかのデータ形式の画像データが存在する場合は、PDFファイルが優先的に選択され、そのPDFファイルの末尾に新たに作成される画像データが記憶される。
【0097】
また、予め外部メモリ18内又は内部メモリ4a内にPDFファイルも画像データも記憶されていない場合には、新たに作成される画像データは外部メモリ18又は内部メモリ4aに新たな名称(S25で設定された名称)で画像データのまま、又はPDFファイルとして記憶される。新たに作成される画像データが1ページ分の場合は、そのまま(設定されたデータ形式で作成された画像データのまま)新たな名称で外部メモリ18又は内部メモリ4aに記憶される。一方、新たに作成される画像データが複数ページ分の場合は、所定のデータ形式たるPDFファイルに変換されたのち、新たな名称で外部メモリ18又は内部メモリ4aに記憶される。
【0098】
―第2の実施形態―
以下、図11〜図15を参照して、本発明に係る画像データ処理装置100の第2の実施形態について説明する。
【0099】
図11は、第2の実施形態の実行メインプログラムを示すフローチャートである。図12は、PDFファイルの指定処理の処理過程を示すフローチャートである。図13は、図12のS131におけるPDFファイル指定画面を示す図である。図14は、画像データの新規記憶処理の処理過程を示すフローチャートである。図15は、第2の名称入力処理の処理過程を示すフローチャートである。
【0100】
この第2の実施形態(図11)のS111〜S113は、第1の実施形態のS1〜S3と同様であるので、ここでは詳述しない。S113が終了すると、PDFファイルの指定処理をするための実行サブプログラム(図12)が起動する(S114)。このPDFファイルの指定処理では、外部メモリ18内又は内部メモリ4a内に複数のPDFファイルが存在する場合に、新たな画像データを追加すべきPDFファイルが使用者により指定されるものである。
【0101】
まず、外部メモリ18又は内部メモリ4aに記憶されている複数のPDFファイルを特定するためのPDFファイル選択画面34(図13)がLCD8上に表示される(S131)。このPDFファイル選択画面34は、PDFファイルを示す複数の項目35と、各PDFファイルの項目35に対応する番号37と、カーソル38とから構成されている。具体的には、このPDFファイル項目35はファイルの名称部分35aとPDF拡張子35bとから構成されるが、PDF拡張子35bは必ずしも表示されなくともよい。使用者は、カーソル38を矢印キー9cにより希望のPDFファイルの項目35に合わせるか、テンキー9aにより該当するPDFファイルの項目35に対応する番号37を入力する等して所望のPDFファイルを選択することができる。
【0102】
そして、矢印キー9c又はテンキー9a等を用いて使用者が特定のPDFファイルを選択したか否かが判断される(S132)。使用者が矢印キー9cを押下するか又はテンキー9aを押下して番号37のいずれかを入力すれば(S132:Yes)、使用者が確定キー9dを押下したか否かが判断される(S133)。使用者が確定キー9dを押下していないと判断されれば(S133:No)、S132へと戻る。使用者が確定キー9dを押下したと判断されれば(S133:Yes)、新たに画像データが追加されるPDFファイルとして使用者がS132で選択したPDFファイルが確定され(S134)、図11の実行メインプログラムに戻る。
【0103】
一方、使用者が矢印キー9cの押下もテンキー9aの押下もしていなければ(S132:No)、使用者がそのまま確定キー9dを押下したか否かが判断される(S135)。使用者が確定キー9dを押下していないと判断されれば(S135:No)、S132へ戻る。しかし、使用者が確定キー9dを押下したと判断されると(S135:Yes)、追加先PDFファイル又は画像データの無指定に基づく画像データの新規記憶処理(図14)を実行するための実行サブプログラムが起動される(S136)。即ち、図13に示すPDFファイル選択画面34においてデフォルトの状態ではカーソル38は「新規記憶処理」という項目36を示しているので、この段階で使用者により確定キー9dが押下されれば、使用者は新たな画像データを既存のPDFファイルへの追加ではなく新規に外部メモリ18又は内部メモリ4aに記憶したいのである。この画像データ新規記憶処理では、外部メモリ18又は内部メモリ4aに新たな画像データがそのまま又はPDFファイルに変換されて記憶される。
【0104】
図14の追加先PDFファイル又は画像データの無指定に基づく画像データの新規記憶処理が起動されると、まず、第2の名称入力処理(図15)のための実行サブプログラムが起動される(S141)。第2の名称入力処理では、例えば、原稿が原稿読取部6により読み取られて作成された画像データ(新たな画像データ)をPDFファイルに変換して又は画像データのまま外部メモリ18又は内部メモリ4aに記憶するための名称が設定される。以下に、図15の第2の名称入力処理を説明する。
【0105】
まず、新たに外部メモリ18又は内部メモリ4a内に記憶させるべき画像データ又はPDFファイルの名称を入力するための図示しない画面がLCD8上に表示される。次に、使用者がテンキー9a等を用いて何らかの数字や英字を画像データ又はファイルの名称として入力したか否かが判断される(S159)。名称として何らかの数字や英字等が入力されたと判断されれば(S159:Yes)、更に使用者により確定キー9dが押下されたか否かが判断される(S160)。使用者により確定キー9dが押下されたと判断されれば(S160:Yes)、外部メモリ18内又は内部メモリ4a内に同一名称のPDFファイル又は画像データが存在するか否かが判断される(S161)。外部メモリ18内又は内部メモリ4a内に同一名称のPDFファイル又は画像データが存在していないと判断されれば(S161:No)、使用者がS159,S160にて入力確定した名称が、新たな画像データをPDFファイル又は画像データのまま外部メモリ18又は内部メモリ4aに記憶するための名称として設定される。
【0106】
一方、外部メモリ18内又は内部メモリ4a内に同一名称のPDFファイル又は画像データが存在していると判断されれば(S161:Yes)、使用者に同一名称のPDFファイル又は画像データが存在する旨が報知されるとともに、使用者に対して同一名称のPDFファイル又は画像データに新たな画像データを追加して記憶するか否かを質問する(S162)。この報知や質問は例えばLCD8に表示されたり、図示しないスピーカ等により音声で行われる。次に、使用者がキーボード9からの入力により追加を指示したか否かが判断される(S163)。使用者がキーボード9からの入力により追加を拒絶した場合には(S163:No)、S158に戻る。しかし、使用者がキーボード9からの入力により追加を是認した場合には(S163:Yes)、図12のS134へ進む。
【0107】
一方、数字や英字等が何ら入力されていないと判断されれば(S159:No)、使用者により確定キー9dが押下されたか否かが判断される(S165)。使用者により確定キー9dが押下されていないと判断されれば(S165:No)、S159へ戻る。しかし、使用者により確定キー9dが押下されたと判断されれば、即ち、S159で何らの名称入力がされていない状態で確定キー9dの押下があった場合(S165:Yes)、外部メモリ18内又は内部メモリ4a内の連番名称の検索処理がなされる(S166)。具体的には、外部メモリ18内又は内部メモリ4a内に連番で作成された名称のPDFファイル及び/又は画像データが存在するか否かが検索される。次に、S166における連番名称の検索処理において、外部メモリ18内又は内部メモリ4a内に連番名称のPDFファイル又は画像データが存在したか否かが判断される(S167)。
【0108】
外部メモリ18内又は内部メモリ4a内に連番名称のPDFファイル又は画像データが存在している場合には(S167:Yes)、S166により検索された連番名称のうち、最大値を持つ連番名称の最後尾の数値に「1」を加える演算処理がなされ、更にその連番名称が新たなPDFファイル又は画像データの名称として設定される(S168)。例えば、検索された連番名称が「img0001」と「img0002」の場合には、「img0003」が新たなPDFファイル又は画像データの名称として設定される。そして、図14の追加先PDFファイル又は画像データの無指定に基づく画像データの新規記憶処理の実行サブプログラムに戻る。
【0109】
一方、外部メモリ18内に連番名称のPDFファイル又は画像データが存在していない場合には(S167:No)、初期値を持つ連番名称が新たなPDFファイル又は画像データの名称として設定される(S169)。例えば、「img0001」が新たなPDFファイル又は画像データの名称として設定される。そして、図14の追加先PDFファイル又は画像データの無指定に基づく画像データの新規記憶処理の実行サブプログラムに戻る。
【0110】
次に、図15の第2の名称入力処理において新たな名称が設定された場合には、図4に示すデータ形式選択処理が実行される(S142)。しかし、S142〜S155の処理は、図2に示す第1の実施形態のS4〜S16と同一なので、ここでは改めて説明しない。更に、S156の処理は、図2に示す第1の実施形態のS26(図9の画像データ新規記憶処理)と同一なので、ここでは説明しない。
【0111】
S156が終了すると、図11に示す実行メインプログラムも終了する。
【0112】
一方、図12のS134にて、新たな画像データが追加されるPDFファイルが確定されると、図11に示す第2の実施形態の実行メインプログラムにおいて「Nin1キー」9gが使用者により押下されたか否かが判断される(S115)。しかし、S115〜S126までは、図2に示すS5〜S16とほぼ同一なので、ここでは改めて説明しない。但し、この第2の実施形態においては、使用者が選択したPDFファイルの末尾に新たな画像データを追加することになるので、S121、S122、S126においては第1の実施形態のように選択されたデータ形式ではなく、JPEG形式の画像データが作成される。
【0113】
そして、S114において指定されたPDFファイルの末尾にS126で作成された画像データ又はS122で作成されたJPEG形式の画像データが追加され記憶されて、第2の実施形態はその処理を終了する。
【0114】
以上の説明からも明らかなように、この画像データ処理装置100において、予め外部メモリ18内又は内部メモリ4a内にPDFファイルが複数存在する場合は、使用者によってそのPDFファイルのうち1つが指定され、その指定されたPDFファイルに新たな画像データが追加され記憶される。
【0115】
また、使用者が特定のPDFファイルを選択しなかった場合には、外部メモリ18又は内部メモリ4aには新たな画像データ又はPDFファイルが新たに設定された名称で記憶される。この場合、新たに作成された画像データが1ページ分の場合は、そのまま(設定されたデータ形式で作成された画像データのまま)新たな名称で外部メモリ18又は内部メモリ4aに記憶される。一方、新たに作成された画像データが複数ページ分の場合は、所定のデータ形式たるPDFファイルに変換されたのち、新たな名称で外部メモリ18又は内部メモリ4aに記憶される。
【0116】
―第3の実施形態―
以下、図16〜図17を参照して、本発明に係る画像データ処理装置の第3の実施形態について説明する。
【0117】
図16は第3の実施形態の処理過程を示すフローチャートである。図17は画像データの指定処理の処理過程を示すフローチャートである。
【0118】
まず、S171〜S173は第1の実施形態のS1〜S3と同一なので、ここでは改めて説明しない。S173が終了すると、図17に示す画像データの指定処理をするための実行サブプログラムが起動する(S174)。この画像データの指定処理では、外部メモリ18又は内部メモリ4aに記憶されている複数の画像データから使用者によって特定の画像データが指定される。
【0119】
図17において、まず外部メモリ18又は内部メモリ4aに記憶されている複数の画像データを特定するための画像データ選択画面がLCD8上に表示される(S191)。ここでは画像データ選択画面を図示しないが、図13のPDFファイル選択画面34における各項目35が各種画像データの名称及びそのデータ形式を表す拡張子に置き換えられただけである。
【0120】
次に、特定の画像データが選択されたか否かが、即ち使用者が矢印キー9cを入力してカーソルを次の画像データ項目に移動させたか否か、及びテンキー9aにより該当する画像データ項目に対応する番号を入力したか否かが判断される(S192)。使用者が矢印キー9cを押下するか又はテンキー9aを押下して番号のいずれかを入力すれば(S192:Yes)、使用者が確定キー9dを押下したか否かが判断される(S193)。使用者が確定キー9dを押下していないと判断されれば(S193:No)、S192へと戻る。使用者が確定キー9dを押下したと判断されれば(S193:Yes)、新たな画像データが追加される画像データとして使用者がS192で選択した画像データが確定され、更にその確定した画像データのデータ形式がJPEG形式か否かが判断される(S194)。使用者が確定した画像データのデータ形式がJPEG形式の場合には(S194:Yes)、そのJPEG形式の画像データをPDFファイルに変換する(S196)。使用者が確定した画像データのデータ形式がJPEG形式ではない場合には(S194:No)、その画像データをJPEG形式に変換し(S195)、その後PDFファイルに変換する(S196)。そして、図16の実行メインプログラムへと戻る。
【0121】
一方、使用者が矢印キー9cの押下もテンキー9aの押下もしていなければ(S192:No)、使用者がそのまま確定キー9dを押下したか否かが判断される(S197)。使用者が確定キー9dを押下していないと判断されれば(S197:No)、S192へ戻る。しかし、使用者が確定キー9dを押下したと判断されると(S197:Yes)、追加先PDFファイル又は画像データの無指定に基づく画像データの新規記憶処理(図14)を実行するための実行サブプログラムが起動される(S198)。即ち、画像データ選択画面においてデフォルトの状態では「新規記憶処理」になっているので、この段階で使用者が確定キー9dを押下すれば、使用者は新たな画像データを既存の画像データへの追加ではなく新規に外部メモリ18又は内部メモリ4aに記憶したいということである。この新規記憶処理では、外部メモリ18又は内部メモリ4aに新たな画像データがそのまま又はPDFファイルに変換されて記憶される。図14の追加先PDFファイル又は画像データの無指定に基づく画像データの新規記憶処理は上述したので、ここでは改めて説明しない。そして、この図14のS141、即ち図15の第2の名称処理の処理でS163が肯定された場合には、図16のS194へと進むことになる。また、図14のS156、即ち図9の画像データ新規記憶処理が終了したら、図16に示す第3の実施形態は終了する。
【0122】
図17の画像データ処理においてS196が終了したら、Nin1キー9gが使用者により押下されたか否かが判断される(S175)。ここで、S175〜S186までの処理は、第2の実施形態のS115〜S126までの処理と同一であるので、詳述しない。
【0123】
最後に、外部メモリ18又は内部メモリ4aに記憶されている画像データから変換されたPDFファイルの末尾にS186で作成された画像データ、又はS182で作成された画像データが追加されて更新された後、更新後のPDFファイルが再び外部メモリ18又は内部メモリ4aに記憶され、第3の実施形態の処理が終了する。
【0124】
以上の説明からも明らかなように、この画像データ処理装置100では、予め外部メモリ18又は内部メモリ4aに複数の画像データが記憶されている場合には、使用者によってその画像データの中から特定の画像データが指定され、その指定された画像データが所定のフォーマット形式(PDFファイル)に変換される。更に新たな画像データがそのPDFファイルに追加されることにより更新され、更新されたPDFファイルは外部メモリ18又は内部メモリ4aに記憶される。
【0125】
また、使用者が特定の画像データを選択しなかった場合には、外部メモリ18又は内部メモリ4aには新たな画像データ又はPDFファイルが新たに設定された名称で記憶される。この場合、新たに作成された画像データが1ページ分の場合は、そのまま(設定されたデータ形式で作成された画像データのまま)新たな名称で外部メモリ18又は内部メモリ4aに記憶される。一方、新たに作成された画像データが複数ページ分の場合は、所定のデータ形式たるPDFファイルに変換されたのち、新たな名称で外部メモリ18又は内部メモリ4aに記憶される。
【0126】
―第4の実施形態―
以下、図18、図19、図21を参照して、本発明に係る画像データ処理装置の第4の実施形態について説明する。図18は第4の実施形態の処理過程を示すフローチャートである。図19は図18のS204に示す追加先指定処理の処理過程を示すフローチャートである。図21は第3の名称入力処理の処理過程を示すフローチャートである。この第4の実施形態は、S204とS217以外は第2の実施形態や第3の実施形態と略同一であるので、ここでは、S204とS217を中心に説明する。
【0127】
S201〜S203は第2の実施形態のS111〜S113の処理や、第3の実施形態のS171〜S173の処理と同一である。
【0128】
次に、追加先の指定処理(図19)を実行するための実行サブプログラムが起動する(S204)。追加先の指定処理では、使用者によって外部メモリ18又は内部メモリ4aに記憶されている複数の画像データ又はPDFファイルの中から新たな画像データを追加すべき画像データ又はPDFファイルが指定される。
【0129】
図19において、まず外部メモリ18又は内部メモリ4aに記憶されている複数のPDFファイル又は画像データを特定するための追加先選択画面がLCD8上に表示される(S221)。ここでは追加先選択画面を図示しないが、図13のPDFファイル選択画面34における各項目35が各種PDFファイル及び各種画像データに置き換えられただけである。
【0130】
次に、特定の画像データ又はPDFファイルが選択されたか否かが、即ち使用者が矢印キー9cを入力してカーソルを次の画像データ項目やPDFファイル項目に移動させたか否か、及びテンキー9aにより該当する画像データ項目又はPDFファイルに対応する番号を入力したか否かが判断される(S222)。使用者が矢印キー9cを押下するか又はテンキー9aを押下して番号のいずれかを入力すれば(S222:Yes)、使用者が確定キー9dを押下したか否かが判断される(S223)。使用者が確定キー9dを押下していないと判断されれば(S223:No)、S222へと戻る。使用者が確定キー9dを押下したと判断されれば(S223:Yes)、新たな画像データの追加先がPDFファイルか否かが判断される(S226)。新たな画像データの追加先がPDFファイルの場合には(S226:Yes)、図18の実行メインプログラムに戻る。
【0131】
新たな画像データの追加先がPDFファイルではない場合には(S226:No)、S223で確定された追加先は何らかの形式の画像データであるということなので、この確定された画像データと同一名称のPDFファイルが外部メモリ18内又は内部メモリ4a内に存在するか否かが判断される(S227)。確定された画像データと同一名称のPDFファイルが外部メモリ18内又は内部メモリ4a内に存在していないと判断されると(S227:No)、確定された画像データのデータ形式がJPEG形式か否かが判断される(S233)。使用者が確定した画像データのデータ形式がJPEG形式の場合には(S233:Yes)、そのJPEG形式の画像データをPDFファイルに変換する(S235)。使用者が確定した画像データのデータ形式がJPEG形式ではない場合には(S233:No)、その画像データをJPEG形式に変換し(S234)、その後PDFファイルに変換する(S235)。そして、図18の実行メインプログラムへと戻る。
【0132】
一方、確定された画像データと同一名称のPDFファイルが外部メモリ18内又は内部メモリ4a内に存在していないと判断されると(S227:No)、選択された画像データの名称を自動的に変更し、その変更後の名称が画面に表示される(S228)。例えば、「同一名称のPDFファイルが存在しますので、画像データの名称を変更します。新しい名称はAAAです。この名称でOKなら「1」キーを、OKでなければ「2」キーを押下して下さい。」という旨の表示がされる。この名称AAAは、外部メモリ18又は内部メモリ4aに存在していない名称が表示される。そして、使用者は表示された指示にしたがって追加先画像データの名称を変更できる。
【0133】
次に、テンキー9aから「1」キーが使用者により入力されたか否かが判断される(S229)。「1」キーが使用者により入力されれば(S229:Yes)、使用者がS223で確定した画像データの名称が現在LCD8上に表示されている仮の名称AAAに変更され(S230)、S233に進む。また、「2」キーが使用者により入力されれば(S229:No)、同一名称のPDFファイルに対して新たに作成されるPDFファイルを上書きするか否かが判断される(S231)。例えば、「同一名称のPDFファイルに対して上書きしますか?上書きなら「1」キーを、上書きではなく選択した画像データの名称変更のために新たな名称を入力するなら「2」キーを押下して下さい。」という旨の表示がされる。使用者は表示された指示にしたがって追加先画像データの名称を更に変更するか既存のPDFファイルに対して上書きするかを選択できる。「1」キーが使用者により入力されれば(S231:Yes)、S233に進み、「2」キーが使用者により入力されれば(S231:No)、第3の名称入力処理の実行サブプログラムが起動する(S232)。この第3の名称入力処理(図21)のための実行サブプログラムは、ユーザにより同一名称のPDFファイルに上書きしないで、新規に異なる名称を入力・設定する場合に起動される。
【0134】
図21においては、まず名称を入力するための入力画面がLCD8上に表示される(S261)。使用者はキーボード9上のテンキー9a等を使用して新たな名称を入力する(S262)。入力された名称はLCD8上に表示される。そして、使用者により確定キー9dが押下されたか否かが判断される(S263)。使用者により確定キー9dが押下されなければ(S263:No)、確定キー9dが押下されるまで待機する。使用者により確定キー9dが押下されれば(S263:Yes)、追加先の画像データの新たな名称が設定され、図19のS227へ戻る。
【0135】
一方、使用者が矢印キー9cの押下もテンキー9aの押下もしていなければ(S222:No)、使用者がそのまま確定キー9dを押下したか否かが判断される(S224)。使用者が確定キー9dを押下していないと判断されれば(S224:No)、S222へ戻る。しかし、使用者が確定キー9dを押下したと判断されると(S224:Yes)、追加先PDFファイル又は画像データの無指定に基づく画像データの新規記憶処理(図14)を実行するための実行サブプログラムが起動される(S225)。即ち、画像データ選択画面においてデフォルトの状態では「新規記憶処理」になっているので、この段階で使用者が確定キー9dを押下すれば、使用者は新たな画像データを既存の画像データへの追加ではなく新規に外部メモリ18又は内部メモリ4aに記憶したいということである。この新規記憶処理では、外部メモリ18又は内部メモリ4aに新たな画像データがそのまま又はPDFファイルに変換されて記憶される。図14の追加先PDFファイル又は画像データの無指定に基づく画像データの新規記憶処理は上述したので、ここでは改めて説明しない。そして、この図14のS141、即ち図15の第2の名称入力の処理でS163が肯定された場合には、図19のS226へと進むことになる。また、図14のS156、即ち図9の画像データの新規記憶処理が終了したら、図18に示す第4の実施形態は終了する。
【0136】
一方、図19のS223で追加先としてPDFファイルが設定された場合や、S235で追加先の画像データがPDFファイルに変換された場合には、Nin1キー9gが使用者により押下されたか否かが判断される(S205)。このS205〜S216までの処理は、第2の実施形態のS115〜S126や、第3の実施形態のS175〜S186と同一であるので、詳述しない。
【0137】
そして、S204で追加先に指定されたPDFファイル又は追加先に指定されてPDFファイルに変換された画像データの末尾に、S216で作成されたJPEG形式の画像データ又はS212で作成されたJPEG形式の画像データが追加されてPDFファイルが更新され、その更新されたPDFファイルが外部メモリ18又は内部メモリ4aに記憶されることにより(S217)、この処理は終了する。
【0138】
以上の説明からも明らかなように、画像データ処理装置100は、予め外部メモリに複数の画像データ又はPDFファイルが記憶されている場合において、使用者によって原稿読取部6により読み取り作成される画像データ(新たな画像データ)の追加先が指定される。指定された追加先が画像データである場合は、その画像データはPDFファイルに変換される。そして、追加先として指定されたPDFファイル又は変換されたPDFファイルの末尾に新たな画像データが追加され、記憶される。
【0139】
また、追加先が画像データである場合において、その画像データの名称と同一名称のPDFファイルが外部メモリ18内又は内部メモリ4a内に存在する場合に、名称の候補が自動的に使用者に提示される。その際、使用者は、提示された名称にするか、追加先に指定された画像データにより作成されるPDFファイルを同一名称のPDFファイルに対して上書きするか、再度他の新たな名称を入力するか、を選択できる。
【0140】
―第5の実施形態―
以下、図20〜図21を参照して、本発明に係る画像データ処理装置の第5の実施形態について説明する。図20は、第5の実施形態の実行メインプログラムを示すフローチャートである。図21は、上述した通り、第3の名称入力処理の処理過程を示すフローチャートである。
【0141】
S241〜S243及びS245〜S256は、第2の実施形態のS111〜S113及びS115〜S126や、第3の実施形態のS171〜S173及びS175〜S186、更には第4の実施形態のS201〜S203及びS205〜S216と同一である。また、S244は第4の実施形態のS232(図19)と同一の処理であり、S259は第1の実施形態のS26(図2)等と同一の処理であるので、第5の実施形態においては、S257とS258を中心に説明する。
【0142】
S255又はS256が終了すると、S244で設定された名称と同一名称のPDFファイルが外部メモリ18又は内部メモリ4aに存在するか否かが判断される(S257)。S244で設定された名称と同一名称のPDFファイルが外部メモリ18又は内部メモリ4aに存在すれば(S257:Yes)、そのPDFファイルの末尾にS256又はS252で作成されたJPEG形式の画像データが追加されてPDFファイルは更新され、更にその更新されたPDFファイルが外部メモリ18又は内部メモリ4aに記憶されて(S258)、第5の実施形態の処理は終了する。一方、S244で設定された名称と同一名称のPDFファイルが外部メモリ18又は内部メモリ4aに存在しなければ(S257:No)、画像データを新規に記憶処理処理するための実行サブプログラム(図9)が起動する(S259)。この画像データ新規記憶処理は上述したので、ここでは説明しない。S259が終了すると、第5の実施形態の処理は終了する。
【0143】
以上の説明からも明らかなように、この画像データ処理装置100は、原稿が原稿読取部6により読み取られて作成される画像データ(新たな画像データ)の名称が使用者によって入力され、その名称と同一名称のPDFファイルが外部メモリ18又は内部メモリ4aに存在する場合は、そのPDFファイルに新たな画像データが追加されて更新され、その更新されたPDFファイルが外部メモリ18又は内部メモリ4aに記憶される。
【0144】
また、使用者によって入力された新たな画像データの名称と同一名称のPDFファイルが外部メモリ18又は内部メモリ4aに存在しない場合は、新たな画像データは使用者により入力された名称で新規に画像データ又はPDFファイルとして外部メモリ18又は内部メモリ4aに記憶される。
【0145】
―第6の実施形態―
以下、図22を参照して、本発明に係る画像データ処理装置の第6の実施形態について説明する。図22は第6の実施形態の実行プログラムを示すフローチャートである。
【0146】
S271〜S286の処理は、第5の実施形態のS241〜S256の処理と同一であるので、第6の実施形態においては、S287〜S292を中心に説明する。
【0147】
S285又はS286が終了すると、S274で設定された名称と同一名称の画像データが外部メモリ18又は内部メモリ4aに存在するか否かが判断される(S287)。S274で設定された名称と同一名称の画像データが外部メモリ18又は内部メモリ4aに存在すれば(S287:Yes)、その画像データのデータ形式がJPEG形式か否かが判断される(S288)。画像データのデータ形式がJPEG形式の場合には(S288:Yes)、そのJPEG形式の画像データをPDFファイルに変換する(S290)。画像データのデータ形式がJPEG形式ではない場合には(S288:No)、その画像データをJPEG形式に変換し(S289)、その後PDFファイルに変換する(S290)。そして、変換されたPDFファイルの末尾に新たな画像データが追加されてPDFファイルは更新され、更に更新されたPDFファイルが外部メモリ18又は内部メモリ4aに記憶されて(S291)、この第6の実施形態の処理は終了する。
【0148】
一方、S274で設定された名称と同一名称の画像データが外部メモリ18又は内部メモリ4aに存在しなければ(S287:No)、画像データを新規に記憶処理処理するための実行サブプログラム(図9)が起動する(S259)。この画像データ新規記憶処理は上述したので、ここでは説明しない。S259が終了すると、第6の実施形態の処理は終了する。
【0149】
以上の説明からも明らかなように、この画像データ処理装置100は、予め外部メモリ18又は内部メモリ4aに何らかのデータ形式の画像データが記憶されている場合において、原稿が原稿読取部6により読み取られて作成される画像データ(新たな画像データ)の名称が使用者によって入力され、その名称と同一名称の画像データが外部メモリ18又は内部メモリ4aに存在する場合は、その画像データをJPEG形式にデータ変換した後PDFファイルに更に変換し、そのPDFファイルの末尾に新たな画像データが追加され記憶される。
【0150】
―第7の実施形態―
以下、図23〜図24を参照して、本発明に係る画像データ処理装置の第7の実施形態について説明する。
【0151】
図23と図24は第7の実施形態の実行メインプログラムを示すフローチャートである。
【0152】
S301〜S316の処理は、第5の実施形態のS241〜S256の処理や第6の実施形態のS271〜S286の処理と同一であるので、第7の実施形態においては、S317以降を中心に説明する。
【0153】
S315又はS316が終了すると、S304で設定された名称と同一名称のPDFファイル又は画像データが外部メモリ18又は内部メモリ4aに存在するか否かが判断される(S317)。S304で設定された名称と同一名称のPDFファイル又は画像データが外部メモリ18又は内部メモリ4aに存在すれば(S317:Yes)、同一名称のPDFファイル又は画像データが外部メモリ18又は内部メモリ4aに複数存在するか否かが判断される(S319)。同一名称のPDFファイル又は画像データが外部メモリ18又は内部メモリ4aに複数存在する場合には(S319:Yes)、同一名称のPDFファイル又は画像データを抽出し、LCD8上に表示する。そして、使用者が追加先のPDFファイル又は画像データを上述したような手段で指定して設定し(S321)、S322へ進む。一方、同一名称のPDFファイル又は画像データが外部メモリ18又は内部メモリ4aに複数存在しない場合には(S319:No)、S320とS321をスキップしてS322へ進む。そして、新たな画像データが追加される先がPDFファイルか否かが判断される(S322)。新たな画像データが追加される先がPDFファイルであれば(S322:Yes)、S332へ進み、新たな画像データが追加される先がPDFファイルでなければ(S322:No)、S323へ進む。しかしながら、S322〜S331は、図19に示すS226〜S235と同一なので、ここでは詳述しない。
【0154】
そして、新たな画像データが追加される先がPDFファイルである場合(S322:Yes)と、新たな画像データの追加先として設定されたものの画像データであったために変換されたPDFファイル(S331)の末尾に新たな画像データが追加されて更新され、その更新されたPDFファイルが外部メモリ18又は内部メモリ4aに記憶されてこの第7の実施形態の処理は終了する。
【0155】
一方、S304で設定された名称と同一名称のPDFファイル又は画像データが外部メモリ18又は内部メモリ4aに存在しなければ(S317:No)、図9に示す画像データ新規記憶処理が実行され(S318)、その後この第7の実施形態の処理は終了する。
【0156】
以上の説明からも明らかなように、第7の実施形態における画像データ処理装置100は、原稿読取部6により読み取った原稿の記憶処理において、原稿読取部6により読み取られ作成された画像データ(新たな画像データ)の名称が使用者によって入力され、その入力された新たな画像データの名称と同一名称のPDFファイル又は画像データが外部メモリ18又は内部メモリ4aに記憶されている場合に、使用者に同一名称のPDFファイル又は画像データが複数存在する旨を報知して追加先を選択させ、その選択された追加先(PDFファイル又は画像データ)に新たな画像データが追加され記憶される。選択された追加先がPDFファイルであれば、そのPDFファイルの末尾に新たな画像データが追加され記憶される。また、選択された追加先が画像データであれば、その画像データを所定の形式(例えばJPEG形式)に変換した後更にPDFファイルに変換し、変換されたPDFファイルの末尾に新たな画像データが追加され記憶される。
【0157】
また、PDFファイルと画像データの両方が存在する場合は、使用者に選択させることが好ましい。また、予め優先順位をつけておいて選択されることが望ましい。その際、使用者が追加先として画像データを指定した場合に、その指定画像データと同一名称のPDFファイルが存在するときは、その指定画像データの名称を変更後、その指定画像データを所定の形式(例えばJPEG形式)に変換し、更にPDFファイルに変換後、その変換されたPDFファイルの末尾に新たな画像データが追加され記憶される。
【0158】
なお、説明を容易とするために、本実施形態(第1〜第7の実施形態)においては、外部スロットが単数である場合(具体的には、図1に示す第1スロット11のみ)について説明したが、例えば、図1に示すように、外部スロット11〜13が複数設けられている場合、及び/又は外部メモリ18〜20が対応する各スロット11〜13に複数装着されている場合には、使用者が特定の記憶先(所定の外部スロット及び/又は外部メモリのみ)を選択して設定してもよい。また、デフォルトで予めスロットに装着されている全ての外部メモリに読み取ったデータを記憶させるように設定されていてもよい。また、デフォルトで予め特定のスロットに装着されている外部メモリに読み取ったデータを記憶させるように設定されていてもよい。
【0159】
また、図3に示す外部メモリ装着判断処理において、外部メモリ18が第1スロット11にたとえ装着されている場合でも、その残量が十分でなかった場合には、内部メモリ4aを記憶先として仮設定してもよい。この場合にはLCD8上に外部メモリ18の交換を促すメッセージが表示されることが望ましい。
【0160】
また、上記実施の形態においては、使用者は新たな画像データの追加先として1つの画像データ又は1つのPDFファイルを指定しているが、複数の画像データ又はPDFファイルを選択可能に構成し、選択された画像データ又はPDFファイルすべてに対して新たな画像データを追加するように構成してもよい。
【0161】
【発明の効果】
以上に説明したように本発明に係る画像データ処理装置によれば、読み取った原稿に対応する画像データを外部メモリに容易に記憶することができる。また、原稿が複数の場合、所定のフォーマット形式にすることにより、1つのファイルとして画像データを管理できる。また、Nin1形式のファイル形式にすることにより、1頁中に画像データを複数挿入できるので更に画像データの管理が容易になる。
【図面の簡単な説明】
【図1】本発明に係る画像データ処理装置の概略構成を示し、図1(a)はブロック図、図1(b)はキーボードの構成を示す図である。
【図2】第1の実施形態の処理過程を示すフローチャートである。
【図3】外部メモリ装着判断処理の処理過程を示すフローチャートである。
【図4】データ形式選択処理の処理過程を示すフローチャートである。
【図5】データ形式を選択するためのデータ形式選択画面である。
【図6】Nin1形式の設定処理の処理過程を示すフローチャートである。
【図7】Nin1の設定画面を示し、(a)Nin1指定画面、(b)正数Nの入力画面である。
【図8】第1の名称入力処理の処理過程を示すフローチャートである。
【図9】画像データの新規記憶処理の処理過程を示すフローチャートである。
【図10】外部メモリ挿入処理の処理過程を示すフローチャートである。
【図11】第2の実施形態の処理過程を示すフローチャートである。
【図12】PDFファイルの指定処理の処理過程を示すフローチャートである。
【図13】PDFファイルを選択するためのファイル選択画面である。
【図14】画像データの新規記憶処理の処理過程を示すフローチャートである。
【図15】第2の名称入力処理の処理過程を示すフローチャートである。
【図16】第3の実施形態の処理過程を示すフローチャートである。
【図17】画像データの指定処理の処理過程を示すフローチャートである。
【図18】第4の実施形態の処理過程を示すフローチャートである。
【図19】追加先の指定処理の処理過程を示すフローチャートである。
【図20】第5の実施形態の処理過程を示すフローチャートである。
【図21】第3の名称入力処理の処理過程を示すフローチャートである。
【図22】第6の実施形態の処理過程を示すフローチャートである。
【図23】第7の実施形態の処理過程を示すフローチャートの一部である。
【図24】第7の実施形態の処理過程を示すフローチャートの一部である。
【符号の説明】
2 CPU
3 ROM
4 RAM
4a 内部メモリ
4b Nin1フラグ記憶領域
5 ASIC
6 原稿読取部
8 LCD
9 キーボード
18、19、20 外部メモリ
100 画像データ処理装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a process for storing document data for storing a read document in a predetermined format.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a storage medium (hereinafter, an external memory) such as a compact flash (R) or a smart media (R) that stores image data shot by a digital camera or the like or created by a personal computer (hereinafter, referred to as a PC) or the like. Is known. In such a printer, image data is read from an external memory mounted in the slot, and the read image data can be printed. Further, there is a so-called multi-function printer in which such a printer is combined with a document reading device capable of reading a document. Some of such multifunctional printers are used as PC printers or as PC scanners by being connected to a PC. Further, there is a printer having a function of using an external memory of a multi-function printer as a virtual drive of a PC.
[0003]
However, such a multifunctional printer does not have a function of directly storing image data corresponding to a document read by the document reading device in an external memory, despite having a document reading device. Therefore, in order to store such image data in the external memory, the following complicated procedure has to be taken. That is, first, a multifunction printer is used as a scanner of the PC, and the original is read by the original reading device, so that image data corresponding to the original is taken into a storage medium (for example, a hard disk) inside the PC. Thereafter, the PC uses the external memory as its own virtual drive to transfer the captured image data to the external memory of the multi-function printer.
[0004]
[Problems to be solved by the invention]
Therefore, assuming that such a multi-function printer has a function of directly storing image data corresponding to a document read by a document reading device in an external memory, the following problem may occur. That is, since image data corresponding to a document read by the document reading device is expected to be created as a new file for each page, operations such as file specification become complicated when the document covers a plurality of pages. In addition, it is very inconvenient to check all documents. Therefore, there is a problem that file management becomes complicated and image data is difficult to manage.
[0005]
Accordingly, the present invention provides an image data processing apparatus that has a function of directly storing image data corresponding to a document read by a document reading device in an external memory and that can easily manage a file even when the document extends over a plurality of pages. provide.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, the present invention has the following configurations. In addition, in order to facilitate understanding of the present invention, reference numerals in the accompanying drawings are added in parentheses, but the present invention is not limited to the illustrated embodiment.
[0007]
An image data processing apparatus (100) according to the present invention includes: a document reading unit (2, 3, 4, 5, 6) for reading a document image and creating first image data in a predetermined data format; File conversion means (2, 3, 4, 5) for converting image data into a file of a predetermined format; and memory (4a, 18-20) capable of storing at least the file converted by the file conversion means. The first image data newly created by the document reading means is successively added as the next page to the end of the file of the predetermined format previously stored in the memory and stored. Storage means (2, 3, 4, 5, 10, 11 to 13).
[0008]
According to this image data processing device, new first image data can be continuously added as a next page to a file of a predetermined format stored in a memory in advance, and stored as one file. it can.
[0009]
Further, it is preferable that the memory can also store the image data of the predetermined data format.
[0010]
With this configuration, not only a file in a predetermined format but also image data in a predetermined data format can be stored in the memory, so that the memory can be used effectively.
[0011]
Further, when only image data of a predetermined data format is present in the memory in advance, the file conversion means converts the image data into a file of the predetermined format, and the storage means It is desirable that the newly created first image data be continuously added to the end of the file as the next page and stored.
[0012]
According to this structure, when only image data of a predetermined data format exists in the external memory in advance, the image data is converted into a file of the predetermined format by the file conversion unit, and then the end of the converted file is converted. , New first image data can be continuously added as the next page, and stored as one file.
[0013]
If neither the image data in the predetermined data format nor the file in the predetermined format exists in the memory, only the newly created first image data is stored in the memory by the storage unit. It is desirable.
[0014]
With this configuration, if no image data or file is stored in the external memory, the new first image data is stored in the external memory as image data in a predetermined data format or as a file in a predetermined format. can do.
[0015]
Further, the apparatus further comprises file designating means (2, 3, 4, 5, 7, 8, 9) for designating a specific file among the plurality of files previously stored in the memory. When a specific file is designated by the above, the storage means continuously adds the newly created first image data as the next page to the end of the designated specific file. It is desirable to memorize.
[0016]
With this configuration, even if a plurality of files are stored in the memory in advance, the user specifies a specific file from the file using the file specifying unit, and a new file is added only at the end of the specified file. By successively adding the first image data as the next page, it can be stored as a single file.
[0017]
When the specific file is not specified by the file specifying means, the newly created first image data is stored in the storage means as image data of a predetermined data format or as a file of a predetermined format. It can be stored in memory.
[0018]
With this configuration, even when a plurality of files in a predetermined format are stored in the external memory in advance, if no file is specified by the user, only new image data is specified. Can be stored in the memory.
[0019]
The image processing apparatus further includes image data designating means (2, 3, 4, 5, 7, 8, 9) for designating specific image data among the plurality of image data previously stored in the memory. When the specific image data is specified by the image data specifying unit, the file conversion unit converts the specified specific image data into a file of the predetermined format, and the storage unit stores It is desirable that the newly created first image data be continuously added to and stored as the next page with respect to the end of.
[0020]
With this configuration, even if a plurality of image data is stored in the memory in advance, the specific image data specified by the user is converted into a file of a predetermined format, and a new file is added to the end of the file. Image data can be continuously added as the next page and stored as a single file.
[0021]
Further, when the specific image data is not specified by the image data specifying means, it is preferable that only the newly created first image data is stored in the memory by the storage means.
[0022]
With this configuration, even if a plurality of image data are stored in the memory in advance, if no image data is specified by the user, only the new first image data is stored in the memory in a predetermined format. Can be stored.
[0023]
Further, it is preferable that the storage unit stores the newly created first image data in the memory as it is.
[0024]
With this configuration, for example, when nothing is stored in the memory in advance, only the image data can be newly stored.
[0025]
Further, it is preferable that after the file conversion means converts the newly created first image data into a file of a predetermined format, the storage means stores the file in the memory.
[0026]
Further, the original reading means can create image data of a predetermined data format having an area of 1 / N of one page. The image processing apparatus may further include Nin1 image data forming means (2, 3, 4, 5) for forming the second image data.
[0027]
With this configuration, when only new image data is stored in the memory, Nin1 image data can be created as new image data, and a plurality of image data can be converted into one image data or a plurality of image data. In one file, and image data can be easily managed.
[0028]
A Nin1 instruction input unit (2, 3, 4, 5, 7, 8, 9) for inputting an instruction by the user as to whether or not the Nin1 image data forming unit forms the second image data; Counting means (2, 3, 4, 5) for counting the number of the documents newly read by the document reading means, wherein a user causes the Nin1 image data forming means to form second image data. Is input to the Nin1 instruction input means, the document reading means creates image data of a predetermined data format having an area of 1 / N of one page, and the number of the document counted by the counting means is N. If the number is larger than the number of sheets, the file converting means converts the second image data formed by the Nin1 image data forming means into a file of a predetermined format, and the storage means stores the second image data in the second format. It is desirable to store the image data in the memory.
[0029]
With this configuration, when there are a plurality of read originals, the user can instruct whether or not to form predetermined Nin1 image data. More specifically, the number of newly read originals is counted, and if the number is single, new image data is stored in the memory as image data. On the other hand, if the number of originals to be read is plural, new image data is reduced to reduced image data of a predetermined Nin1 format, and a plurality of image data read by the original reading means are merged to obtain a predetermined Nin1 format. And if the number of documents is greater than N, it can be stored in the memory as one file.
[0030]
Further, the original reading means can create image data of a predetermined data format having an area of 1 / N of one page. It is desirable to have Nin1 image data forming means (2, 3, 4, 5) for forming the second image data.
[0031]
With such a configuration, Nin1 image data can be created as new image data, and the Nin1 image data can be collectively stored in a single file in a memory, and image data can be easily managed.
[0032]
Further, there is provided Nin1 instruction input means (2, 3, 4, 5, 7, 8, 9) for inputting an instruction by a user as to whether or not the Nin1 image data forming means should form second image data. If the user has instructed the Nin1 image data forming means to form the second image data on the Nin1 instruction input means, the original reading means has an area of 1 / N of one page. The image data of a predetermined data format is created, and the storage means stores the second image data formed by the Nin1 image data forming means at the end of the file of the predetermined format previously stored in the memory. On the other hand, it is desirable to continuously add and store the next page.
[0033]
With this configuration, new image data can be continuously added as the next page to the end of the Nin1 format file stored in advance in the memory, and can be stored in the memory as one file.
[0034]
Further, it is desirable to provide N instructing means (2, 3, 4, 5, 7, 8, 9) for instructing the Nin1 image data forming means with a positive number N.
[0035]
With this configuration, the number of image data to be merged into one page can be set according to the user's request.
[0036]
A designation unit (2, 3, 4, 5, 7, 8, 9) for designating one image data or file among image data or files stored in advance in the memory; Determining means (2, 3, 4, 5) for determining whether the specified data is image data or a file, wherein the determining means determines whether the specified file is a file. If it is determined that the first image data is newly stored, the newly created first image data may be continuously added as the next page to the end of the designated file and stored. desirable.
[0037]
According to this structure, even if a plurality of image data or files are stored in the memory in advance, a specific file can be specified by the specifying means, so that new image data is designated as one file for the specified file. I can remember.
[0038]
Further, when the determining unit determines that the image data is specified by the specifying unit, the file converting unit converts the specified image data into a file of a predetermined format, It is preferable that the storage means continuously adds the newly created first image data as the next page to the end of the converted file and stores it.
[0039]
With this configuration, even if the image data is specified by the specifying unit, the image data is converted into a file of a predetermined format by the file converting unit, and the converted file is added to the end of the converted file. On the other hand, by continuously adding new image data as the next page, it can be stored as a single file.
[0040]
An image data name input designating means (2, 3, 4, 5, 7, 8, 9) for input designating a name of the first image data created by the document reading means; Detecting means (2, 3, 4, 5) for detecting the name of a file already existing in the file, and the same name as the name input and specified by the image data name input specifying means based on the detection result of the detecting means When the file exists, it is preferable that the storage unit successively adds and stores the first image data as a next page to the end of the file.
[0041]
With this configuration, even if a plurality of files are stored in the memory in advance, the file having the same name is extracted by inputting the name of the image data by the image data name input designating means, and the end of the file is extracted. On the other hand, by continuously adding image data as the next page, the image data can be stored as one integrated file.
[0042]
If there is no file in the memory having the same name as the name input and specified by the image data name input specifying means, the storage means stores only the first image data in the image data name specification. It is desirable to store in the memory under the name specified by the means.
[0043]
With this configuration, even when there is no file having the same name as the name specified by the image data name input unit, the image data can be stored in the memory with the name specified by the input.
[0044]
Further, it is desirable to have a selection means (2, 3, 4, 5, 7, 8, 9) for selecting the predetermined data format.
[0045]
With this configuration, the data format for storing the image data can be specified as desired by the user.
[0046]
Image data name input designation means (2, 3, 4, 5, 7, 8, 9) for inputting a name of new image data and designating a specific file or image data; Detecting means (2, 3, 4, 5) for detecting a file or image data having the same name as the name of the new image data input by the input specifying means; If a file or image data having the same name as the input new image data name exists in the memory, the new image data is stored in addition to the file or image data detected by the detection unit. It is desirable.
[0047]
According to this structure, when a file and / or image data having the same name as the new image data input by the user exists in the memory, the file and / or image data having the same name are added to the end of the file. New image data can be added and stored as one file in the memory.
[0048]
In addition, notification means (2, 3, 4, 5, 7, 8, 9) for notifying the user and addition destination selection means (2, 3, 4, 5) for selecting an addition destination of the image data. , 7, 8, 9), and when there are a plurality of files or image data in the memory having the same name as the name of the new image data input by the image data name input designating means, the notification is made. It is preferable that the user is notified by means, the addition destination selection means selects the addition destination, and the new image data is added to the selected addition destination and stored.
[0049]
According to this configuration, when a file and / or image data having the same name as the name of the new image data input by the user exists in the memory, the user can select the addition destination. Also, new image data can be added to the end of the file and / or image data selected by the user, and stored as one file in the memory.
[0050]
Further, when a file or image data having the same name as the name of the new image data input by the image data name input designating means does not exist in the memory, the new image data is stored in the image data name input designating means. It is desirable to store the new image data in the memory with the name of the new image data input by the above-mentioned method.
[0051]
According to this structure, when a file and / or image data having the same name as the name of the new image data input by the user does not exist in the external memory, the name of the new image data is input. Can be stored in the memory.
[0052]
An external memory for detachably mounting an external memory for storing the image data or the file, wherein the memory is mounted on the external memory mounting means; Desirably, it is an external memory (18, 19, 20).
[0053]
With this configuration, image data created by reading a document by the document reading unit can be stored in a removable external memory.
[0054]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a plurality of embodiments of an image data processing device according to the present invention will be described in detail.
[0055]
FIG. 1 shows a schematic configuration of the image data processing device 100, FIG. 1A is a block diagram, and FIG. 1B is a diagram showing a configuration of a keyboard. First, the overall schematic configuration of the image data processing apparatus 100 will be described. In addition, the image data processing apparatus 100 of the present embodiment can directly store the image data read by the document reading unit 6 in an external storage medium in accordance with an instruction input and designated by the user from the keyboard 9 serving as an operation unit. In this case, new image data can be continuously added to the end of a file in a predetermined format. In the present embodiment, image data refers to data corresponding to an image of a document read by the document reading unit 6, and specifically, JPEG (Joint Photographic Experts Group), GIF (Graphic Interchange Format), TIFF (TIFF). Tagged Image File Format, PNG (Portable Network Graphics), and BMP (BIT MAP). In this embodiment, a file in a predetermined format refers to a data file capable of treating encoded data for a plurality of pages as one unit. Specifically, a PDF (Portable Document Format) file is used. Say. The PDF file is a format proposed by Adobe. However, a file other than the PDF format may be used as long as encoded data for a plurality of pages can be handled as one unit and new image data can be added as a subsequent page to the end of the image data.
[0056]
As shown in FIG. 1A, the image data processing apparatus includes, via a bus 1, a CPU (Central Processing Unit) 2 as a control unit, and a ROM (Read Only Memory) for storing a control program, data, and the like. 3 and a RAM (Random Access Memory) 4, an ASIC (Application Specific Integrated Circuit) 5, and a MODEM 16 are electrically connected to each other. The RAM 4 has a storage unit functioning as an internal memory 4a, and a Nin1 flag storage area 4b set by a user. In the Nin1 flag storage area 4b, "1" is stored when the Nin1 flag is set on by the user, and "0" is stored when the Nin1 flag is set off. The ASIC 5 includes an original reading unit 6 for reading an original as image data, a panel interface 7, a detachable memory interface 10, a parallel interface 14, and a USB (Universal Serial Bus) interface 15. It is connected to the. Since the document reading unit 6 of the present embodiment includes an automatic document feeder (ADF: Auto Document Feeder), a document of a plurality of pages is automatically fed one by one to a reading position of the document. However, the user may place the documents one by one on the glass surface at the reading position and read them manually. The panel interface 7 is connected with an LCD (Liquid Crystal Display) 8 for displaying necessary information to a user, and a keyboard 9 for accepting a user's operation. In addition, a first slot 11, a second slot 12, and a third slot 13 are connected to the removable memory interface 10. External storage media functioning as the first to third external memories 18 to 20 can be removably mounted in the first to third slots 11 to 13 so as to correspond to the respective slots. In the following description of the first to seventh embodiments, for simplicity, the description will be made assuming that image data is stored in only one external memory 18.
[0057]
The external storage medium is, specifically, a compact flash (R), a smart media (R), a memory stick (R), or the like. The storage medium adopted as the external storage medium is not limited to these storage media. For example, a floppy (R) disk, an MO (Magnetic Optical Disk), a CD-R (Compact Disc Recordable), a CD-RW (Compact Disc Re-Writable), a DVD-R (Digital Versatile Disc), and a DVD-R (Digital Versatile Disc RAM) Other storage media such as a Versatile Disc Random Access Memory (DVD) and a DVD-RW (Digital Versatile Disc Re-Writable) may be used. When these storage media are used, it goes without saying that the slot 11 is also constituted by a drive device corresponding to the storage medium.
[0058]
The parallel interface 14 / USB interface 15 can be connected to another electronic device by a parallel cable / USB cable when necessary. The NCU 17 is electrically connected to the ASIC 5 and the MODEM 16. NCU 17 is connected to a public telephone line.
[0059]
The keyboard 9 has various keys. Specifically, as shown in FIG. 1B, a “numeric keypad” 9a composed of number keys from 0 to 9, a “Scan To Pcc key” 9b for executing Scan To Pcc, and an item "Arrow key" 9c for selecting an item or the like, "confirmation key" 9d for specifying an item or the like, "transmission start key" 9e for starting FAX transmission, and a file / file stored in the memory. "Erase start key" 9f for erasing image data, "Nin1 key" 9g for combining a plurality of image data into one page (Nin1 process), and "Start key" 9h for starting each process And Each number key of the “numeric keypad” 9a is assigned not only a numeral but also an alphabetic character. When the user operates the “numeric keypad” 9a, the image data processing apparatus 100 can perform various settings. You can enter alphanumeric characters. Here, the “Scan To Pcc” process refers to a process of storing image data of a document read by the document reading unit 6 in an external memory. That is, when the user presses the “Scan To Pcc key” 9b, the image data corresponding to the document read by the document reading unit 6 is stored in the external memory 18 in a predetermined format.
[0060]
Next, with reference to FIG. 2 to FIG. 24, the operation of each embodiment of the image data processing device that is processed according to the instruction of the user will be described. Each operation is all related to the "Scan To Pcc" process. The processes in FIGS. 2 to 24 are executed under the control of the control unit.
[0061]
-First embodiment-
Hereinafter, a first embodiment of an image data processing device 100 according to the present invention will be described with reference to FIGS. FIG. 2 is a flowchart illustrating an execution main program according to the first embodiment. FIG. 3 is a flowchart showing a process of the external memory attachment determination process shown in S3 of FIG. FIG. 4 is a flowchart showing the process of the data format selection process shown in S4 of FIG. FIG. 5 is a screen for selecting the data format shown in S41 of FIG. FIG. 6 is a flowchart showing the processing steps of the Nin1 format setting processing. FIG. 7A is a screen for selecting a positive number N shown in S61 of FIG. 6, and FIG. 7B is displayed when N input designation of FIG. 7A is selected. Screen. FIG. 8 is a flowchart showing a process of the first name input process. FIG. 9 is a flowchart showing the processing steps of the new image data storage processing. FIG. 10 is a flowchart showing the processing steps of the external memory insertion processing.
[0062]
In FIG. 2, the user places a document on a predetermined position of the document reading unit 6 (Step 1: hereinafter, referred to as S1; other steps are the same), and presses a "ScanTo Pcc key" 9b on the keyboard 9. (S2). When the "Scan To Pcc key" 9b is pressed, the execution main program is actually started, and each process is executed.
[0063]
Next, an execution subprogram (FIG. 3) for performing the external memory attachment determination process is started (S3). In this external memory attachment determination process, it is determined whether or not the external memory 18 is attached to the first slot 11 of the image data processing device 100 and the image data corresponding to the original read by the original reading unit 6 is determined. The storage destination is set.
[0064]
First, it is determined whether or not the external memory 18 is installed in the first slot 11 (S31). If the external memory 18 is installed in the first slot 11 (S31: Yes), this execution subprogram is immediately terminated and proceeds to the next step, that is, S4 in FIG. However, if the external memory 18 is not installed in the first slot 11 (S31: No), the display asks the user that the external memory 18 is not installed and whether or not to continue the “Scan ToPcc” process. Is displayed on the LCD 8 (S32). For example, "The external memory is not installed in the slot. To continue, press the "1" key. To cancel, press the "2" key. Is displayed on the LCD 8. Next, it is determined whether or not the “Scan To Pcc” process is continued according to the user's instruction input (S33). That is, when the “1” key is input by the user (S33: Yes), the storage destination of the image data corresponding to the original read by the original reading unit 6 is provisionally set in the internal memory 4a of the RAM 4 ( S34), returning to the execution main program of FIG. On the other hand, if the "2" key is input by the user (S33: No), the "Scan To Pcc" process itself shown in FIG. 2 as well as the execution subprogram shown in FIG. 3 is ended.
[0065]
When a new image data storage destination is set in S3, an execution subprogram (FIG. 4) for executing a data format selection process is started (S4). In the data format selection process, the data format of the image data corresponding to the document read by the document reading unit 6 is set.
[0066]
First, a data format selection screen 24 including data format items as shown in FIG. 5 is displayed on the LCD 8 (S41). More specifically, for example, “0: default, 1. JPEG, 2. GIF, 3. TIFF, 4. PNG, 5. BMP” correspond to the item 25 of each data format and the item 25. An item number 26 and a cursor 27 indicating one of the items 25 are provided. Further, the default format may be predetermined in some data format at the time of shipment of the image processing apparatus, or may be configured so that the setting can be changed according to a user's instruction. The user can move the cursor 27 to the desired item 25 by using the arrow keys 9c, or use the number keys of the ten keys 9a (in this case, the number keys "0" to "5") to enter the item number of the corresponding item 25. The data format can be selected by inputting the number 26 or the like.
[0067]
Next, it is determined whether or not the data format has been selected by the user pressing one of the arrow keys 9c or one of the numeric keys “0” to “5” from the numeric keypad 9a (S42). ). When the user presses the arrow key 9c or any one of the numeric keys from “0” to “5” (S42: Yes), the process proceeds to S43, where the user presses the arrow key 9c or “0” to “5”. If none of the numeric keys has been pressed (S42: No), the process proceeds to S46. If the user presses any one of the numeric keys “6” to “9”, a negative determination is made in S42.
[0068]
When the user presses the arrow key 9c (S42: Yes), the cursor 27 in FIG. 5 moves to the next item 25 up or down according to the vertical direction of the pressed arrow key 9c. When the user presses any one of the numeric keys “0” to “5” (S42: Yes), the cursor 27 moves to the item 25 corresponding to the pressed numeric key. Next, it is determined whether or not the user presses the enter key 9d (S43). When the user presses the enter key 9d (S43: Yes), the data format of the new image data stored in the external memory 18 or the internal memory 4a is set to the data format selected in S42, and FIG. Return to the execution main program. On the other hand, if the user has not pressed the enter key 9d (S43: No), the process returns to S42.
[0069]
Further, when the user does not press any of the arrow keys 9c or any of the numeric keys of “0” to “5” (when the user presses any of the numeric keys of “6” to “9”) (S42: No), it is determined whether or not the user has pressed the enter key 9d (S46). If the user presses the enter key 9d (S46: Yes), the data format of the new image data stored in the external memory 18 or the internal memory 4a is the default data format (JPEG format in the present embodiment). (S47), and returns to the execution main program of FIG. If the user has not pressed the enter key 9d (S46: No), the process returns to S42.
[0070]
Thus, in S4, the data format of the image data (new image data) created by reading the document by the document reading unit 6 is set.
[0071]
When the data format of the new image data is set in S4, it is determined whether the "Nin1 key" 9g has been pressed by the user (S5). If the “Nin1 key” 9g has not been pressed by the user (S5: No), the process proceeds to S7. However, when it is determined that the “Nin1 key” 9g has been pressed by the user (S5: Yes), the execution subprogram for performing the Nin1 setting process shown in FIG. 6 is activated (S6). In the Nin1 setting process, the user sets a positive number N of the image data to be arranged in one page.
[0072]
First, an Nin1 designation input screen composed of Nin1 data format items composed of a predetermined positive number N is displayed on the LCD 8 (S61). Specifically, the Nin1 designation input screen includes, as shown in FIG. 7A, items 30 each including “0. Nin1 nothing, 1.2 in1, 2.4 in1, 3.8 in1, 4.16 in1”, An item 30a consisting of “5. N input designation”, an item number 31 corresponding to each item 30 and 30a, and a cursor 32 are provided. The user moves the cursor 32 to the desired item 30, 30a using the arrow keys 9c, or inputs the number 31 (in this case, “0” to “5”) of the corresponding item 30, 30a using the numeric keypad 9a. A desired item can be selected.
[0073]
It is determined whether or not the item 30, 30a has been selected by the user pressing the arrow key 9c or any of the numeric keys from "0" to "5" from the numeric keypad 9a (S62). . When the user selects one of the items 30 and 30a by pressing the arrow key 9c or one of the numeric keys from “0” to “5” (S62: Yes), the user It is determined whether or not the enter key 9d has been pressed (S63). If the user has not pressed any of the arrow keys 9c or any of the numeric keys from “0” to “5” (S62: No), S62 is repeated. Also, when the user presses any one of the numeric keys of “6” to “9”, a negative determination is made in S62.
[0074]
When the user presses the enter key 9d in a state where any item is selected (S63: Yes), the set positive number N is stored in the RAM 4 and the Nin1 flag is turned on. Is set. However, when "0. Nin1 nothing" is set, the Nin1 flag of the RAM 4 is set to the off state. Therefore, in this case, it is the same as the case where the Nin1 setting is not made. When “5. N input designation” is set, an N input screen 33 is displayed on the LCD 8 as shown in FIG. The user can set a desired value of N by inputting a predetermined positive number N using the numeric keypad 9a or the like. In this case, the set positive number N input by the user himself is stored in the RAM 4 and the Nin1 flag is set to the ON state. Then, the process returns to the execution main program of FIG. Here, the Nin1 flag being on indicates that Nin1 has been set. Specifically, when the user sets a positive number N, the flag “1” is stored in the Nin1 flag storage area 4b. If the Nin1 key 9g is not depressed in S5 of FIG. 2, the Nin1 flag remains off, indicating that Nin1 has not been set. Specifically, the flag “0” continues to be stored in the Nin1 flag storage area 4b.
[0075]
Next, it is determined whether the user has pressed the start key 9h (S7). If the start key 9h is not pressed by the user (S7: No), the process returns to S5. However, when the user presses the start key 9h (S7: Yes), the "SCAN TO PCC" process is executed based on the various settings in S3, S4 or S6.
[0076]
First, 1 is set to the parameter P indicating the number of pages of the document (S8), and the document reading unit 6 reads one page of the document (S9). This parameter P is stored in a predetermined area in the RAM 4. Next, it is determined whether or not Nin1 is currently set (S10). Specifically, this determination is made based on whether or not the Nin1 flag is on, that is, whether or not “1” is stored in the Nin1 flag storage area 4b. If Nin1 is set (S10: Yes), based on the predetermined positive number N stored in the RAM 4, image data having an area of 1 / N of the area of one page of the document is stored in S4. (S11). If Nin1 is not set (S10: No), image data of one page of the document is created in the data format set in S4 (S12).
[0077]
Next, it is determined whether reading of all pages of the document has been completed (S13). This determination is made by detecting the presence or absence of a document using a known document sensor, or by performing an input operation for reading completion by the user. If reading of all pages of the document has not been completed (S13: No), the value of parameter P representing the number of pages of the document is changed by performing an arithmetic process of adding "1" to the value of parameter P. Is performed (S14). After changing the value of the parameter P, the process returns to S9, where the document reading unit 6 reads the next one page of the document. Thus, the processing of S9 to S14 is repeated until all pages of the original placed on the original reading unit 6 are read. If the reading of the originals for all pages has been completed (S13: Yes), it is determined again whether or not the Nin1 setting has been made (S15). If Nin1 is set (S15: Yes), one page of Nin1 image data in the data format set in S4 is converted from the image data of 1 / N of the area of one page of the document created in S11. Is created (S16), and the process proceeds to S17. For example, when N = 4, image data having an area of 1/4 of one page is created in S11, and image data having an area of 1/4 of one page is used in S16 by using four pages. One page of 4-in-1 image data is created. In this case, if the image data created in S11 is within four pages, one page of 4in1 image data is created in S16, and if the image data created in S11 is more than four pages, a plurality of 4in1 image data is created in S16. Needless to say. If the image data having an area of 1/4 is less than four pages, a page of white image data is inserted. That is, when there are three pages of image data having a quarter area, white image data having a quarter area is used as the fourth page. On the other hand, if Nin1 is not set (S15: No), the process immediately proceeds to S17.
[0078]
Then, it is determined whether the PDF file is stored in the external memory 18 in advance (S17). At this time, if it is determined in S3 that the external memory 18 is not mounted, and if the user desires to continue the “Scan To Pcc” process, the PDF file is stored in the internal memory 4a in advance. Is determined. If the PDF file is stored in the external memory 18 or the internal memory 4a in advance (S17: Yes), it is determined whether the new image data created in S12 or S16 is JPEG format image data. (S18). If the new image data created in S12 or S16 is not JPEG format image data (S18: No), this image data is converted into JPEG format image data (S19), and the JPEG format image data is converted. Is added to the end of the PDF file stored in the external memory 18 or the internal memory 4a to update the PDF file, and the updated PDF file is stored again in the external memory 18 or the internal memory 4a (S20). Thus, the “Scan To Pcc” process ends.
[0079]
On the other hand, if the new image data created in S12 or S16 is JPEG format image data (S18: Yes), the JPEG format image data is stored at the end of the PDF file stored in the external memory 18 or the internal memory 4a. And the PDF file is updated, and the updated PDF file is stored in the external memory 18 or the internal memory 4a again (S20), thereby completing the “Scan To Pcc” process.
[0080]
If the PDF file is not stored in the external memory 18 or the internal memory 4a in advance (S17: No), is there any form of image data stored in the external memory 18 or the internal memory 4a in advance? It is determined whether or not it is (S21).
[0081]
If image data of any format is stored in the external memory 18 or the internal memory 4a in advance (S21: Yes), the image data created in the external memory 18 or the internal memory 4a is converted into JPEG image data. Is determined (S22). If the image data created in the external memory 18 or the internal memory 4a is JPEG format image data (S22: Yes), the process directly proceeds to S24. If the image data is not JPEG format image data (S22: No), The image data stored in the external memory 18 or the internal memory 4a is converted into JPEG image data (S23), and the process proceeds to S24.
[0082]
Then, the JPEG image data stored in the external memory 18 or the internal memory 4a is converted into a PDF file (S24), and the process proceeds to S18.
[0083]
If some form of image data is not stored in advance in the external memory 18 or the internal memory 4a (S21: No), an execution subprogram (FIG. 8) for performing the first name input processing is started. (S25). By the first name input processing, the name of the PDF file or the name of the image data when the image data read and newly created by the document reading unit 6 is stored in the external memory 18 or the internal memory 4a is set. Is done.
[0084]
In the first name input process (FIG. 8), first, a screen for inputting the name of image data (new image data) read and created by the document reading unit 6 is displayed on the LCD 8. (S81). The user can input a desired name using the keyboard 9 according to the displayed screen. Next, it is determined whether or not a key input from the numeric keypad 9a or the like has been performed by the user as the name of the new image data (S82). If the user has made a key input from the numeric keypad 9a or the like (S82: Yes), it is determined whether or not the input name has been confirmed (S83). Specifically, it is determined whether or not the user presses the enter key 9d. If it is determined that the user has pressed the enter key 9d (S83: Yes), a new image data name is set with the name input by the user, and the process returns to the execution main program of FIG. If it is not determined that the user presses the enter key 9d (S83: No), the process returns to S82.
[0085]
On the other hand, when the key input from the numeric keypad 9a or the like has not been performed by the user (S82: No), it is determined whether or not the user has pressed the enter key 9d as it is (S85). If it is determined that the user has pressed the enter key 9d as it is (S85: Yes), a name based on a predetermined serial number initial value (eg, img0001) is set as the name of the new image data. Return to the second execution main program. If it is not determined that the user presses the enter key 9d (S85: No), the process returns to S82.
[0086]
As is clear from this description, in the image data processing apparatus 100, when neither the PDF file nor any image data exists in the external memory 18 or the internal memory 4a (when nothing is stored), the image data processing apparatus 100 is used first. A new image data or PDF file name is set by the user.
[0087]
Next, an execution subprogram (FIG. 9) for newly storing and processing the image data created based on the document read by the document reading unit 6 is started (S26), and read and created by the document reading unit 6. The obtained image data is stored in the external memory 18 or the internal memory 4a as one PDF file having the name set in S25 or one image data.
[0088]
In the new image data storage process (FIG. 9), first, it is determined whether the Nin1 data format is set (S91). Specifically, it is determined whether “1” is stored in the Nin1 flag storage area 4b of the RAM 4. If "1" is stored in the Nin1 flag storage area 4b (S91: Yes), the value of the total page number P of the document stored in the RAM 4 and the value set in S6 of FIG. The value of P is compared with the value of the positive number N to determine whether the value of P is greater than the value of N (S92). If the value of P is larger than the value of N, that is, if the total number of pages of the document is larger than N (S92: Yes), the document is read and created by the document reading unit 6. It is determined whether the image data (new image data) is in the JPEG format (S93). If the new image data is in the JPEG format (S93: Yes), the new image data is converted to a PDF file (S95). If the new image data is not in the JPEG format (S93: No), the new image data is converted into the JPEG format (S94), and then converted into a PDF file (S95). Then, the name set in S25 (first name input processing) of FIG. 2 is given as the file name of the PDF file, and stored in the external memory 18 or the internal memory 4a (S96), and the execution main program of FIG. Return to
[0089]
On the other hand, if "1" is not stored in the Nin1 flag storage area 4b, it is determined whether the value of the total page number P of the document stored in the RAM 4 is 2 or more (plural) (S97). . If the value of the total page number P of the document is 2 or more (plural) (S97: Yes), the process proceeds to S93 described above, and if the value of the total page number P of the document is not 2 or more (plural) (S97: No) ), And proceed to S96. That is, in this case, there is only one document. Then, the image data created from this one document is given the name set in S25 (first name input processing) in FIG. 2 and stored as it is in the external memory 18 or the internal memory 4a as image data. Then, the process returns to the execution main program of FIG. 2 (S96).
[0090]
If the value of P is not larger than the value of N, that is, if the total number of pages of the document is equal to or smaller than N (S92: No), the process proceeds to S96. That is, the Nin1 image data created in this case is only for one page. Therefore, the Nin1 image data for one page is given the name set in S25 (first name input processing) of FIG. 2 and stored as it is in the external memory 18 or the internal memory 4a as image data (S96). ), Returning to the execution main program of FIG.
[0091]
A process when the external memory 18 is inserted into the first slot 11 during or after the “Scan To Pcc” process shown in FIG. 2 is executed will be described with reference to FIG. The execution subprogram for external memory insertion processing is started when the external memory 18 is inserted into the corresponding first slot 11.
[0092]
In this external memory insertion process (FIG. 10), first, it is determined whether a temporary PDF file or image data exists in the internal memory 4a (S101). If the temporary PDF file or the image data exists in the internal memory 4a (S101: Yes), the image data processing apparatus 100 is currently adding new image data to the PDF file in the internal memory 4a. It is determined whether or not there is, or whether the image data processing device 100 is newly storing new image data in the internal memory 4a (S102). When the image data processing apparatus 100 is adding or storing new image data to the internal memory 4a (S102: Yes), the process returns to S101. On the other hand, when the image data processing apparatus 100 is not adding or storing new image data in the internal memory 4a (S102: No), the temporary PDF file or the image data existing in the internal memory 4a is stored in the external memory 18a. (S103), and the process ends. When this process is completed, the destination of addition or storage of new image data thereafter is set in the external memory 18. Although this external memory insertion processing is not described in the second to seventh embodiments, similar to the first embodiment, when the external memory 18 is inserted into the corresponding first slot 11, Needless to say, it is also activated in the second to seventh embodiments.
[0093]
In the present embodiment, when a new image is added to a PDF file and stored, a specific image compression method (JPEG format) is used in unified manner. Since data can be additionally stored at the end as a subsequent page, for example, the GIF format can be unified and used.
[0094]
As is apparent from the above description, in the image data processing apparatus 100 according to the first embodiment, when only the PDF file is stored in the external memory 18 or the internal memory 4a in advance, a new The created JPEG format image data is added to the end of the PDF file and stored.
[0095]
When only the image data in some data format is stored in the external memory 18 or the internal memory 4a in advance, the image data in the external memory 18 or the internal memory 4a is converted into the JPEG format image data. And converted to a PDF file. Then, the newly created JPEG format image data is added to the end of the PDF file and stored.
[0096]
If a PDF file and image data in some data format exist in the external memory 18 or the internal memory 4a in advance, the PDF file is preferentially selected, and the image data newly created at the end of the PDF file is selected. Is stored.
[0097]
If neither the PDF file nor the image data is stored in the external memory 18 or the internal memory 4a in advance, the newly created image data has a new name (set in S25) in the external memory 18 or the internal memory 4a. Stored as image data or as a PDF file. If the newly created image data is for one page, it is stored in the external memory 18 or the internal memory 4a with a new name as it is (with the image data created in the set data format). On the other hand, if the newly created image data is for a plurality of pages, it is converted into a PDF file as a predetermined data format and stored in the external memory 18 or the internal memory 4a with a new name.
[0098]
-Second Embodiment-
Hereinafter, a second embodiment of the image data processing apparatus 100 according to the present invention will be described with reference to FIGS.
[0099]
FIG. 11 is a flowchart illustrating an execution main program according to the second embodiment. FIG. 12 is a flowchart illustrating a process of specifying a PDF file. FIG. 13 is a view showing the PDF file designation screen in S131 of FIG. FIG. 14 is a flowchart showing the processing steps of the new image data storage processing. FIG. 15 is a flowchart showing the processing steps of the second name input processing.
[0100]
S111 to S113 of the second embodiment (FIG. 11) are the same as S1 to S3 of the first embodiment, and thus will not be described in detail here. When S113 ends, an execution subprogram (FIG. 12) for performing a PDF file designation process is started (S114). In the PDF file specification processing, when a plurality of PDF files exist in the external memory 18 or the internal memory 4a, the user specifies a PDF file to which new image data is to be added.
[0101]
First, a PDF file selection screen 34 (FIG. 13) for specifying a plurality of PDF files stored in the external memory 18 or the internal memory 4a is displayed on the LCD 8 (S131). The PDF file selection screen 34 includes a plurality of items 35 indicating the PDF files, numbers 37 corresponding to the items 35 of each PDF file, and a cursor 38. Specifically, the PDF file item 35 is composed of a file name portion 35a and a PDF extension 35b, but the PDF extension 35b is not necessarily displayed. The user selects a desired PDF file by moving the cursor 38 to the desired PDF file item 35 by using the arrow keys 9c, or by inputting a number 37 corresponding to the corresponding PDF file item 35 by using the ten keys 9a. be able to.
[0102]
Then, it is determined whether or not the user has selected a specific PDF file using the arrow keys 9c or the numeric keypad 9a (S132). If the user presses the arrow key 9c or presses the numeric keypad 9a and inputs any of the numbers 37 (S132: Yes), it is determined whether the user has pressed the enter key 9d (S133). ). If it is determined that the user has not pressed the enter key 9d (S133: No), the process returns to S132. If it is determined that the user has pressed the determination key 9d (S133: Yes), the PDF file selected by the user in S132 is determined as a PDF file to which image data is newly added (S134), and FIG. Return to the execution main program.
[0103]
On the other hand, if the user has not pressed the arrow key 9c or the numeric keypad 9a (S132: No), it is determined whether or not the user has pressed the determination key 9d as it is (S135). If it is determined that the user has not pressed the enter key 9d (S135: No), the process returns to S132. However, when it is determined that the user has pressed the enter key 9d (S135: Yes), the execution for executing the new storage process of the image data based on the designation of the destination PDF file or the image data (FIG. 14) is performed. The subprogram is started (S136). That is, in the default state on the PDF file selection screen 34 shown in FIG. 13, the cursor 38 indicates the item 36 "new storage process", and if the user presses the enter key 9d at this stage, the user Wants to store new image data in the external memory 18 or the internal memory 4a instead of adding it to an existing PDF file. In the new image data storage processing, new image data is stored in the external memory 18 or the internal memory 4a as it is or after being converted into a PDF file.
[0104]
When the new storage process of the image data based on the designation of the addition destination PDF file or the image data in FIG. 14 is started, first, the execution subprogram for the second name input process (FIG. 15) is started ( S141). In the second name input process, for example, image data (new image data) created by reading a document by the document reading unit 6 is converted into a PDF file, or the image data is directly stored in the external memory 18 or the internal memory 4a. The name to be stored in is stored. Hereinafter, the second name input processing of FIG. 15 will be described.
[0105]
First, a screen (not shown) for inputting image data or a PDF file name to be newly stored in the external memory 18 or the internal memory 4a is displayed on the LCD 8. Next, it is determined whether or not the user has entered any number or alphabet as image data or a file name using the numeric keypad 9a or the like (S159). If it is determined that any number, alphabet, or the like has been input as the name (S159: Yes), it is further determined whether or not the user has pressed the enter key 9d (S160). If it is determined that the user presses the enter key 9d (S160: Yes), it is determined whether a PDF file or image data with the same name exists in the external memory 18 or the internal memory 4a (S161). ). If it is determined that the PDF file or the image data with the same name does not exist in the external memory 18 or the internal memory 4a (S161: No), the name input and confirmed by the user in S159 and S160 is replaced with a new name. This is set as a name for storing the image data in the external memory 18 or the internal memory 4a as a PDF file or image data as it is.
[0106]
On the other hand, if it is determined that the PDF file or the image data with the same name exists in the external memory 18 or the internal memory 4a (S161: Yes), the PDF file or the image data with the same name exists in the user. In addition to the notification, the user is asked whether or not new image data is to be added to and stored in the PDF file or the image data having the same name (S162). This notification or question is displayed on the LCD 8, for example, or is made by voice using a speaker (not shown) or the like. Next, it is determined whether or not the user has instructed addition by input from the keyboard 9 (S163). When the user rejects the addition by input from the keyboard 9 (S163: No), the process returns to S158. However, if the user approves the addition by input from the keyboard 9 (S163: Yes), the process proceeds to S134 in FIG.
[0107]
On the other hand, if it is determined that no numeral, alphabet, or the like has been input (S159: No), it is determined whether the user has pressed the enter key 9d (S165). If it is determined that the user has not pressed the enter key 9d (S165: No), the process returns to S159. However, if it is determined that the enter key 9d has been pressed by the user, that is, if the enter key 9d has been pressed without any name being input in S159 (S165: Yes), the external memory 18 Alternatively, a process of searching for a serial number name in the internal memory 4a is performed (S166). Specifically, a search is made as to whether a PDF file and / or image data with a sequentially created name exists in the external memory 18 or the internal memory 4a. Next, in the search process of the serial number name in S166, it is determined whether the PDF file or the image data of the serial number exists in the external memory 18 or the internal memory 4a (S167).
[0108]
If a PDF file or image data with a serial number name exists in the external memory 18 or the internal memory 4a (S167: Yes), the serial number having the largest value among the serial number names searched in S166. An arithmetic process of adding “1” to the last numerical value of the name is performed, and the serial number is set as a new PDF file or image data name (S168). For example, if the retrieved serial number names are “img0001” and “img0002”, “img0003” is set as the name of a new PDF file or image data. Then, the process returns to the execution subprogram of the new storage process of the image data based on the designation of the addition destination PDF file or the image data in FIG.
[0109]
On the other hand, if there is no PDF file or image data with a serial number in the external memory 18 (S167: No), the serial number with the initial value is set as a new PDF file or image data name. (S169). For example, “img0001” is set as the name of a new PDF file or image data. Then, the process returns to the execution subprogram of the new storage process of the image data based on the designation of the addition destination PDF file or the image data in FIG.
[0110]
Next, when a new name is set in the second name input process of FIG. 15, the data format selection process shown in FIG. 4 is executed (S142). However, the processing of S142 to S155 is the same as that of S4 to S16 of the first embodiment shown in FIG. 2, and thus will not be described again here. Further, the process of S156 is the same as S26 (the new image data storage process of FIG. 9) of the first embodiment shown in FIG. 2, and therefore will not be described here.
[0111]
When S156 ends, the execution main program shown in FIG. 11 also ends.
[0112]
On the other hand, when the PDF file to which new image data is added is determined in S134 of FIG. 12, the user presses the “Nin1 key” 9g in the execution main program of the second embodiment shown in FIG. It is determined whether or not it has been (S115). However, steps S115 to S126 are almost the same as steps S5 to S16 shown in FIG. 2 and will not be described again here. However, in the second embodiment, new image data is added to the end of the PDF file selected by the user, so that in S121, S122, and S126, the selection is made as in the first embodiment. Image data in the JPEG format, not the data format described above.
[0113]
Then, the image data created in S126 or the image data in JPEG format created in S122 is added and stored at the end of the PDF file specified in S114, and the process ends in the second embodiment.
[0114]
As is apparent from the above description, in the image data processing apparatus 100, when a plurality of PDF files exist in the external memory 18 or the internal memory 4a in advance, one of the PDF files is designated by the user. New image data is added to the designated PDF file and stored.
[0115]
When the user does not select a specific PDF file, new image data or a PDF file is stored in the external memory 18 or the internal memory 4a with a newly set name. In this case, when the newly created image data for one page is stored in the external memory 18 or the internal memory 4a with a new name as it is (with the image data created in the set data format). On the other hand, when the newly created image data for a plurality of pages is converted into a PDF file as a predetermined data format, it is stored in the external memory 18 or the internal memory 4a with a new name.
[0116]
-Third embodiment-
Hereinafter, a third embodiment of the image data processing device according to the present invention will be described with reference to FIGS.
[0117]
FIG. 16 is a flowchart showing the processing steps of the third embodiment. FIG. 17 is a flowchart showing the process of the image data designation process.
[0118]
First, S171 to S173 are the same as S1 to S3 of the first embodiment, and thus will not be described again here. When S173 ends, an execution subprogram for performing the image data designation process shown in FIG. 17 starts (S174). In this image data specification process, the user specifies specific image data from a plurality of image data stored in the external memory 18 or the internal memory 4a.
[0119]
In FIG. 17, first, an image data selection screen for specifying a plurality of image data stored in the external memory 18 or the internal memory 4a is displayed on the LCD 8 (S191). Here, the image data selection screen is not shown, but each item 35 in the PDF file selection screen 34 in FIG. 13 is simply replaced with the name of various image data and an extension indicating the data format.
[0120]
Next, whether or not the specific image data has been selected, that is, whether or not the user has moved the cursor to the next image data item by inputting the arrow key 9c, and It is determined whether the corresponding number has been input (S192). If the user presses the arrow key 9c or the numeric keypad 9a and inputs one of the numbers (S192: Yes), it is determined whether the user has pressed the enter key 9d (S193). . If it is determined that the user has not pressed the enter key 9d (S193: No), the process returns to S192. If it is determined that the user has pressed the determination key 9d (S193: Yes), the image data selected by the user in S192 is determined as image data to which new image data is added, and the determined image data is further determined. It is determined whether or not the data format is JPEG format (S194). If the data format of the image data determined by the user is the JPEG format (S194: Yes), the JPEG format image data is converted to a PDF file (S196). If the data format of the image data determined by the user is not the JPEG format (S194: No), the image data is converted to the JPEG format (S195), and then converted to a PDF file (S196). Then, the process returns to the execution main program of FIG.
[0121]
On the other hand, if the user has not pressed the arrow key 9c or the numeric keypad 9a (S192: No), it is determined whether or not the user has pressed the enter key 9d as it is (S197). If it is determined that the user has not pressed the enter key 9d (S197: No), the process returns to S192. However, if it is determined that the user has pressed the enter key 9d (S197: Yes), the execution for executing the new storage process of the image data based on the designation of the destination PDF file or the image data (FIG. 14) is performed. The subprogram is activated (S198). That is, in the default state on the image data selection screen, "new storage processing" is set, and if the user presses the enter key 9d at this stage, the user can transfer the new image data to the existing image data. This means that it is desired to newly store the information in the external memory 18 or the internal memory 4a instead of adding it. In this new storage process, new image data is stored in the external memory 18 or the internal memory 4a as it is or after being converted into a PDF file. The new storage processing of the image data based on the designation of the addition destination PDF file or the image data in FIG. Then, if S163 is affirmed in S141 of FIG. 14, that is, the process of the second name process of FIG. 15, the process proceeds to S194 of FIG. When S156 in FIG. 14, that is, when the new image data storage process in FIG. 9 ends, the third embodiment illustrated in FIG. 16 ends.
[0122]
When S196 ends in the image data processing of FIG. 17, it is determined whether the Nin1 key 9g has been pressed by the user (S175). Here, the processing from S175 to S186 is the same as the processing from S115 to S126 of the second embodiment, and thus will not be described in detail.
[0123]
Finally, after the image data created in S186 or the image data created in S182 is added to the end of the PDF file converted from the image data stored in the external memory 18 or the internal memory 4a and updated, The updated PDF file is stored again in the external memory 18 or the internal memory 4a, and the processing of the third embodiment ends.
[0124]
As is clear from the above description, in the image data processing apparatus 100, when a plurality of image data are stored in the external memory 18 or the internal memory 4a in advance, the user specifies the image data from the image data. Is designated, and the designated image data is converted into a predetermined format (PDF file). Further, new image data is updated by being added to the PDF file, and the updated PDF file is stored in the external memory 18 or the internal memory 4a.
[0125]
When the user does not select specific image data, new image data or a PDF file is stored in the external memory 18 or the internal memory 4a with a newly set name. In this case, when the newly created image data for one page is stored in the external memory 18 or the internal memory 4a with a new name as it is (with the image data created in the set data format). On the other hand, when the newly created image data for a plurality of pages is converted into a PDF file as a predetermined data format, it is stored in the external memory 18 or the internal memory 4a with a new name.
[0126]
-Fourth embodiment-
Hereinafter, a fourth embodiment of the image data processing device according to the present invention will be described with reference to FIGS. 18, 19, and 21. FIG. 18 is a flowchart showing the processing steps of the fourth embodiment. FIG. 19 is a flowchart showing the processing steps of the addition destination designation processing shown in S204 of FIG. FIG. 21 is a flowchart showing a process of the third name input process. Since the fourth embodiment is substantially the same as the second embodiment and the third embodiment except for S204 and S217, the description will be focused on S204 and S217.
[0127]
S201 to S203 are the same as the processing of S111 to S113 of the second embodiment and the processing of S171 to S173 of the third embodiment.
[0128]
Next, an execution subprogram for executing the addition destination designation processing (FIG. 19) is started (S204). In the designation process of the addition destination, the user designates the image data or PDF file to which new image data is to be added from among the plurality of image data or PDF files stored in the external memory 18 or the internal memory 4a.
[0129]
In FIG. 19, first, an additional destination selection screen for specifying a plurality of PDF files or image data stored in the external memory 18 or the internal memory 4a is displayed on the LCD 8 (S221). Here, an addition destination selection screen is not shown, but each item 35 in the PDF file selection screen 34 in FIG. 13 is simply replaced with various PDF files and various image data.
[0130]
Next, it is determined whether or not the specific image data or PDF file is selected, that is, whether or not the user inputs the arrow key 9c to move the cursor to the next image data item or PDF file item, and whether or not the numeric keypad 9a. It is determined whether or not a number corresponding to the corresponding image data item or PDF file has been input (S222). If the user presses the arrow key 9c or the numeric keypad 9a and inputs one of the numbers (S222: Yes), it is determined whether the user has pressed the enter key 9d (S223). . If it is determined that the user has not pressed the enter key 9d (S223: No), the process returns to S222. If it is determined that the user has pressed the enter key 9d (S223: Yes), it is determined whether the destination of the new image data is a PDF file (S226). If the destination of the new image data is a PDF file (S226: Yes), the process returns to the execution main program of FIG.
[0131]
If the destination of the new image data is not a PDF file (S226: No), it means that the destination determined in S223 is some form of image data, so that the new image data has the same name as the determined image data. It is determined whether the PDF file exists in the external memory 18 or the internal memory 4a (S227). If it is determined that a PDF file having the same name as the determined image data does not exist in the external memory 18 or the internal memory 4a (S227: No), it is determined whether the data format of the determined image data is the JPEG format. Is determined (S233). If the data format of the image data determined by the user is the JPEG format (S233: Yes), the JPEG format image data is converted to a PDF file (S235). If the data format of the image data determined by the user is not the JPEG format (S233: No), the image data is converted to the JPEG format (S234), and then converted to a PDF file (S235). Then, the process returns to the execution main program of FIG.
[0132]
On the other hand, if it is determined that a PDF file having the same name as the determined image data does not exist in the external memory 18 or the internal memory 4a (S227: No), the name of the selected image data is automatically changed. The name is changed, and the changed name is displayed on the screen (S228). For example, "Since a PDF file with the same name exists, change the name of the image data. The new name is AAA. If the name is OK, press the" 1 "key. If not, press the" 2 "key. please do it. Is displayed. As the name AAA, a name that does not exist in the external memory 18 or the internal memory 4a is displayed. Then, the user can change the name of the destination image data according to the displayed instruction.
[0133]
Next, it is determined whether the "1" key has been input by the user from the numeric keypad 9a (S229). If the "1" key is input by the user (S229: Yes), the name of the image data determined by the user in S223 is changed to the temporary name AAA currently displayed on the LCD 8 (S230), and S233 is performed. Proceed to. If the user inputs the "2" key (S229: No), it is determined whether to overwrite a newly created PDF file with a PDF file having the same name (S231). For example, "Do you want to overwrite a PDF file with the same name? Press the" 1 "key to overwrite, or press the" 2 "key to enter a new name to change the name of the selected image data instead of overwriting. please do it. Is displayed. The user can select whether to further change the name of the destination image data or overwrite the existing PDF file in accordance with the displayed instruction. If the “1” key is input by the user (S231: Yes), the process proceeds to S233, and if the “2” key is input by the user (S231: No), the execution subprogram of the third name input process Is activated (S232). The execution subprogram for the third name input process (FIG. 21) is started when the user inputs and sets a new name without overwriting the PDF file with the same name.
[0134]
In FIG. 21, first, an input screen for inputting a name is displayed on LCD 8 (S261). The user inputs a new name using the numeric keypad 9a or the like on the keyboard 9 (S262). The input name is displayed on the LCD 8. Then, it is determined whether or not the user presses the enter key 9d (S263). If the enter key 9d is not pressed by the user (S263: No), the process waits until the enter key 9d is pressed. If the user presses the enter key 9d (S263: Yes), a new name of the image data to be added is set, and the process returns to S227 of FIG.
[0135]
On the other hand, if the user has not pressed the arrow key 9c or the numeric keypad 9a (S222: No), it is determined whether or not the user has pressed the enter key 9d as it is (S224). If it is determined that the user has not pressed the enter key 9d (S224: No), the process returns to S222. However, if it is determined that the user has pressed the enter key 9d (S224: Yes), the execution for executing the new storage process of the image data based on the designation of the destination PDF file or the image data (FIG. 14) is performed. The subprogram is started (S225). That is, in the default state on the image data selection screen, "new storage processing" is set, and if the user presses the enter key 9d at this stage, the user can transfer the new image data to the existing image data. This means that it is desired to newly store the information in the external memory 18 or the internal memory 4a instead of adding it. In this new storage process, new image data is stored in the external memory 18 or the internal memory 4a as it is or after being converted into a PDF file. The new storage processing of the image data based on the designation of the addition destination PDF file or the image data in FIG. Then, if S163 is affirmed in S141 of FIG. 14, that is, the process of inputting the second name of FIG. 15, the process proceeds to S226 of FIG. In addition, when S156 in FIG. 14, that is, the new storage processing of the image data in FIG. 9 ends, the fourth embodiment illustrated in FIG. 18 ends.
[0136]
On the other hand, when the PDF file is set as the addition destination in S223 of FIG. 19, or when the image data of the addition destination is converted into the PDF file in S235, it is determined whether or not the Nin1 key 9g is pressed by the user. It is determined (S205). The processes from S205 to S216 are the same as S115 to S126 in the second embodiment and S175 to S186 in the third embodiment, and thus will not be described in detail.
[0137]
Then, at the end of the PDF file designated as the addition destination in S204 or the image data converted into the PDF file designated as the addition destination, the JPEG format image data created in S216 or the JPEG format image data created in S212 is added. This processing ends when the PDF file is updated by adding the image data and the updated PDF file is stored in the external memory 18 or the internal memory 4a (S217).
[0138]
As is apparent from the above description, the image data processing apparatus 100 is configured to store image data or PDF files stored in the external memory in advance and to read and create image data by the document reading unit 6 by the user. The destination of (new image data) is specified. If the specified destination is image data, the image data is converted to a PDF file. Then, new image data is added and stored at the end of the PDF file designated as the addition destination or the converted PDF file.
[0139]
In addition, when the destination of addition is image data, if a PDF file having the same name as the name of the image data exists in the external memory 18 or the internal memory 4a, a name candidate is automatically presented to the user. Is done. At this time, the user uses the presented name, overwrites the PDF file created by the image data designated as the addition destination on the PDF file of the same name, or inputs another new name again. Or you can choose.
[0140]
-Fifth embodiment-
Hereinafter, a fifth embodiment of the image data processing device according to the present invention will be described with reference to FIGS. FIG. 20 is a flowchart illustrating an execution main program according to the fifth embodiment. FIG. 21 is a flowchart showing a process of the third name input process as described above.
[0141]
S241 to S243 and S245 to S256 correspond to S111 to S113 and S115 to S126 of the second embodiment, S171 to S173 and S175 to S186 of the third embodiment, and S201 to S203 of the fourth embodiment. This is the same as S205 to S216. Also, S244 is the same process as S232 (FIG. 19) of the fourth embodiment, and S259 is the same process as S26 (FIG. 2) of the first embodiment. Will be described focusing on S257 and S258.
[0142]
When S255 or S256 ends, it is determined whether a PDF file having the same name as the name set in S244 exists in the external memory 18 or the internal memory 4a (S257). If a PDF file having the same name as the name set in S244 exists in the external memory 18 or the internal memory 4a (S257: Yes), the JPEG format image data created in S256 or S252 is added to the end of the PDF file. Then, the PDF file is updated, and the updated PDF file is stored in the external memory 18 or the internal memory 4a (S258), and the processing of the fifth embodiment ends. On the other hand, if a PDF file having the same name as the name set in S244 does not exist in the external memory 18 or the internal memory 4a (S257: No), an execution subprogram for newly storing and processing image data (FIG. 9) ) Is activated (S259). Since the new image data storage processing has been described above, it will not be described here. When S259 ends, the processing of the fifth embodiment ends.
[0143]
As is clear from the above description, in the image data processing apparatus 100, the name of the image data (new image data) created by reading the original by the original reading unit 6 is input by the user, If a PDF file having the same name as the above exists in the external memory 18 or the internal memory 4a, new image data is added to the PDF file to be updated, and the updated PDF file is stored in the external memory 18 or the internal memory 4a. It is memorized.
[0144]
If a PDF file having the same name as the name of the new image data input by the user does not exist in the external memory 18 or the internal memory 4a, the new image data is newly created with the name input by the user. The data is stored in the external memory 18 or the internal memory 4a as a PDF file.
[0145]
-Sixth embodiment-
Hereinafter, a sixth embodiment of the image data processing device according to the present invention will be described with reference to FIG. FIG. 22 is a flowchart showing an execution program according to the sixth embodiment.
[0146]
Since the processing of S271 to S286 is the same as the processing of S241 to S256 of the fifth embodiment, the sixth embodiment will be described focusing on S287 to S292.
[0147]
When S285 or S286 ends, it is determined whether image data having the same name as the name set in S274 exists in the external memory 18 or the internal memory 4a (S287). If image data having the same name as the name set in S274 exists in the external memory 18 or the internal memory 4a (S287: Yes), it is determined whether or not the data format of the image data is the JPEG format (S288). If the data format of the image data is the JPEG format (S288: Yes), the JPEG format image data is converted to a PDF file (S290). If the data format of the image data is not the JPEG format (S288: No), the image data is converted to the JPEG format (S289), and then converted to a PDF file (S290). The PDF file is updated by adding new image data to the end of the converted PDF file, and the updated PDF file is stored in the external memory 18 or the internal memory 4a (S291). The processing of the embodiment ends.
[0148]
On the other hand, if image data having the same name as the name set in S274 does not exist in the external memory 18 or the internal memory 4a (S287: No), an execution subprogram for newly storing and processing the image data (FIG. 9) ) Is activated (S259). Since the new image data storage processing has been described above, it will not be described here. When S259 ends, the processing of the sixth embodiment ends.
[0149]
As is apparent from the above description, the image data processing apparatus 100 reads the original by the original reading unit 6 when image data of any data format is stored in the external memory 18 or the internal memory 4a in advance. The name of the image data (new image data) created by the user is input by the user, and if the image data with the same name exists in the external memory 18 or the internal memory 4a, the image data is converted into the JPEG format. After the data conversion, the data is further converted into a PDF file, and new image data is added and stored at the end of the PDF file.
[0150]
-Seventh embodiment-
Hereinafter, a seventh embodiment of the image data processing apparatus according to the present invention will be described with reference to FIGS.
[0151]
FIGS. 23 and 24 are flowcharts showing the execution main program of the seventh embodiment.
[0152]
Since the processing of S301 to S316 is the same as the processing of S241 to S256 of the fifth embodiment and the processing of S271 to S286 of the sixth embodiment, the description of the seventh embodiment will focus on S317 and subsequent steps. I do.
[0153]
When S315 or S316 ends, it is determined whether a PDF file or image data having the same name as the name set in S304 exists in the external memory 18 or the internal memory 4a (S317). If a PDF file or image data with the same name as the name set in S304 exists in the external memory 18 or the internal memory 4a (S317: Yes), the PDF file or image data with the same name is stored in the external memory 18 or the internal memory 4a. It is determined whether or not there are a plurality of them (S319). If a plurality of PDF files or image data with the same name exist in the external memory 18 or the internal memory 4a (S319: Yes), the PDF file or image data with the same name is extracted and displayed on the LCD 8. Then, the user specifies and sets the PDF file or the image data to be added by the above-described means (S321), and proceeds to S322. On the other hand, if a plurality of PDF files or image data with the same name does not exist in the external memory 18 or the internal memory 4a (S319: No), the process skips S320 and S321 and proceeds to S322. Then, it is determined whether the destination to which the new image data is added is a PDF file (S322). If the destination to which new image data is to be added is a PDF file (S322: Yes), the process proceeds to S332, and if the destination to which new image data is to be added is not a PDF file (S322: No), the process proceeds to S323. However, S322 to S331 are the same as S226 to S235 shown in FIG.
[0154]
If the destination to which the new image data is added is a PDF file (S322: Yes), the PDF file is converted because it was set as the destination to which the new image data was added (S331). Is updated by adding new image data to the end of the file, the updated PDF file is stored in the external memory 18 or the internal memory 4a, and the process of the seventh embodiment ends.
[0155]
On the other hand, if a PDF file or image data having the same name as the name set in S304 does not exist in the external memory 18 or the internal memory 4a (S317: No), the image data new storage process shown in FIG. 9 is executed (S318). Then, the processing of the seventh embodiment ends.
[0156]
As is apparent from the above description, the image data processing apparatus 100 according to the seventh embodiment stores image data (newly read and created by the document reading unit 6 in the storage process of the document read by the document reading unit 6). User name is input by the user, and a PDF file or image data having the same name as the input new image data name is stored in the external memory 18 or the internal memory 4a. Is notified that there is a plurality of PDF files or image data having the same name, and an additional destination is selected, and new image data is added and stored in the selected additional destination (PDF file or image data). If the selected destination is a PDF file, new image data is added and stored at the end of the PDF file. If the selected destination is image data, the image data is converted into a predetermined format (for example, JPEG format) and then further converted into a PDF file, and new image data is added to the end of the converted PDF file. Added and stored.
[0157]
Further, when both the PDF file and the image data exist, it is preferable that the user makes a selection. Also, it is desirable that priorities be set in advance and selected. At this time, if the user specifies the image data as an addition destination and a PDF file having the same name as the specified image data exists, after changing the name of the specified image data, the specified image data is changed to a predetermined name. After converting to a format (for example, JPEG format) and further converting to a PDF file, new image data is added and stored at the end of the converted PDF file.
[0158]
For ease of explanation, in the present embodiment (first to seventh embodiments), the case where the number of external slots is singular (specifically, only the first slot 11 shown in FIG. 1) Although described, for example, as shown in FIG. 1, when a plurality of external slots 11 to 13 are provided and / or when a plurality of external memories 18 to 20 are mounted in the corresponding slots 11 to 13, May be set by the user selecting a specific storage destination (only a predetermined external slot and / or external memory). Alternatively, the default setting may be such that the read data is stored in all the external memories mounted in the slots in advance. In addition, by default, the read data may be set to be stored in an external memory mounted in a specific slot.
[0159]
Also, in the external memory mounting determination process shown in FIG. 3, even when the external memory 18 is mounted in the first slot 11, if the remaining amount is not sufficient, the internal memory 4a is temporarily set as the storage destination. May be set. In this case, it is desirable that a message prompting replacement of the external memory 18 be displayed on the LCD 8.
[0160]
In the above embodiment, the user specifies one image data or one PDF file as a destination to which new image data is added. However, the user is configured to be able to select a plurality of image data or PDF files. New image data may be added to all selected image data or PDF files.
[0161]
【The invention's effect】
As described above, according to the image data processing device of the present invention, the image data corresponding to the read original can be easily stored in the external memory. Further, when there are a plurality of originals, the image data can be managed as one file by using a predetermined format. Further, by using the Nin1 file format, a plurality of image data can be inserted into one page, so that the management of the image data is further facilitated.
[Brief description of the drawings]
FIG. 1 shows a schematic configuration of an image data processing apparatus according to the present invention. FIG. 1A is a block diagram, and FIG. 1B is a diagram showing a keyboard configuration.
FIG. 2 is a flowchart illustrating a processing procedure of the first embodiment.
FIG. 3 is a flowchart illustrating a process of an external memory attachment determination process.
FIG. 4 is a flowchart showing a process of a data format selection process.
FIG. 5 is a data format selection screen for selecting a data format.
FIG. 6 is a flowchart illustrating a processing procedure of a setting process in a Nin1 format.
FIG. 7 shows a setting screen of Nin1, (a) a Nin1 designation screen, and (b) an input screen of a positive number N.
FIG. 8 is a flowchart showing a process of a first name input process.
FIG. 9 is a flowchart illustrating a process of new storage processing of image data.
FIG. 10 is a flowchart showing a process of an external memory insertion process.
FIG. 11 is a flowchart illustrating a processing procedure according to the second embodiment.
FIG. 12 is a flowchart illustrating a process of specifying a PDF file.
FIG. 13 is a file selection screen for selecting a PDF file.
FIG. 14 is a flowchart showing a process of new storage processing of image data.
FIG. 15 is a flowchart showing a process of a second name input process.
FIG. 16 is a flowchart illustrating a processing procedure according to the third embodiment.
FIG. 17 is a flowchart illustrating a process of designating image data.
FIG. 18 is a flowchart illustrating a processing procedure according to the fourth embodiment.
FIG. 19 is a flowchart showing a processing procedure of an addition destination designation process.
FIG. 20 is a flowchart illustrating a processing procedure according to the fifth embodiment.
FIG. 21 is a flowchart showing a process of a third name input process.
FIG. 22 is a flowchart illustrating a processing procedure according to the sixth embodiment.
FIG. 23 is a part of a flowchart showing a processing procedure of the seventh embodiment.
FIG. 24 is a part of a flowchart showing a process of the seventh embodiment;
[Explanation of symbols]
2 CPU
3 ROM
4 RAM
4a Internal memory
4b Nin1 flag storage area
5 ASIC
6 Document reading section
8 LCD
9 Keyboard
18, 19, 20 external memory
100 Image data processing device

Claims (24)

原稿画像を読み取り、所定のデータ形式の第1の画像データを作成する原稿読取手段と、
当該第1の画像データを所定のフォーマット形式のファイルに変換可能なファイル変換手段と、
少なくとも前記ファイル変換手段により変換された前記ファイルを記憶可能なメモリと、
前記原稿読取手段により新たに作成された第1の画像データを、前記メモリ内に予め記憶されている前記所定のフォーマット形式のファイルの末尾に対して、次頁として連続的に追加して記憶する記憶手段と、
を備えていることを特徴とする画像データ処理装置。
Document reading means for reading a document image and creating first image data in a predetermined data format;
File conversion means for converting the first image data into a file in a predetermined format;
A memory capable of storing at least the file converted by the file conversion means,
The first image data newly created by the document reading means is successively added and stored as the next page to the end of the file of the predetermined format previously stored in the memory. Storage means;
An image data processing device comprising:
前記メモリは、所定のデータ形式の画像データも記憶可能であることを特徴とする請求項1に記載の画像データ処理装置。2. The image data processing apparatus according to claim 1, wherein the memory is capable of storing image data of a predetermined data format. 前記メモリ内に予め所定のデータ形式の画像データのみが存在している場合は、前記ファイル変換手段は、当該画像データを前記所定のフォーマット形式のファイルに変換し、前記記憶手段は、当該ファイルの末尾に対して前記新たに作成された第1の画像データを次頁として連続的に追加して記憶することを特徴とする請求項2に記載の画像データ処理装置。When only image data of a predetermined data format is present in the memory in advance, the file conversion unit converts the image data to a file of the predetermined format, and the storage unit stores 3. The image data processing apparatus according to claim 2, wherein the newly created first image data is continuously added to the end as a next page and stored. 前記メモリ内に予め所定のデータ形式の画像データも所定のフォーマット形式のファイルも存在しない場合は、前記新たに作成された第1の画像データのみが前記記憶手段により前記メモリに記憶されることを特徴とする請求項1、又は請求項2に記載の画像データ処理装置。If neither the image data of the predetermined data format nor the file of the predetermined format exists in the memory in advance, it is determined that only the newly created first image data is stored in the memory by the storage unit. The image data processing device according to claim 1 or 2, wherein 更に、前記メモリに予め複数記憶されている前記ファイルのうち特定のファイルを指定するためのファイル指定手段を備え、
当該ファイル指定手段により特定のファイルが指定された場合には、前記記憶手段は、前記指定された特定のファイルの末尾に対して前記新たに作成された第1の画像データを次頁として連続的に追加して記憶することを特徴とする請求項1、又は請求項2に記載の画像データ処理装置。
Further, a file specifying means for specifying a specific file among the plurality of files stored in advance in the memory,
When a specific file is designated by the file designating means, the storage means continuously stores the newly created first image data as the next page at the end of the designated specific file. The image data processing apparatus according to claim 1, wherein the image data is stored in addition to the image data.
前記ファイル指定手段により特定のファイルが指定されなかった場合には、前記新たに作成された第1の画像データのみが前記記憶手段により前記メモリに記憶されることを特徴とする請求項5に記載の画像データ処理装置。6. The storage device according to claim 5, wherein when the specific file is not specified by the file specifying unit, only the newly created first image data is stored in the memory by the storage unit. Image data processing device. 更に、前記メモリに予め複数記憶されている前記画像データのうち特定の画像データを指定するための画像データ指定手段を備え、
前記画像データ指定手段により特定の画像データが指定された場合には、前記ファイル変換手段は、前記指定された特定の画像データを前記所定のフォーマット形式のファイルに変換し、前記記憶手段は、当該ファイルの末尾に対して前記新たに作成された第1の画像データを次頁として連続的に追加して記憶することを特徴とする請求項2に記載の画像データ処理装置。
Further, an image data specifying means for specifying a specific image data among the image data stored in advance in the memory,
When the specific image data is specified by the image data specification unit, the file conversion unit converts the specified specific image data into a file of the predetermined format, and the storage unit performs 3. The image data processing apparatus according to claim 2, wherein the newly created first image data is continuously added to the end of the file as a next page and stored.
前記画像データ指定手段により特定の画像データが指定されなかった場合には、前記新たに作成された第1の画像データのみが前記記憶手段により前記メモリに記憶されることを特徴とする請求項7に記載の画像データ処理装置。8. The method according to claim 7, wherein when the specific image data is not specified by the image data specifying unit, only the newly created first image data is stored in the memory by the storage unit. 3. The image data processing device according to claim 1. 前記記憶手段は、前記新たに作成された第1の画像データをそのまま前記メモリに記憶することを特徴とする請求項4、請求項6、請求項8のいずれか1項に記載の画像データ処理装置。9. The image data processing apparatus according to claim 4, wherein the storage unit stores the newly created first image data in the memory as it is. apparatus. 前記ファイル変換手段が前記新たに作成された第1の画像データを所定のフォーマット形式のファイルに変換した後、前記記憶手段は当該ファイルを前記メモリに記憶することを特徴とする請求項4、請求項6、請求項8のいずれか1項に記載の画像データ処理装置。5. The storage device according to claim 4, wherein after the file conversion unit converts the newly created first image data into a file of a predetermined format, the storage unit stores the file in the memory. The image data processing device according to claim 6. 前記原稿読取手段は1頁の1/Nの面積の所定のデータ形式の画像データを作成可能であり、この1頁の1/Nの面積の画像データを複数併合してNin1形式の第2の画像データを形成するNin1画像データ形成手段を更に備えていることを特徴とする請求項4、請求項6、請求項8のいずれか1項に記載の画像データ処理装置。The original reading means is capable of creating image data of a predetermined data format having an area of 1 / N of one page, and merging a plurality of image data of an area of 1 / N of one page into a second Nin1 format. 9. The image data processing apparatus according to claim 4, further comprising Nin1 image data forming means for forming image data. 更に、前記Nin1画像データ形成手段に第2の画像データを形成させるか否かを使用者が指示入力するNin1指示入力手段と、
前記原稿読取手段が新たに読み取る前記原稿の枚数を計数する計数手段と、を備え、使用者が前記Nin1画像データ形成手段に第2の画像データを形成させることを前記Nin1指示入力手段に指示入力することで前記原稿読取手段が1頁の1/Nの面積の所定のデータ形式の画像データを作成し、且つ前記計数手段が計数した前記原稿の枚数がN枚より大きい場合には、前記ファイル変換手段は、前記Nin1画像データ形成手段が形成した第2の画像データを所定のフォーマット形式のファイルに変換するとともに、前記記憶手段はこの変換されたファイルを前記メモリに記憶することを特徴とする請求項11に記載の画像データ処理装置。
A Nin1 instruction input unit for instructing the user to input whether the Nin1 image data forming unit forms the second image data;
Counting means for counting the number of sheets of the document newly read by the document reading means, wherein the user inputs an instruction to the Nin1 instruction input means to cause the Nin1 image data forming means to form second image data. When the document reading means creates image data of a predetermined data format having an area of 1 / N of one page, and the number of documents counted by the counting means is larger than N, The converting means converts the second image data formed by the Nin1 image data forming means into a file of a predetermined format, and the storage means stores the converted file in the memory. The image data processing device according to claim 11.
前記原稿読取手段は1頁の1/Nの面積の所定のデータ形式の画像データを作成可能であり、この1頁の1/Nの面積の画像データを複数併合してNin1形式の第2の画像データを形成するNin1画像データ形成手段を更に備えていることを特徴とする請求項1に記載の画像データ処理装置。The original reading means is capable of creating image data of a predetermined data format having an area of 1 / N of one page, and merging a plurality of image data of an area of 1 / N of one page into a second Nin1 format. 2. The image data processing apparatus according to claim 1, further comprising a Nin1 image data forming unit for forming image data. 更に、前記Nin1画像データ形成手段に第2の画像データを形成させるか否かを使用者が指示入力するNin1指示入力手段を備え、
使用者が前記Nin1画像データ形成手段に第2の画像データを形成させることを前記Nin1指示入力手段に指示入力している場合には、前記原稿読取手段は1頁の1/Nの面積の所定のデータ形式の画像データを作成するとともに、前記記憶手段は前記Nin1画像データ形成手段により形成された第2の画像データを前記メモリ内に予め記憶されている前記所定のフォーマット形式のファイルの末尾に対して、次頁として連続的に追加して記憶することを特徴とする請求項13に記載の画像データ処理装置。
Further, there is provided a Nin1 instruction input means for inputting an instruction by a user as to whether or not the Nin1 image data forming means should form second image data,
If the user has instructed the Nin1 image data forming means to form the second image data into the Nin1 instruction input means, the document reading means will determine a predetermined area of 1 / N of one page. And the storage means stores the second image data formed by the Nin1 image data forming means at the end of the file of the predetermined format previously stored in the memory. 14. The image data processing apparatus according to claim 13, wherein the image data is successively added and stored as a next page.
前記Nin1画像データ形成手段に対し、正数Nを指示するためのN指示手段を備えていることを特徴とする請求項11又は請求項13に記載の画像データ処理装置。14. The image data processing apparatus according to claim 11, further comprising N instructing means for instructing the Nin1 image data forming means to indicate a positive number N. 更に、前記メモリに予め記憶されている画像データ又はファイルのうち特定の画像データ又はファイルを指定するための指定手段と、
当該指定手段により指定されたのが画像データであるかファイルであるかを判断するための判断手段と、を備え、
当該判断手段が、前記指定手段により指定されたのがファイルであると判断した場合には、前記記憶手段は、前記新たに作成された第1の画像データを当該指定されたファイルの末尾に対して、次頁として連続的に追加して記憶することを特徴とする請求項2に記載の画像データ処理装置。
Further, a designation unit for designating specific image data or file among image data or files stored in advance in the memory,
Determining means for determining whether the specified means is image data or a file,
When the determining unit determines that the file specified by the specifying unit is a file, the storage unit stores the newly created first image data in the end of the specified file. 3. The image data processing apparatus according to claim 2, wherein the image data is successively added and stored as a next page.
前記判断手段が、前記指定手段により指定されたのが画像データであると判断した場合には、前記ファイル変換手段は指定された画像データを所定のフォーマット形式のファイルに変換した後、前記記憶手段が、前記新たに作成された第1の画像データを当該変換されたファイルの末尾に対して、次頁として連続的に追加して記憶することを特徴とする請求項16に記載の画像データ処理装置。When the determining unit determines that the image data is specified by the specifying unit, the file converting unit converts the specified image data into a file of a predetermined format, and then stores the image data in the storage unit. 17. The image data processing according to claim 16, wherein the newly created first image data is continuously added to the end of the converted file as a next page and stored. apparatus. 更に、前記原稿読取手段が作成した前記第1の画像データの名称を入力指定するための画像データ名称入力指定手段と、
前記メモリ内に既に存在するファイルの名称を検知する検知手段と、
当該検知手段の検知結果に基づき、前記画像データ名称入力指定手段によって入力指定された名称と同一の名称のファイルが存在する場合には、前記記憶手段は前記第1の画像データを前記ファイルの末尾に対して、次頁として連続的に追加して記憶することを特徴とする請求項1に記載の画像データ処理装置。
Further, image data name input designation means for input designation of the name of the first image data created by the document reading means,
Detecting means for detecting the name of a file already existing in the memory;
If a file having the same name as the name input and designated by the image data name input designation means exists based on the detection result of the detection means, the storage means stores the first image data at the end of the file. 2. The image data processing apparatus according to claim 1, wherein the image data is successively added as the next page and stored.
前記メモリ内に、前記画像データ名称入力指定手段によって入力指定された名称と同一の名称を持つファイルが存在しない場合には、前記記憶手段は、前記第1の画像データのみを前記画像データ名称指定手段によって指定された名称にて前記メモリに記憶することを特徴とする請求項18に記載の画像データ処理装置。If there is no file in the memory having the same name as the name input and specified by the image data name input specifying unit, the storage unit stores only the first image data in the image data name specification. 19. The image data processing device according to claim 18, wherein the image data is stored in the memory under a name designated by a means. 前記所定のデータ形式を選択する選択手段を備えることを特徴とする請求項1に記載の画像データ処理装置。2. The image data processing apparatus according to claim 1, further comprising a selection unit that selects the predetermined data format. 新たな画像データの名称を入力して特定のファイル又は画像データを指定するための画像データ名称入力指定手段と、
前記画像データ名称入力指定手段により入力された新たな画像データの名称と同一名称のファイル又は画像データを検知するための検知手段と、を備え、
前記画像データ名称入力指定手段により入力された新たな画像データの名称と同一名称のファイル又は画像データが前記メモリ内に存在した場合は、前記新たな画像データを前記検知手段により検知されたファイル又は画像データに追加して記憶することを特徴とする請求項2に記載の画像データ処理装置。
Image data name input designation means for entering a name of new image data and designating a specific file or image data;
A detection unit for detecting a file or image data having the same name as the name of the new image data input by the image data name input designation unit,
If a file or image data having the same name as the name of the new image data input by the image data name input designating means exists in the memory, the new image data is detected by the file detected by the detecting means or 3. The image data processing apparatus according to claim 2, wherein the image data is stored in addition to the image data.
使用者に報知するための報知手段と、
画像データの追加先を選択させるための追加先選択手段と、を備え、
前記画像データ名称入力指定手段により入力された新たな画像データの名称と同一名称のファイル又は画像データが前記メモリ内に複数存在した場合は、前記報知手段により前記使用者に報知し、前記追加先選択手段に追加先を選択させ、前記選択された追加先に前記新たな画像データを追加して記憶することを特徴とする請求項21に記載の画像データ処理装置。
Notification means for notifying the user,
An addition destination selection means for selecting an addition destination of the image data,
When there are a plurality of files or image data in the memory having the same name as the new image data input by the image data name input designating means, the notifying means notifies the user and the addition destination 22. The image data processing apparatus according to claim 21, wherein a selection unit is made to select an addition destination, and the new image data is added and stored in the selected addition destination.
前記画像データ名称入力指定手段により入力された新たな画像データの名称と同一名称のファイル又は画像データが前記メモリ内に存在しない場合は、前記新たな画像データを前記画像データ名称入力指定手段により入力された新たな画像データの名称で前記メモリ内に記憶することを特徴とする請求項21に記載の画像データ処理装置。If a file or image data having the same name as the name of the new image data input by the image data name input designating means does not exist in the memory, the new image data is input by the image data name input designating means. 22. The image data processing apparatus according to claim 21, wherein a name of the new image data is stored in the memory. 前記画像データ又は前記ファイルを記憶するための外部メモリを着脱可能に装着するための外部メモリ装着手段を備え、前記メモリは前記外部メモリ装着手段に装着される前記外部メモリであることを特徴とする請求項1〜20のいずれかに記載の画像データ処理装置。An external memory mounting means for detachably mounting an external memory for storing the image data or the file is provided, wherein the memory is the external memory mounted on the external memory mounting means. The image data processing device according to claim 1.
JP2002202608A 2002-03-28 2002-07-11 Image data processing apparatus Pending JP2004048349A (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2002202608A JP2004048349A (en) 2002-07-11 2002-07-11 Image data processing apparatus
CNU032415761U CN2697728Y (en) 2002-03-28 2003-03-25 Image device with image data storage function
CNB031107427A CN100550967C (en) 2002-03-28 2003-03-25 Image device with image data storing function
AT03006959T ATE419711T1 (en) 2002-03-28 2003-03-26 IMAGE PRODUCING DEVICE WITH IMAGE DATA STORAGE FUNCTION
US10/396,344 US7911643B2 (en) 2002-03-28 2003-03-26 Imaging apparatus having image data storing function
DE60325522T DE60325522D1 (en) 2002-03-28 2003-03-26 Image forming apparatus with image data storage function
EP03006959A EP1349366B1 (en) 2002-03-28 2003-03-26 Imaging apparatus having image data storing function
HK03109295.0A HK1056959A1 (en) 2002-03-28 2003-12-22 Imaging apparatus having image data storing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002202608A JP2004048349A (en) 2002-07-11 2002-07-11 Image data processing apparatus

Publications (1)

Publication Number Publication Date
JP2004048349A true JP2004048349A (en) 2004-02-12

Family

ID=31708748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002202608A Pending JP2004048349A (en) 2002-03-28 2002-07-11 Image data processing apparatus

Country Status (1)

Country Link
JP (1) JP2004048349A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007288475A (en) * 2006-04-17 2007-11-01 Murata Mach Ltd Image reading system
JP2007288482A (en) * 2006-04-17 2007-11-01 Murata Mach Ltd Image reading system
JP2009065373A (en) * 2007-09-05 2009-03-26 Ricoh Co Ltd Information processor, information processing method, and information processing program
JP2010022046A (en) * 2009-10-16 2010-01-28 Murata Mach Ltd Image processing apparatus
US8125673B2 (en) 2005-07-15 2012-02-28 Konica Minolta Business Technologies, Inc. Image forming apparatus, recording medium including a recorded data processing program
JP2012156897A (en) * 2011-01-27 2012-08-16 Brother Ind Ltd Control device
JP2012248051A (en) * 2011-05-30 2012-12-13 Brother Ind Ltd Information processing program, information processing apparatus and information processing method
JP2016201148A (en) * 2016-08-26 2016-12-01 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing method
JP2020013595A (en) * 2019-09-04 2020-01-23 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8125673B2 (en) 2005-07-15 2012-02-28 Konica Minolta Business Technologies, Inc. Image forming apparatus, recording medium including a recorded data processing program
JP2007288482A (en) * 2006-04-17 2007-11-01 Murata Mach Ltd Image reading system
JP2007288475A (en) * 2006-04-17 2007-11-01 Murata Mach Ltd Image reading system
JP4640242B2 (en) * 2006-04-17 2011-03-02 村田機械株式会社 Image reading system
US8089643B2 (en) 2007-09-05 2012-01-03 Ricoh Company Ltd. Information processing apparatus, information processing method, and computer-readable recording medium storing information processing program
JP2009065373A (en) * 2007-09-05 2009-03-26 Ricoh Co Ltd Information processor, information processing method, and information processing program
JP2010022046A (en) * 2009-10-16 2010-01-28 Murata Mach Ltd Image processing apparatus
JP4569710B2 (en) * 2009-10-16 2010-10-27 村田機械株式会社 Image processing device
JP2012156897A (en) * 2011-01-27 2012-08-16 Brother Ind Ltd Control device
US8773742B2 (en) 2011-01-27 2014-07-08 Brother Kogyo Kabushiki Kaisha Control device for generating a file in a file format includes stored and scanned pages with electronic signature
JP2012248051A (en) * 2011-05-30 2012-12-13 Brother Ind Ltd Information processing program, information processing apparatus and information processing method
JP2016201148A (en) * 2016-08-26 2016-12-01 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing method
JP2020013595A (en) * 2019-09-04 2020-01-23 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing method

Similar Documents

Publication Publication Date Title
US9060085B2 (en) Image forming apparatus, electronic mail delivery server, and information processing apparatus
US7610274B2 (en) Method, apparatus, and program for retrieving data
JP2007034847A (en) Retrieval apparatus and retrieval method
JP2009271831A (en) Image data processing apparatus
US5991466A (en) Image retrieving apparatus
JP2004048349A (en) Image data processing apparatus
JP2010114840A (en) Image forming apparatus and confirmation system for stored image
US8867091B2 (en) Image processing system, image processing apparatus, image scanning apparatus, and control method and program for image processing system
JP2005020256A (en) Image reader and data management device
JP4320977B2 (en) Image reading apparatus, image transmission method, image transmission program, computer-readable recording medium recording image transmission program, image management apparatus, image management method, image management program, and computer-readable recording medium recording image management program
JP2003326777A (en) Imaging apparatus
JP2009239594A (en) Electronic file-generating device, electronic file generating method, and program
JP4281719B2 (en) File processing apparatus, file processing method, and file processing program
JP2007312044A (en) Information processing apparatus and control program
JP2005045774A (en) Image read apparatus, image forming apparatus equipped with the same, and scanner system
JP2010140136A (en) Image processing apparatus, image data management method, and computer program
JP3680813B2 (en) Communication device
JP4140605B2 (en) Image processing device
JP5040770B2 (en) Electronic file generation apparatus, electronic file generation method and program
JP2767808B2 (en) Image filing equipment
JP2006092492A (en) Image processing method, image processing apparatus and printing method
JP5787495B2 (en) Control device, control method, and program
JP5460109B2 (en) Image generating apparatus, control method therefor, and program
JP2004185071A (en) Image retrieval system and composite image forming apparatus
JP2010124212A (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060220

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060411

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060609

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060629

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060804