4.4. 切り抜き

切り抜きツールは画像を刈り込んだり切り抜いたりするときに使います。 画像上のすべてのレイヤーに対し、 可視か不可視かにかかわらず作用します。 このツールは周辺部を取り除いたり、 焦点の当たる部分を残して不要な領域を削減するのによく使われます。 あるいはいまある画像の大きさが必要な大きさや縦横比にそぐわないときにも重宝します。

To define the crop area click and drag with the mouse. A highlighted area will appear that shows the crop boundaries. To move the whole crop area, click in the middle and drag the rectangle. Resizing can be done by moving close to the borders. The mouse cursor will change and you can drag either one side, if you are in the middle, or two sides, if you are in a corner. While you are changing the drag area, the size of the cropped area and the aspect ratio will be shown in the status bar.

マウスポインターの姿が移動十字矢印になっているときはキーボードの 矢印キーで切り抜き矩形を移動できます。 Shift キーを押しながらだと 25 ピクセルづつ移動します。

To finalize cropping, click inside the crop rectangle or press the Enter key.

[注記] 注記

By default the image canvas size isn't changed after cropping. The Tool Options of the Crop Tool have a setting Delete cropped pixels that can be checked to make sure the canvas size is also adjusted to the cropped area.

[ヒント] ヒント

You can use Guides to position the crop area. Make sure that the ViewSnap to Guides option is checked.

4.4.1. 呼び出し方

There are different possibilities to activate the tool:

  • From the main menu: ToolsTransform toolsCrop.

  • By clicking the tool icon in the Toolbox.

  • By pressing the Shift+C keyboard shortcut.

4.4.2. キー修飾 (初期設定)

切り抜き矩形を描いてからその内側でクリックしたままマウスボタンを押し続けると、 ハンドルが消えて...

  • Ctrl キーを押している間は 中央から拡げる オプションが有効になります。 (反応がないときは Alt+Ctrl)

  • Shift キーを押している間は 固定 オプションが有効になり、 位置や寸法などの一部が固定されます。

4.4.3. ツールオプション

図14.100 切り抜きツールのツールオプション

「切り抜き」ツールのツールオプション

Normally, tool options are displayed in a window attached under the Toolbox as soon as you activate a tool. If they are not, you can access them from the main menu through WindowsDockable WindowsTool Options which opens the option window of the selected tool.

現在のレイヤーのみ

このオプションは現在活性化しているレイヤーだけを切り抜きます。

Delete cropped pixels

When checked, the canvas size is adjusted to the cropped area. By default this is not checked, which means that after cropping the layers have been adjusted, but the canvas size is still the same. This is to make sure you don't remove anything by accident.

拡大を許可

このオプションは画像 (レイヤー) はおろかキャンバスをはみ出しても切り抜きやリサイズができるようにします。 この方法で出来上がりの画像の大きさが決められるようになります。 何も無い部分を切り抜き範囲に加えるとそこは透過部分となります。

図14.101 拡大を許可の例

「拡大を許可」の例

大きくとられたキャンバス上の画像

「拡大を許可」の例

このオプションが有効になった。 切り抜き矩形はキャンバスをはみ出している。

「拡大を許可」の例

結果の画像


中央から拡げる

このオプションを有効にすると、 切り抜き矩形は最初にクリックした画素を中心として拡がります。 切り抜きの作業中に Ctrl キーを押すと、 その間はこのオプションの有効無効が切り替わります。

値を固定

切り抜き矩形をつくっている最中には Ctrl キーを押している間もこのオプションが有効になります。 このオプションは寸法の一部や縦横比を固定して切り抜き矩形をつくるためのものです。

  • 縦横比: 固定される値は既定ではこちらです。 切り抜き矩形をつくるときその幅と高さの比率がつねに元の画像の縦横比と同じになります。

  • , 高さ: 幅のみもしくは高さのみが固定されます。 その値は直下の入力欄で設定でき、 初期値は 100 ピクセルです。

  • Size: Both Width and Height will be fixed. Their values can be set in the text box below, in the form 150×100 for example. The crop rectangle will adopt these values as soon as you click the image. On the right, two buttons let you choose a Landscape (widthwise) or Portrait (upright) format for the crop rectangle.

左上角の座標

この 2 つの欄は切り抜き矩形の左上隅の位置を左の欄に水平軸、 右の欄に垂直軸の各要素で常時表しており、 数値を直接入力すれば変更もできます。 距離の単位はピクセルですが、 px ボタンが引き出しリストになっていて、 単位を変更できます。 座標の原点は (画像のではなく) キャンバスの左上隅です。

サイズ

この 2 つの欄は切り抜き矩形の大きさを左の欄に幅、 右の欄に高さで常時表示しており、 数値を直接入力すれば変更もできます。 長さの単位はピクセルですが、 px ボタンが引き出しリストになっていて、 単位は変えられます。

ハイライト表示

このオプションは切り抜き矩形の領域外の色を暗くする機能に切り替えるもので、 矩形を目立たせる目的があります。

The dark area opacity can be set using the Highlight opacity cursor.

ガイド

見当線のすべての種類について 「矩形選択」 で説明しています。

選択範囲の自動縮小

このボタンを切り抜き矩形を作成中に押すと、 活性レイヤー上の形象に矩形の境界線が自動的に合わされます。 このオプションは背景の色と形象とがくっきりと分かれている場合に正しく動作します。

図14.102 選択範囲の自動縮小の例

「選択範囲の自動縮小」の例

境界線がくっきりとした形象と切り抜き矩形がある画像。

「選択範囲の自動縮小」の例

自動縮小のボタンを押すと、 明瞭な境界線上に矩形の境界線が合わされた。


すべての可視レイヤーを対象にする

このオプションは見えている色でオプションのようにはたらきます。 活性レイヤーのみならず、 すべての 可視 レイヤーからのピクセル情報をもとに判断します。