# 前景・背景の自動トリミング機能

***

## 前景・背景の自動トリミング

これまで、前景や背景に画像を設定すると、「フィールド設定」の幅に合うように画像の比率が変更されていました。v1.28で、画像の比率を変えずに前景や背景に設定し、表示しきれない部分をトリミングすることができるようになりました。

***

### 設定方法

1. 右下の![](/files/alNqKuezvDGSAToJkOe3)ボタン>前景・背景を変更からフィールド設定を開く
2. 「画像を自動トリミングする」のトグルスイッチをONにする

以下の画像のように「画像を自動トリミングする」の横が青くなっていれば自動トリミング機能が適用されています。

<div align="center"><figure><img src="/files/BgVKD4uHtFFG1edARFXM" alt="" width="292"><figcaption></figcaption></figure></div>

***

### 自動トリミングを適用しない・する場合の比較

以下の正方形の画像を、横長のフィールドに前景として設定してみます。

<div align="center"><figure><img src="/files/DW6krduGEV6BAub761h5" alt="" width="188"><figcaption></figcaption></figure></div>

#### 自動トリミング機能をオフにした場合

<div align="center"><figure><img src="/files/3hdzW31a1LKIEMoOa1eP" alt="" width="498"><figcaption></figcaption></figure></div>

上下が圧縮されます。

#### 自動トリミング機能をオンにした場合

<div align="center"><figure><img src="/files/20znR0nRiakboF4IcnyH" alt="" width="478"><figcaption></figcaption></figure></div>

上下がトリミングされます。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ccfolia.com/update/v1.28/trimming.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
