Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4942200B2 - Image processing apparatus, image processing method, and image processing program - Google Patents
[go: Go Back, main page]

JP4942200B2 - Image processing apparatus, image processing method, and image processing program - Google Patents

Image processing apparatus, image processing method, and image processing program Download PDF

Info

Publication number
JP4942200B2
JP4942200B2 JP2007315806A JP2007315806A JP4942200B2 JP 4942200 B2 JP4942200 B2 JP 4942200B2 JP 2007315806 A JP2007315806 A JP 2007315806A JP 2007315806 A JP2007315806 A JP 2007315806A JP 4942200 B2 JP4942200 B2 JP 4942200B2
Authority
JP
Japan
Prior art keywords
size
image data
change
image
forced
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.)
Expired - Fee Related
Application number
JP2007315806A
Other languages
Japanese (ja)
Other versions
JP2009141663A5 (en
JP2009141663A (en
Inventor
等 渡邊
温 稲垣
雅人 参納
平 池田
智弓 丹羽
雄一 中瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2007315806A priority Critical patent/JP4942200B2/en
Publication of JP2009141663A publication Critical patent/JP2009141663A/en
Publication of JP2009141663A5 publication Critical patent/JP2009141663A5/ja
Application granted granted Critical
Publication of JP4942200B2 publication Critical patent/JP4942200B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、記憶手段に保存された画像データを再生する画像処理装置、画像処理方法及び画像処理プログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and an image processing program for reproducing image data stored in a storage unit.

従来のこの種の画像処理装置は、記憶装置の容量の制限から該記憶装置に保存できる画像数に上限があるため、記憶装置に保存できる画像数を増やす場合には、画像データのサイズを小さいサイズに変更している(特許文献1)。
特開2005−080221号公報
This type of conventional image processing apparatus has an upper limit on the number of images that can be stored in the storage device due to the limitation of the capacity of the storage device. Therefore, when increasing the number of images that can be stored in the storage device, the size of the image data is reduced. The size is changed (Patent Document 1).
JP 2005-080221 A

ところで、画像データのサイズを小さいサイズに変更すると、画像の解像度が悪くなり、画質が低下するという弊害がある。この場合、従来においては、どの程度まで画像サイズを小さくすると画質がどの程度低下するかという指標がないため、使用者は画像サイズを小さくする試行を繰り返したり、画像サイズを小さくしすぎて画質を必要以上に低下させてしまう等の問題がある。   By the way, if the size of the image data is changed to a small size, there is a problem that the resolution of the image is deteriorated and the image quality is lowered. In this case, conventionally, there is no indication of how much the image quality is reduced when the image size is reduced, so the user repeatedly tries to reduce the image size, or the image size is reduced by reducing the image size too much. There are problems such as lowering than necessary.

そこで、本発明は、画像データをサイズ変更する際に、画像サイズを小さくする試行を繰り返したり、画像サイズを小さくしすぎて画質を必要以上に低下させてしまうことがない画像処理装置、画像処理方法及び画像処理プログラムを提供することを目的とする。   Therefore, the present invention provides an image processing apparatus and an image processing device that do not repeatedly try to reduce the image size when the image data is resized, or reduce the image size excessively by reducing the image size excessively. It is an object to provide a method and an image processing program.

上記目的を達成するために、本発明の画像処理装置は、ユーザの指示に応じて、画像データのサイズを変更する変更手段と、前記画像データの関連情報を読み出す読み出し手段と、該読み出し手段により読み出された前記関連情報に基づいて、前記変更手段によりサイズが変更される前記画像データのサイズ変更後の最小サイズを算出する算出手段と、前記変更手段によりサイズが変更される前記画像データが、前記最小サイズより小さくならないように、前記最小サイズより小さいサイズへのサイズ変更処理を抑制する制御手段と、強制サイズ変更が設定されているか否かを判定する判定手段と、を備え、前記判定手段により前記強制サイズ変更が設定されていないと判定された場合は、前記制御手段は、前記最小サイズより小さくなるサイズ変更処理を抑制し、前記判定手段により前記強制サイズ変更が設定されていると判定された場合は、前記制御手段は、変更後の画像データが前記最小サイズより小さくなる場合に警告表示を行い、サイズ変更処理の抑制は行わないことを特徴とする。 In order to achieve the above object, an image processing apparatus according to the present invention includes a changing unit that changes the size of image data in accordance with a user instruction, a reading unit that reads related information of the image data , and the reading unit. Based on the read related information, a calculation unit that calculates a minimum size of the image data whose size is changed by the changing unit, and the image data whose size is changed by the changing unit are so as not smaller than the minimum size, and a control means for suppressing the size change process to the minimum size smaller than the size, judging means for judging whether forced resizing is set, wherein the determination If it is determined by the means that the forced size change is not set, the control means determines that the subsize is smaller than the minimum size. If the determination means determines that the forced size change is set, the control means displays a warning when the changed image data is smaller than the minimum size. The size change process is not suppressed .

本発明によれば、画像データをサイズ変更する際に、その画像データに関連する情報によりユーザの目的に応じてサイズの変更に制限を加えることで、ユーザに対して変更する画像データのサイズの目安を示すことができる。これにより、画像データをサイズ変更する際に、画像サイズを小さくする試行を繰り返したり、画像サイズを小さくしすぎて画質を必要以上に低下させてしまうことを回避することができる。   According to the present invention, when changing the size of image data, the size of the image data to be changed is changed with respect to the user by limiting the size change according to the purpose of the user by information related to the image data. A rough indication can be given. Thereby, when resizing the image data, it is possible to avoid repeated attempts to reduce the image size or reducing the image size excessively to reduce the image quality more than necessary.

以下、本発明の実施形態を図を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(第1の実施形態)
図1は、本発明の第1の実施形態である画像処理装置の構成を説明するためのブロック図である。
(First embodiment)
FIG. 1 is a block diagram for explaining the configuration of an image processing apparatus according to the first embodiment of the present invention.

図1に示すように、本実施形態の画像処理装置は、カードリーダ102、IO制御部103、RAM104、制御部105、関連情報読み出し部106、最小サイズ決定部107、操作部108、表示部109、サイズ変更部110を備える。これらの各ブロックはバス101を介して互いに接続されており、ブロック間でコマンドやデータのやり取りを行なう。   As shown in FIG. 1, the image processing apparatus according to the present embodiment includes a card reader 102, an IO control unit 103, a RAM 104, a control unit 105, a related information reading unit 106, a minimum size determination unit 107, an operation unit 108, and a display unit 109. The size changing unit 110 is provided. These blocks are connected to each other via the bus 101, and exchange commands and data between the blocks.

カードリーダ102に装着されるメモリカード(記憶手段)には、複数の画像データが格納されており、メモリカードに格納された画像データは、IO制御部103を介してRAM104に読み込まれる。RAM104に読み込まれた画像データは、表示部109に表示される。表示部109に表示する画像は、操作部108を操作することで選択することができる。例えば、操作部108の不図示の画像送りキーを押すごとに次の画像データがRAM104から読み込まれて表示部109に表示される。これにより、ユーザは、メモリカードに格納された画像データから所定の画像データを選択することができる。   A memory card (storage means) attached to the card reader 102 stores a plurality of image data, and the image data stored in the memory card is read into the RAM 104 via the IO control unit 103. The image data read into the RAM 104 is displayed on the display unit 109. An image to be displayed on the display unit 109 can be selected by operating the operation unit 108. For example, every time an image feed key (not shown) of the operation unit 108 is pressed, the next image data is read from the RAM 104 and displayed on the display unit 109. Thereby, the user can select predetermined image data from the image data stored in the memory card.

操作部108での操作信号は制御部105に出力され、不図示の画像送りキーが押されると、制御部105は、IO制御部103に次の画像データを読み込むコマンドを発行する。そして、IO制御部103は、カードリーダ102を介してメモリカードの画像データをRAM104に読み込み、表示部109に表示する。   An operation signal from the operation unit 108 is output to the control unit 105, and when an image feed key (not shown) is pressed, the control unit 105 issues a command for reading the next image data to the IO control unit 103. Then, the IO control unit 103 reads the image data of the memory card into the RAM 104 via the card reader 102 and displays it on the display unit 109.

また、画像サイズの変更は、表示部109に表示している画像データに対して行なわれる。操作部108の不図示のリサイズキーを押すと表示部109に変更可能な画像サイズの一覧が表示され、操作部108の不図示の選択キーを操作して目的の画像サイズを選択する。目的の画像サイズを選択した後、操作部108の不図示の決定キーを押すと、制御部105及びサイズ変更部110による画像サイズの変更処理が実行される。   The image size is changed for the image data displayed on the display unit 109. When a resize key (not shown) of the operation unit 108 is pressed, a list of image sizes that can be changed is displayed on the display unit 109, and a target image size is selected by operating a selection key (not shown) of the operation unit 108. When a target image size is selected and then a determination key (not shown) of the operation unit 108 is pressed, an image size changing process by the control unit 105 and the size changing unit 110 is executed.

画像サイズの変更処理においては、制御部105は、RAM104に格納されている表示部109に現在表示中の画像データをサイズ変更部110に転送し、サイズ変更部110により画像サイズの変更処理が実行される。   In the image size changing process, the control unit 105 transfers the image data currently displayed on the display unit 109 stored in the RAM 104 to the size changing unit 110, and the size changing unit 110 executes the image size changing process. Is done.

また、制御部105は、画像サイズの変更後の画像データをRAM104に一時的に保持し、必要に応じてIO制御部103を介してカードリーダ102に装着されたメモリカードに保存する。   In addition, the control unit 105 temporarily stores the image data after the image size change in the RAM 104 and stores it in a memory card attached to the card reader 102 via the IO control unit 103 as necessary.

なお、操作部108の不図示のリサイズキーを押した際に表示部109に表示される変更可能な画像サイズの一覧は、予め数種類が用意されている。ここで、本実施形態では、関連情報読み出し部106にて読み出された画像データの関連情報を基に、最小サイズ決定部107にて画像の最小サイズが決定され、その最小サイズに従って、変更される画像サイズに制限が加えられることがある。詳細については後述する。   Note that several types of image size lists that can be displayed on the display unit 109 when a resize key (not shown) of the operation unit 108 is pressed are prepared in advance. Here, in this embodiment, based on the related information of the image data read by the related information reading unit 106, the minimum size of the image is determined by the minimum size determining unit 107, and is changed according to the minimum size. The image size may be limited. Details will be described later.

図2は、画像データの関連情報として印刷指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。図2での各処理は、不図示のROMやハードディスク等に記憶された処理プログラムがRAM104にロードされて、制御部105のCPU等により実行される。   FIG. 2 is a flowchart for explaining an image size changing process when there is a print designation as related information of image data. Each processing in FIG. 2 is executed by a CPU or the like of the control unit 105 by loading a processing program stored in a ROM, hard disk, or the like (not shown) into the RAM 104.

印刷指定は、メモリカードの個々の画像を印刷するためにメモリカード(記憶手段)に保持されたデータファイルで、メモリカードの画像ファイル名と印刷時の用紙サイズおよび解像度が記録されている。   The print designation is a data file held in a memory card (storage means) for printing individual images on the memory card, and records the image file name of the memory card, the paper size and resolution at the time of printing.

まず、ステップS201では、制御部105は、ユーザが表示部109に表示された画像サイズ一覧から画像サイズを選択して操作部108の決定キー(指定手段)を押し、変更後の画像サイズが指定されると、ステップS202に移行する。   First, in step S201, the control unit 105 selects an image size from the image size list displayed on the display unit 109 and presses the determination key (designating unit) of the operation unit 108, and the changed image size is designated. Then, the process proceeds to step S202.

ステップS202では、制御部105は、サイズの変更対象である画像データが印刷指定されているかを判定する。   In step S202, the control unit 105 determines whether the image data whose size is to be changed is designated for printing.

具体的には、制御部105は、関連情報読み出し部(読み出し手段)106を制御して、IO制御部103を介してカードリーダ102に装着されているメモリカードから印刷指定ファイルを読み出す。そして、制御部105は、メモリカードから読み出した印刷指定ファイルを参照して、サイズの変更対象である画像データが印刷指定されている画像データに含まれているかを判定する。   Specifically, the control unit 105 controls the related information reading unit (reading unit) 106 to read the print designation file from the memory card attached to the card reader 102 via the IO control unit 103. Then, the control unit 105 refers to the print designation file read from the memory card, and determines whether the image data whose size is to be changed is included in the image data designated for printing.

サイズ変更対象である画像データが印刷指定されていなければ、制御部105は、サイズ変更部(変更手段)110を制御してステップS201で指定された画像サイズになるように画像データのサイズ変更処理を実行して終了する(ステップS210)。   If the image data to be resized is not designated for printing, the control unit 105 controls the size changing unit (changing unit) 110 to change the size of the image data so that the image size specified in step S201 is obtained. To end (step S210).

一方、サイズ変更対象である画像データが印刷指定されていれば、ステップS203において、制御部105の制御により、最小サイズ決定部(算出手段)107が、サイズ変更後の画像サイズの下限値(最小サイズ)を算出する(ステップS204)。最小サイズ決定部107は、用紙のサイズと解像度を取得して、用紙の縦横それぞれのサイズと解像度とを乗じ、印刷に必要な画素数を算出する。   On the other hand, if the image data to be resized is designated for printing, in step S203, the minimum size determination unit (calculation unit) 107 controls the lower limit value (minimum value of the image size after the size change under the control of the control unit 105. Size) is calculated (step S204). The minimum size determination unit 107 obtains the paper size and resolution, and multiplies the paper size and resolution to calculate the number of pixels necessary for printing.

例えば、縦10cm、横15cmの用紙で解像度が300dpiであれば、縦3.937インチ、横5.906インチであるので、画素数としては縦1182ドット、横1772ドット必要である。従って、サイズ変更後の画像サイズの下限値は、1182×1772ドットとなる。   For example, if the resolution is 300 dpi and the paper is 10 cm long and 15 cm wide, it is 3.937 inches long and 5.906 inches wide, so that the number of pixels requires 1182 vertical dots and 1772 horizontal dots. Therefore, the lower limit of the image size after the size change is 1182 × 1772 dots.

次に、ステップS205では、制御部(制限手段)105は、ステップS201で指定された画像サイズがステップS204で計算したサイズ変更後の画像サイズの下限値よりも小さいかを判定する。   Next, in step S205, the control unit (limiter) 105 determines whether the image size specified in step S201 is smaller than the lower limit value of the image size after the size change calculated in step S204.

そして、ステップS201で指定された画像サイズがステップS204で計算したサイズ変更後の画像サイズの下限値よりも大きいと判定した場合は、ステップS210に移行する。ステップS210では、制御部105は、サイズ変更部110を制御してステップS201で指定された画像サイズになるように画像データのサイズ変更処理を実行して、処理を終了する。   If it is determined that the image size specified in step S201 is larger than the lower limit value of the image size after the size change calculated in step S204, the process proceeds to step S210. In step S210, the control unit 105 controls the size changing unit 110 to execute the image data size changing process so that the image size specified in step S201 is obtained, and ends the process.

一方、ステップS201で指定された画像サイズがステップS204で計算したサイズ変更後の画像サイズの下限値よりも小さいと判定した場合は、ステップS206に移行し、制御部105は、強制サイズ変更が設定されているか判定する。   On the other hand, if it is determined that the image size specified in step S201 is smaller than the lower limit value of the image size after the size change calculated in step S204, the process proceeds to step S206, and the control unit 105 sets the forced size change. It is determined whether it is done.

強制サイズ変更は、ユーザが操作部108を操作して任意に設定できるもので、強制サイズ変更が設定されていなければ、前記下限値を下回る画像サイズへの変更は許可されない。   The forced size change can be arbitrarily set by the user by operating the operation unit 108. If the forced size change is not set, a change to an image size lower than the lower limit value is not permitted.

即ち、ステップS206で、強制サイズ変更が設定されていないと判定した場合は、ステップS208にて、制御部105は、「リサイズできません」等の抑止表示となるメッセージを表示部109に表示し、処理を終了する。   That is, if it is determined in step S206 that forced size change is not set, in step S208, the control unit 105 displays a message indicating suppression display such as “cannot be resized” on the display unit 109, and processing Exit.

一方、ステップS206で、強制サイズ変更が設定されていると判定した場合は、ステップS207にて、制御部105は、「推奨リサイズ範囲を超えていますがサイズ変更を実行しますか?」等の警告メッセージを表示部109に表示し、ユーザの指示を待つ。   On the other hand, if it is determined in step S206 that forced size change has been set, in step S207, the control unit 105 indicates that “resize is exceeded but is it to be executed?” A warning message is displayed on the display unit 109 and waits for a user instruction.

次に、ステップS209では、ユーザが操作部108でサイズ変更を実行しない指示操作をした場合は、制御部105は、処理を終了する。一方、ユーザが操作部108でサイズ変更を実行する指示操作をした場合は、制御部105は、サイズ変更部110を制御してステップS201で指定された画像サイズになるように画像データのサイズ変更処理を実行して、処理を終了する(ステップS210)。   Next, in step S209, when the user performs an instruction operation not to change the size on the operation unit 108, the control unit 105 ends the process. On the other hand, when the user performs an instruction operation to change the size using the operation unit 108, the control unit 105 controls the size changing unit 110 to change the size of the image data so that the image size specified in step S201 is obtained. The process is executed and the process ends (step S210).

図3は、画像データの関連情報としてスライドショー指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。図3での各処理は、不図示のROMやハードディスク等に記憶された処理プログラムがRAM104にロードされて、制御部105のCPU等により実行される。   FIG. 3 is a flowchart for explaining an image size changing process when there is a slide show designation as related information of image data. Each processing in FIG. 3 is executed by the CPU or the like of the control unit 105 by loading a processing program stored in a ROM, hard disk, or the like (not shown) into the RAM 104.

スライドショー指定は、メモリカードの個々の画像を印刷するためにメモリカードに保持されたデータファイルで、メモリカードの画像ファイル名が再生する順番に記録されている。   The slide show designation is a data file held in the memory card for printing individual images on the memory card, and the image file names on the memory card are recorded in the order of reproduction.

まず、ステップS301では、制御部105は、ユーザが表示部109に表示された画像サイズ一覧から画像サイズを選択して操作部108の決定キーを押し、変更後の画像サイズが指定されると、ステップS302に移行する。   First, in step S301, the control unit 105 selects an image size from the image size list displayed on the display unit 109, presses the enter key of the operation unit 108, and designates the changed image size. The process proceeds to step S302.

ステップS302では、制御部105は、サイズの変更対象である画像データがスライドショー指定されているかを判定する。   In step S302, the control unit 105 determines whether the image data whose size is to be changed is designated as a slide show.

具体的には、制御部105は、関連情報読み出し部106を制御して、IO制御部103を介してカードリーダ102に装着されているメモリカードからスライドショー指定ファイルを読み出す。そして、制御部105は、メモリカードから読み出したスライドショー指定ファイルを参照して、サイズの変更対象である画像データがスライドショー指定されている画像データに含まれているかを判定する。   Specifically, the control unit 105 controls the related information reading unit 106 to read a slide show designation file from the memory card attached to the card reader 102 via the IO control unit 103. Then, the control unit 105 refers to the slide show designation file read from the memory card and determines whether the image data whose size is to be changed is included in the image data designated as the slide show.

サイズ変更対象である画像データがスライドショー指定されていなければ、制御部105は、サイズ変更部110を制御してステップS301で指定された画像サイズになるように画像データのサイズ変更処理を実行して終了する(ステップS310)。   If the image data to be resized is not designated as a slide show, the control unit 105 controls the size changing unit 110 to execute the image data size changing process so that the image size specified in step S301 is obtained. The process ends (step S310).

一方、サイズ変更対象である画像データがスライドショー指定されていれば、ステップS303において、制御部105の制御により、最小サイズ決定部107が、サイズ変更後の画像サイズの下限値(最小サイズ)を算出する(ステップS304)。最小サイズ決定部107は、表示部109の解像度を取得して、取得した解像度に基づいて、サイズ変更後の画像サイズの下限値を算出する。サイズ変更後の画像サイズの下限値は、表示部109の解像度と同一とする。   On the other hand, if the image data to be resized is designated as a slide show, the minimum size determination unit 107 calculates the lower limit value (minimum size) of the image size after the size change under the control of the control unit 105 in step S303. (Step S304). The minimum size determination unit 107 acquires the resolution of the display unit 109 and calculates the lower limit value of the image size after the size change based on the acquired resolution. The lower limit value of the image size after the size change is the same as the resolution of the display unit 109.

例えば、表示部109の解像度が縦960ドット、横1280であれば、前記下限値は960×1280ドットとなる。   For example, when the resolution of the display unit 109 is 960 dots vertically and 1280 pixels wide, the lower limit value is 960 × 1280 dots.

次に、ステップS305では、制御部105は、ステップS301で指定された画像サイズがステップS304で計算したサイズ変更後の画像サイズの下限値よりも小さいかを判定する。   Next, in step S305, the control unit 105 determines whether the image size specified in step S301 is smaller than the lower limit value of the image size after the size change calculated in step S304.

そして、ステップS301で指定された画像サイズがステップS304で計算したサイズ変更後の画像サイズの下限値よりも大きいと判定した場合は、ステップS310に移行する。ステップS310では、制御部105は、サイズ変更部110を制御してステップS301で指定された画像サイズになるように画像データのサイズ変更処理を実行して、処理を終了する。   If it is determined that the image size specified in step S301 is larger than the lower limit of the image size after the size change calculated in step S304, the process proceeds to step S310. In step S310, the control unit 105 controls the size changing unit 110 to execute the image data size changing process so that the image size specified in step S301 is obtained, and ends the process.

一方、ステップS301で指定された画像サイズがステップS304で計算したサイズ変更後の画像サイズの下限値よりも小さいと判定した場合は、ステップS306に移行し、制御部105は、強制サイズ変更が設定されているか判定する。   On the other hand, if it is determined that the image size specified in step S301 is smaller than the lower limit of the image size after the size change calculated in step S304, the process proceeds to step S306, and the control unit 105 sets the forced size change. It is determined whether it is done.

強制サイズ変更は、ユーザが操作部108を操作して任意に設定できるもので、強制サイズ変更が設定されていなければ、前記下限値を下回る画像サイズへの変更は許可されない。   The forced size change can be arbitrarily set by the user by operating the operation unit 108. If the forced size change is not set, a change to an image size lower than the lower limit value is not permitted.

即ち、ステップS306で、強制サイズ変更が設定されていないと判定した場合は、ステップS308にて、制御部105は、「リサイズできません」等の抑止表示となるメッセージを表示部109に表示し、処理を終了する。   That is, if it is determined in step S306 that forced size change is not set, in step S308, the control unit 105 displays a message indicating suppression display such as “cannot be resized” on the display unit 109, and processing Exit.

一方、ステップS306で、強制サイズ変更が設定されていると判定した場合は、ステップS307にて、制御部105は、「推奨リサイズ範囲を超えていますがサイズ変更を実行しますか?」等の警告メッセージを表示部109に表示し、ユーザの指示を待つ。   On the other hand, if it is determined in step S306 that forced size change has been set, in step S307, the control unit 105 determines that “resize is exceeded but is it to be executed?” A warning message is displayed on the display unit 109 and waits for a user instruction.

次に、ステップS309では、ユーザが操作部108でサイズ変更を実行しない指示操作をした場合は、制御部105は、処理を終了する。一方、ユーザが操作部108でサイズ変更を実行する指示操作をした場合は、制御部105は、サイズ変更部110を制御してステップS301で指定された画像サイズになるように画像データのサイズ変更処理を実行して、処理を終了する(ステップS310)。   Next, in step S309, when the user performs an instruction operation not to change the size on the operation unit 108, the control unit 105 ends the process. On the other hand, when the user performs an instruction operation to change the size using the operation unit 108, the control unit 105 controls the size changing unit 110 to change the size of the image data so that the image size specified in step S301 is obtained. The process is executed and the process is terminated (step S310).

図4は、画像データの関連情報としてトリミング指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。図4での各処理は、不図示のROMやハードディスク等に記憶された処理プログラムがRAM104にロードされて、制御部105のCPU等により実行される。   FIG. 4 is a flowchart for explaining an image size changing process when trimming is designated as related information of image data. Each process in FIG. 4 is executed by the CPU or the like of the control unit 105 by loading a processing program stored in a ROM, hard disk, or the like (not shown) into the RAM 104.

トリミング指定は、メモリカードの個々の画像を印刷するためにメモリカードに保持されたデータファイルで、メモリカードの画像ファイル名と印刷時の用紙サイズおよび解像度が記録されている。また、データファイルには、画像に対するトリミング範囲としてトリミングする矩形領域の左上のx座標及びy座標と幅と高さが記録されている。   The trimming designation is a data file held in the memory card for printing individual images on the memory card, and records the image file name of the memory card, the paper size and resolution at the time of printing. In the data file, the upper left x coordinate, y coordinate, width, and height of the rectangular area to be trimmed are recorded as the trimming range for the image.

まず、ステップS401では、制御部105は、ユーザが表示部109に表示された画像サイズ一覧から画像サイズを選択して操作部108の決定キーを押し、変更後の画像サイズが指定されると、ステップS402に移行する。   First, in step S401, the control unit 105 selects an image size from the image size list displayed on the display unit 109, presses the enter key of the operation unit 108, and designates the changed image size. The process proceeds to step S402.

ステップS402では、制御部105は、サイズの変更対象である画像データがトリミング指定されているかを判定する。   In step S402, the control unit 105 determines whether trimming is specified for the image data whose size is to be changed.

具体的には、制御部105は、関連情報読み出し部106を制御して、IO制御部103を介してカードリーダ102に装着されているメモリカードからトリミング指定ファイルを読み出す。そして、制御部105は、メモリカードから読み出したトリミング指定ファイルを参照して、サイズの変更対象である画像データがトリミング指定されている画像データに含まれているかを判定する。   Specifically, the control unit 105 controls the related information reading unit 106 to read a trimming designation file from the memory card attached to the card reader 102 via the IO control unit 103. Then, the control unit 105 refers to the trimming designation file read from the memory card and determines whether the image data whose size is to be changed is included in the image data designated for trimming.

サイズ変更対象である画像データがトリミング指定されていなければ、制御部105は、サイズ変更部110を制御してステップS401で指定された画像サイズになるように画像データのサイズ変更処理を実行して終了する(ステップS411)。   If the image data to be resized is not designated for trimming, the control unit 105 controls the size changing unit 110 to execute image data size changing processing so that the image size specified in step S401 is obtained. The process ends (step S411).

一方、サイズ変更対象である画像データがトリミング指定されていれば、制御部105の制御により、最小サイズ決定部107は、ステップS403にて、用紙サイズと解像度を取得すると共に、ステップS404にて、トリミング領域の幅と高さを取得する。   On the other hand, if the trimming is specified for the image data to be resized, under the control of the control unit 105, the minimum size determination unit 107 acquires the paper size and resolution in step S403, and in step S404, Get the width and height of the crop area.

そして、最小サイズ決定部107は、取得した用紙サイズと解像度、トリミング領域の幅と高さに基づいて、サイズ変更後の画像サイズの下限値(最小サイズ)を算出する(ステップS405)。   Then, the minimum size determination unit 107 calculates the lower limit (minimum size) of the image size after the size change based on the acquired paper size and resolution, and the width and height of the trimming area (step S405).

サイズ変更後の画像サイズの下限値は、用紙の縦横それぞれのサイズと解像度を乗じて、印刷に必要な画素数を算出し、画像のトリミング領域内にそれに必要な画素数が残るようにする。   The lower limit of the image size after the size change is obtained by multiplying the vertical and horizontal sizes and resolutions of the paper to calculate the number of pixels necessary for printing so that the necessary number of pixels remains in the trimming area of the image.

例えば、縦10cm、横15cmの用紙で解像度が300dpiであれば、縦3.937インチ、横5.906インチであるので、画素数としては縦1182ドット、横1772ドット必要である。従って、印刷に必要な画素数は1182×1772ドットとなる。   For example, if the resolution is 300 dpi and the paper is 10 cm long and 15 cm wide, it is 3.937 inches long and 5.906 inches wide, so that the number of pixels requires 1182 vertical dots and 1772 horizontal dots. Accordingly, the number of pixels necessary for printing is 1182 × 1772 dots.

一方、トリミング指定された画像全体の画素数が2304×3072ドットであり、トリミング領域が1944×2592ドットであったとする。この場合、画像サイズ変更後にトリミング領域内の画素数を1182×1772ドット以上保つためには縦方向のサイズ変更率は、1182/1994=0.593、横方向のサイズ変更率は、1772/2592=0.684である。従って、画像としては0.684のサイズ変更率が最大となり、2304×3072ドットの画像の下限値は1576×2102ドットとなる。   On the other hand, it is assumed that the total number of pixels specified for trimming is 2304 × 3072 dots and the trimming area is 1944 × 2592 dots. In this case, in order to keep the number of pixels in the trimming area after the image size is changed to 1182 × 1772 dots or more, the vertical size change rate is 1182/1994 = 0.593, and the horizontal size change rate is 1772/2592. = 0.684. Therefore, the size change rate of 0.684 is the maximum for the image, and the lower limit value of the image of 2304 × 3072 dots is 1576 × 2102 dots.

次に、ステップS406では、制御部105は、ステップS401で指定された画像サイズがステップS405で計算したサイズ変更後の画像サイズの下限値よりも小さいかを判定する。   In step S406, the control unit 105 determines whether the image size specified in step S401 is smaller than the lower limit value of the image size after the size change calculated in step S405.

そして、ステップS401で指定された画像サイズがステップS405で計算したサイズ変更後の画像サイズの下限値よりも大きいと判定した場合は、ステップS411に移行する。ステップS411では、制御部105は、サイズ変更部110を制御してステップS401で指定された画像サイズになるように画像データのサイズ変更処理を実行して、処理を終了する。   If it is determined that the image size specified in step S401 is larger than the lower limit value of the image size after the size change calculated in step S405, the process proceeds to step S411. In step S411, the control unit 105 controls the size changing unit 110 to execute the image data size changing process so that the image size specified in step S401 is obtained, and ends the process.

一方、ステップS401で指定された画像サイズがステップS405で計算したサイズ変更後の画像サイズの下限値よりも小さいと判定した場合は、ステップS407に移行し、制御部105は、強制サイズ変更が設定されているか判定する。   On the other hand, if it is determined that the image size specified in step S401 is smaller than the lower limit of the image size after the size change calculated in step S405, the process proceeds to step S407, and the control unit 105 sets the forced size change. It is determined whether it is done.

強制サイズ変更は、ユーザが操作部108を操作して任意に設定できるもので、強制サイズ変更が設定されていなければ、前記下限値を下回る画像サイズへの変更は許可されない。   The forced size change can be arbitrarily set by the user by operating the operation unit 108. If the forced size change is not set, a change to an image size lower than the lower limit value is not permitted.

即ち、ステップS407で、強制サイズ変更が設定されていないと判定した場合は、ステップS409にて、制御部105は、「リサイズできません」等の抑止表示となるメッセージを表示部109に表示し、処理を終了する。   That is, if it is determined in step S407 that forced size change has not been set, in step S409, the control unit 105 displays a message indicating suppression display such as “cannot be resized” on the display unit 109, and processing Exit.

一方、ステップS407で、強制サイズ変更が設定されていると判定した場合は、ステップS408にて、制御部105は、「推奨リサイズ範囲を超えていますがサイズ変更を実行しますか?」等の警告メッセージを表示部109に表示し、ユーザの指示を待つ。   On the other hand, if it is determined in step S407 that forced size change has been set, in step S408, the control unit 105 determines that “the recommended resizing range has been exceeded, but do you want to change the size?” A warning message is displayed on the display unit 109 and waits for a user instruction.

次に、ステップS410では、ユーザが操作部108でサイズ変更を実行しない指示操作をした場合は、制御部105は、処理を終了する。一方、ユーザが操作部108でサイズ変更を実行する指示操作をした場合は、制御部105は、サイズ変更部110を制御してステップS401で指定された画像サイズになるように画像データのサイズ変更処理を実行して、処理を終了する(ステップS411)。   Next, in step S410, when the user performs an instruction operation not to change the size on the operation unit 108, the control unit 105 ends the process. On the other hand, when the user performs an instruction operation to change the size of the operation unit 108, the control unit 105 controls the size change unit 110 to change the size of the image data so that the image size specified in step S401 is obtained. The process is executed and the process ends (step S411).

以上説明したように、本実施形態では、画像データをサイズ変更する際に、その画像データに関連する情報によりユーザの目的に応じてサイズの変更に制限を加えているので、ユーザに対して変更する画像データのサイズの目安を示すことができる。   As described above, in this embodiment, when changing the size of image data, the size change is limited according to the purpose of the user by the information related to the image data. A guide for the size of image data to be displayed can be shown.

これにより、画像データをサイズ変更する際に、画像サイズを小さくする試行を繰り返したり、画像サイズを小さくしすぎて画質を必要以上に低下させてしまうことを回避することができる。   Thereby, when resizing the image data, it is possible to avoid repeated attempts to reduce the image size or reducing the image size excessively to reduce the image quality more than necessary.

(第2の実施形態)
次に、図5及び図6を参照して、本発明の第2の実施形態である画像処理装置について説明する。なお、装置構成については上記第1の実施形態と略同様であるので、符号を流用して説明する。
(Second Embodiment)
Next, an image processing apparatus according to the second embodiment of the present invention will be described with reference to FIGS. Since the apparatus configuration is substantially the same as that of the first embodiment, description will be made using the reference numerals.

図5は、画像データの関連情報として送信指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。図5での各処理は、不図示のROMやハードディスク等に記憶された処理プログラムがRAM104にロードされて、制御部105のCPU等により実行される。   FIG. 5 is a flowchart for explaining an image size changing process when there is a transmission designation as the related information of the image data. Each processing in FIG. 5 is executed by the CPU or the like of the control unit 105 by loading a processing program stored in a ROM, hard disk, or the like (not shown) into the RAM 104.

送信指定は、メモリカード(記憶手段)の個々の画像を外部機器に送信するためにメモリカードに保持されたデータファイルで、メモリカードの画像ファイル名が記録されている。   The transmission designation is a data file held in the memory card for transmitting individual images of the memory card (storage means) to an external device, and the image file name of the memory card is recorded.

まず、ステップS500では、制御部105は、ユーザが表示部109に表示された画像サイズ一覧から画像サイズを選択して操作部108の決定キー(指定手段)を押し、変更後の画像サイズが指定されると、ステップS501に移行する。   First, in step S500, the control unit 105 selects an image size from the image size list displayed on the display unit 109 and presses the determination key (designating unit) of the operation unit 108, and the changed image size is designated. Then, the process proceeds to step S501.

ステップS501では、制御部105は、サイズ変更部(変更手段)110を制御してステップS500で指定された画像サイズになるように画像データのサイズ変更処理を実行する。   In step S501, the control unit 105 controls the size changing unit (changing unit) 110 to execute image data size changing processing so that the image size specified in step S500 is obtained.

次に、ステップS502では、制御部105は、サイズ変更対象の画像データが上書き指定されているかを判定する。   In step S502, the control unit 105 determines whether the image data to be resized is overwritten.

上書き指定されていないと判定した場合は、制御部105は、ステップS510において、サイズ変更後の画像データをメモリカード等に新規保存して終了する。   If it is determined that overwriting is not specified, the control unit 105 newly stores the image data after the size change in a memory card or the like in step S510 and ends.

一方、上書き指定されていると判定した場合は、制御部105は、ステップS503において、サイズ変更対象の画像データが送信指定されているかを判定する。   On the other hand, if it is determined that overwriting is specified, the control unit 105 determines whether transmission of image data to be resized is specified in step S503.

具体的には、制御部105は、関連情報読み出し部(読み出し手段)106を制御して、IO制御部103を介してカードリーダ102に装着されているメモリカードから送信指定ファイルを読み出す。そして、制御部(制限手段)105は、メモリカードから読み出した送信指定ファイルを参照して、サイズの変更対象である画像データが送信指定されている画像データに含まれているかを判定する。   Specifically, the control unit 105 controls the related information reading unit (reading unit) 106 to read the transmission designation file from the memory card attached to the card reader 102 via the IO control unit 103. Then, the control unit (limiter) 105 refers to the transmission designation file read from the memory card and determines whether the image data whose size is to be changed is included in the image data designated for transmission.

そして、送信指定されていないと判定した場合は、ステップS509において、制御部105は、サイズ変更後の画像データを元の画像データに上書きしてメモリカード等に保存し、処理を終了する。   If it is determined that transmission is not designated, in step S509, the control unit 105 overwrites the original image data with the image data after the size change and saves the original image data in a memory card or the like, and ends the process.

一方、送信指定されていると判定した場合は、制御部105は、ステップS504において、強制サイズ変更が設定されているか判定する。   On the other hand, if it is determined that transmission is designated, the control unit 105 determines in step S504 whether forced size change is set.

強制サイズ変更は、ユーザが操作部108を操作して任意に設定できるもので、強制サイズ変更が設定されていなければ、送信指定された画像データへの上書き保存は許可されない。   The forced size change can be arbitrarily set by the user by operating the operation unit 108. If the forced size change is not set, overwriting and saving to the image data designated for transmission is not permitted.

即ち、強制サイズ変更が設定されていないと判定した場合は、制御部105は、ステップS506にて、「送信指定されているために上書き保存はできません」等の抑止表示となるメッセージを表示部109に表示し、ステップS508に移行する。   That is, if it is determined that the forced size change is not set, the control unit 105 displays a message indicating a suppression display such as “cannot be overwritten because transmission is specified” in step S506. And the process proceeds to step S508.

ステップS508では、制御部105は、ユーザが操作部108でサイズ変更後の画像データを新規保存する操作指示をしたかを判定する。そして、新規保存が操作指示されたと判定した場合は、制御部105は、ステップS510にて、サイズ変更後の画像データをメモリカード等に新規保存して、処理を終了する。また、制御部105は、新規保存が操作指示されないと判定した場合は、処理を終了する。   In step S <b> 508, the control unit 105 determines whether the user has issued an operation instruction to newly save the image data after the size change using the operation unit 108. If it is determined that an operation instruction for new storage has been issued, the control unit 105 newly stores the image data after the size change in a memory card or the like in step S510, and ends the process. If the control unit 105 determines that an operation instruction for new storage is not given, the process ends.

一方、ステップS504において、強制サイズ変更が設定されていると判定した場合は、制御部105は、ステップS505において、「送信指定されていますが上書き保存しますか?」等の警告メッセージを表示部109に表示し、ユーザの指示を待つ。   On the other hand, if it is determined in step S504 that forced size change has been set, the control unit 105 displays a warning message such as “A transmission is designated but will it be overwritten?” In step S505. 109, and waits for a user's instruction.

ステップS507では、制御部105は、ユーザが操作部108で上書き保存を指示しているかを判定する。上書き保存が指示されていないと判定した場合は、制御部105は、ステップS510にて、サイズ変更後の画像データをメモリカード等に新規保存して、処理を終了する。一方、上書き保存が指示されていると判定した場合は、制御部105は、ステップS509にて、サイズ変更後の画像データを元の画像データに上書きしてメモリカード等に保存し、処理を終了する。   In step S <b> 507, the control unit 105 determines whether the user has instructed overwriting using the operation unit 108. If it is determined that overwriting is not instructed, the control unit 105 newly stores the image data after the size change in a memory card or the like in step S510 and ends the process. On the other hand, if it is determined that overwriting is instructed, the control unit 105 overwrites the original image data with the resized image data in step S509 and saves the original image data in a memory card or the like, and ends the processing. To do.

図6は、画像データの関連情報として保護指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。図6での各処理は、不図示のROMやハードディスク等に記憶された処理プログラムがRAM104にロードされて、制御部105のCPU等により実行される。   FIG. 6 is a flowchart for explaining the image size changing process when protection is designated as the related information of the image data. Each processing in FIG. 6 is executed by a CPU or the like of the control unit 105 by loading a processing program stored in a ROM, hard disk, or the like (not shown) into the RAM 104.

保護指定は、メモリカードの個々の画像を消去やコピーなどの操作を抑止するためにメモリカードに保持されたデータファイルで、メモリカードの画像ファイル名が記録されている。   The protection designation is a data file held in the memory card to suppress operations such as erasing and copying individual images on the memory card, and the image file name of the memory card is recorded.

まず、ステップS600では、制御部105は、ユーザが表示部109に表示された画像サイズ一覧から画像サイズを選択して操作部108の決定キーを押し、変更後の画像サイズが指定されると、ステップS601に移行する。   First, in step S600, the control unit 105 selects an image size from the image size list displayed on the display unit 109, presses the enter key of the operation unit 108, and designates the changed image size. The process proceeds to step S601.

ステップS601では、制御部105は、サイズ変更部110を制御してステップS600で指定された画像サイズになるように画像データのサイズ変更処理を実行する。   In step S601, the control unit 105 controls the size changing unit 110 to execute image data size changing processing so that the image size specified in step S600 is obtained.

次に、ステップS602では、制御部105は、サイズ変更対象の画像データが上書き指定されているかを判定する。   Next, in step S602, the control unit 105 determines whether the image data to be resized is overwritten.

上書き指定されていないと判定した場合は、制御部105は、ステップS609において、サイズ変更後の画像データをメモリカード等に新規保存して終了する。   If it is determined that overwriting is not specified, the control unit 105 newly stores the image data after the size change in a memory card or the like in step S609 and ends.

一方、上書き指定されていると判定した場合は、制御部105は、ステップS603において、サイズ変更対象の画像データが保護指定されているかを判定する。   On the other hand, if it is determined that overwriting is specified, the control unit 105 determines in step S603 whether the image data to be resized is specified for protection.

具体的には、制御部105は、関連情報読み出し部106を制御して、IO制御部103を介してカードリーダ102に装着されているメモリカードから保護指定ファイルを読み出す。そして、制御部105は、メモリカードから読み出した保護指定ファイルを参照して、サイズの変更対象である画像データが保護指定されている画像データに含まれているかを判定する。   Specifically, the control unit 105 controls the related information reading unit 106 to read out the protection designation file from the memory card attached to the card reader 102 via the IO control unit 103. Then, the control unit 105 refers to the protection designation file read from the memory card, and determines whether the image data whose size is to be changed is included in the image data designated for protection.

そして、保護指定されていないと判定した場合は、ステップS604において、制御部105は、サイズ変更後の画像データを元の画像データに上書きしてメモリカード等に保存し、処理を終了する。   If it is determined that the protection is not designated, in step S604, the control unit 105 overwrites the original image data with the resized image data and saves the original image data in a memory card or the like, and ends the process.

一方、保護指定されていると判定した場合は、制御部105は、ステップS605において、強制サイズ変更が設定されているか判定する。   On the other hand, if it is determined that protection is designated, the control unit 105 determines in step S605 whether forced size change is set.

強制サイズ変更は、ユーザが操作部108を操作して任意に設定できるもので、強制サイズ変更が設定されていなければ、保護指定された画像データのサイズ変更は許可されない。   The forced size change can be arbitrarily set by the user by operating the operation unit 108. If the forced size change is not set, the size change of the protected image data is not permitted.

即ち、強制サイズ変更が設定されていないと判定した場合は、制御部105は、ステップS607にて、「保護指定されているためにサイズ変更できません」等の抑止表示となるメッセージを表示部109に表示し、処理を終了する。   That is, if it is determined that the forced size change is not set, the control unit 105 displays a message indicating a suppression display such as “cannot be resized because protection is designated” on the display unit 109 in step S607. Display and finish the process.

一方、強制サイズ変更が設定されていると判定した場合は、制御部105は、ステップS606において、「保護指定されているので新規保存しますか?」等の警告メッセージを表示部109に表示し、ステップS608に移行する。   On the other hand, if it is determined that the forced size change is set, the control unit 105 displays a warning message such as “Would you like to save the file because protection is designated?” On the display unit 109 in step S606. Then, the process proceeds to step S608.

ステップS608では、制御部105は、ユーザが操作部108でサイズ変更後の画像データを新規保存する操作指示をしたかを判定する。そして、新規保存が操作指示されたと判定した場合は、制御部105は、ステップS609にて、サイズ変更後の画像データをメモリカード等に新規保存して、処理を終了する。また、制御部105は、新規保存が操作指示されないと判定した場合は、処理を終了する。   In step S <b> 608, the control unit 105 determines whether the user has issued an operation instruction to newly save the image data whose size has been changed using the operation unit 108. If it is determined that an operation instruction for new storage has been issued, the control unit 105 newly stores the image data after the size change in a memory card or the like in step S609, and ends the processing. If the control unit 105 determines that an operation instruction for new storage is not given, the process ends.

なお、本発明は、上記実施の形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。   In addition, this invention is not limited to what was illustrated to the said embodiment, In the range which does not deviate from the summary of this invention, it can change suitably.

また、本発明の目的は、以下の処理を実行することによって達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。    The object of the present invention is achieved by executing the following processing. That is, a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.

また、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードをネットワークを介してダウンロードしてもよい。   Moreover, the following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.

また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現される場合も本発明に含まれる。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, the present invention includes a case where the function of the above-described embodiment is realized by executing the program code read by the computer. In addition, an OS (operating system) running on the computer performs part or all of the actual processing based on an instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Is also included.

更に、前述した実施形態の機能が以下の処理によって実現される場合も本発明に含まれる。即ち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う場合である。   Furthermore, a case where the functions of the above-described embodiment are realized by the following processing is also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.

本発明の第1の実施形態である画像処理装置の構成を説明するためのブロック図である。It is a block diagram for demonstrating the structure of the image processing apparatus which is the 1st Embodiment of this invention. 本発明の第1の実施形態である画像処理装置において、画像データの関連情報として印刷指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。FIG. 5 is a flowchart for explaining an image size changing process when there is a print designation as related information of image data in the image processing apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態である画像処理装置において、画像データの関連情報としてスライドショー指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。FIG. 5 is a flowchart for explaining an image size changing process when there is a slide show designation as related information of image data in the image processing apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態である画像処理装置において、画像データの関連情報としてトリミング指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。FIG. 5 is a flowchart for explaining an image size changing process when trimming is designated as related information of image data in the image processing apparatus according to the first embodiment of the present invention. 本発明の第2の実施形態である画像処理装置において、画像データの関連情報として送信指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。FIG. 10 is a flowchart for explaining an image size changing process when transmission is designated as related information of image data in the image processing apparatus according to the second embodiment of the present invention. 本発明の第2の実施形態である画像処理装置において、画像データの関連情報として保護指定がある場合の画像サイズの変更処理について説明するためのフローチャート図である。FIG. 10 is a flowchart for explaining an image size change process when protection is designated as related information of image data in the image processing apparatus according to the second embodiment of the present invention.

符号の説明Explanation of symbols

101 バス
102 カードリーダ
103 IO制御部
104 RAM
105 制御部
106 関連情報読み出し部
107 最小サイズ決定部
108 操作部
109 表示部
110 サイズ変更部
101 Bus 102 Card reader 103 IO control unit 104 RAM
105 Control Unit 106 Related Information Reading Unit 107 Minimum Size Determination Unit 108 Operation Unit 109 Display Unit 110 Size Change Unit

Claims (7)

ユーザの指示に応じて、画像データのサイズを変更する変更手段と、
前記画像データの関連情報を読み出す読み出し手段と、
該読み出し手段により読み出された前記関連情報に基づいて、前記変更手段によりサイズが変更される前記画像データのサイズ変更後の最小サイズを算出する算出手段と、
前記変更手段によりサイズが変更される前記画像データが、前記最小サイズより小さくならないように、前記最小サイズより小さいサイズへのサイズ変更処理を抑制する制御手段と、
強制サイズ変更が設定されているか否かを判定する判定手段と、を備え、
前記判定手段により前記強制サイズ変更が設定されていないと判定された場合は、前記制御手段は、前記最小サイズより小さくなるサイズ変更処理を抑制し、前記判定手段により前記強制サイズ変更が設定されていると判定された場合は、前記制御手段は、変更後の画像データが前記最小サイズより小さくなる場合に警告表示を行い、サイズ変更処理の抑制は行わないことを特徴とする画像処理装置。
A changing means for changing the size of the image data in accordance with a user instruction ;
A reading means for reading related information of the image data ;
Calculation means for calculating a minimum size after the size change of the image data whose size is changed by the changing means based on the related information read by the reading means;
And a control unit wherein the image data whose size is changed, so as not to be smaller than the minimum size, to suppress the size change process to a size smaller than the minimum size by the changing means,
Determining means for determining whether or not forced resizing is set,
When it is determined by the determination means that the forced size change is not set, the control means suppresses a size change process that is smaller than the minimum size, and the forced size change is set by the determination means. If it is determined that the image data is changed, the control means displays a warning when the changed image data is smaller than the minimum size, and does not suppress the size change process .
前記関連情報は、前記画像データに対する印刷指定、または、前記画像データに対するトリミング指定、または、前記画像データに対するスライドショー指定である、ことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the related information is a print designation for the image data, a trimming designation for the image data, or a slide show designation for the image data. 前記制手段は、前記変更手段による前記画像データのサイズ変更後に元の前記画像データへの上書き保存を抑制し、前記変更後の画像データを新規保存する、ことを特徴とする請求項1または2に記載の画像処理装置。 Said control means, said suppressing overwrite to the original of the image data after resizing image data by changing means, newly store image data after the change, according to claim 1 or, characterized in that 2. The image processing apparatus according to 2. ユーザの指示に応じて、画像データのサイズを変更する変更ステップと、
前記画像データの関連情報を読み出す読み出しステップと、
該読み出しステップで読み出された前記関連情報に基づいて、前記変更ステップでサイズが変更される前記画像データのサイズ変更後の最小サイズを算出する算出ステップと、
前記変更ステップでサイズが変更される前記画像データが、前記最小サイズより小さくならないように、前記最小サイズより小さいサイズへのサイズ変更処理を抑制する制御ステップと、
強制サイズ変更が設定されているか否かを判定する判定ステップと、を備え、
前記判定ステップで前記強制サイズ変更が設定されていないと判定された場合は、前記制御ステップは、前記最小サイズより小さくなるサイズ変更処理を抑制し、前記判定ステップで前記強制サイズ変更が設定されていると判定された場合は、前記制御ステップは、変更後の画像データが前記最小サイズより小さくなる場合に警告表示を行い、サイズ変更処理の抑制は行わないことを特徴とする画像処理方法
A change step for changing the size of the image data in accordance with a user instruction ;
A reading step of reading related information of the image data ;
Based on the related information read in the reading step, a calculating step for calculating a minimum size after the size change of the image data whose size is changed in the changing step;
A control step for suppressing a size change process to a size smaller than the minimum size so that the image data whose size is changed in the change step does not become smaller than the minimum size;
A determination step of determining whether or not forced resizing is set,
If it is determined in the determination step that the forced size change is not set, the control step suppresses a size change process that is smaller than the minimum size, and the forced size change is set in the determination step. If it is determined that there, the control step performs a warning display when the image data after the change is smaller than the minimum size, images processing how to said that there will be no inhibition of resizing process .
前記関連情報は、前記画像データに対する印刷指定、または、前記画像データに対するトリミング指定、または、前記画像データに対するスライドショー指定である、ことを特徴とする請求項4に記載の画像処理方法。 The image processing method according to claim 4, wherein the related information is print designation for the image data, trimming designation for the image data, or slide show designation for the image data . 前記制御ステップは、前記変更ステップによる前記画像データのサイズ変更後に元の前記画像データへの上書き保存を抑制し、前記変更後の画像データを新規保存する、ことを特徴とする請求項4または5に記載の画像処理方法。 The control step, the changing step and by suppressing the overwrite to the original of the image data after resizing the image data, you new store image data after the change, according to claim 4 or wherein the 6. The image processing method according to 5. ユーザの指示に応じて、画像データのサイズを変更する変更ステップと、
前記画像データの関連情報を読み出す読み出しステップと、
該読み出しステップで読み出された前記関連情報に基づいて、前記変更ステップでサイズが変更される前記画像データのサイズ変更後の最小サイズを算出する算出ステップと、
前記変更ステップでサイズが変更される前記画像データが、前記最小サイズより小さくならないように、前記最小サイズより小さいサイズへのサイズ変更処理を抑制する制御ステップと、
強制サイズ変更が設定されているか否かを判定する判定ステップと、をコンピュータに実行させる画像処理プログラムであって、
前記判定ステップで前記強制サイズ変更が設定されていないと判定された場合は、前記制御ステップは、前記最小サイズより小さくなるサイズ変更処理を抑制し、前記判定ステップで前記強制サイズ変更が設定されていると判定された場合は、前記制御ステップは、変更後の画像データが前記最小サイズより小さくなる場合に警告表示を行い、サイズ変更処理の抑制は行わないことを特徴とする画像処理プログラム
A change step for changing the size of the image data in accordance with a user instruction;
A reading step of reading related information of the image data;
Based on the related information read in the reading step, a calculating step for calculating a minimum size after the size change of the image data whose size is changed in the changing step;
A control step for suppressing a size change process to a size smaller than the minimum size so that the image data whose size is changed in the change step does not become smaller than the minimum size;
An image processing program for causing a computer to execute a determination step of determining whether or not forced resizing is set,
If it is determined in the determination step that the forced size change is not set, the control step suppresses a size change process that is smaller than the minimum size, and the forced size change is set in the determination step. If it is determined that there, the control step performs a warning display when the image data after the change is smaller than the minimum size, it said that there will be no inhibition of resizing processing images processing program .
JP2007315806A 2007-12-06 2007-12-06 Image processing apparatus, image processing method, and image processing program Expired - Fee Related JP4942200B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007315806A JP4942200B2 (en) 2007-12-06 2007-12-06 Image processing apparatus, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007315806A JP4942200B2 (en) 2007-12-06 2007-12-06 Image processing apparatus, image processing method, and image processing program

Publications (3)

Publication Number Publication Date
JP2009141663A JP2009141663A (en) 2009-06-25
JP2009141663A5 JP2009141663A5 (en) 2011-01-20
JP4942200B2 true JP4942200B2 (en) 2012-05-30

Family

ID=40871837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007315806A Expired - Fee Related JP4942200B2 (en) 2007-12-06 2007-12-06 Image processing apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP4942200B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3235173B2 (en) * 1992-04-03 2001-12-04 ミノルタ株式会社 Image processing device
JP4348562B2 (en) * 2007-05-22 2009-10-21 セイコーエプソン株式会社 Image data processing apparatus, computer-readable recording medium storing image data processing program, and image data processing method

Also Published As

Publication number Publication date
JP2009141663A (en) 2009-06-25

Similar Documents

Publication Publication Date Title
US9250836B2 (en) Mobile apparatus and print controlling method
US20100153834A1 (en) Business form creating system, network system using the same, and business form creating method
JP2001134408A5 (en)
US9141317B2 (en) Image forming apparatus
WO2011053480A1 (en) Image low resolution warning
US7154631B2 (en) System and method for selecting a paper size for printing an image file
JP6701616B2 (en) Information processing program and information processing apparatus
JP3336132B2 (en) Image forming device
JP3922102B2 (en) List display of multiple images
JP2803062B2 (en) Image output device
JP2009246822A (en) Method for editing image and device therefor
JP4942200B2 (en) Image processing apparatus, image processing method, and image processing program
JP2006025007A (en) Image processing apparatus and image processing program
JP4974966B2 (en) Image editing apparatus, control method therefor, and program
JP4560570B2 (en) Information processing apparatus, information processing method, and print control program
JP2004302806A (en) Character size adjustment device and character size adjustment program
US7113305B1 (en) Information processing apparatus and information processing method for processing document data having a plurality of objects different in attribution
JP4074602B2 (en) Character string arranging device, character string arranging method, program, and recording medium
JP5010520B2 (en) Trimming range optimization method, apparatus and program
CN115840614B (en) Rendering method and device of layout document, electronic equipment and storage medium
EP0984395A2 (en) Program storage medium
JP5004328B2 (en) Image recording apparatus, image recording method, and computer program
JP5419783B2 (en) Image reproducing apparatus and method for controlling image reproducing apparatus
JP2006019931A (en) Image processing apparatus, image processing method, computer program, and storage medium
JP4941060B2 (en) Information processing apparatus and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101129

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120112

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120131

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120227

R151 Written notification of patent or utility model registration

Ref document number: 4942200

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150309

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees