メインコンテンツへスキップ

画像をトリミング Power Automate

PDF4me 画像の切り抜き アクションにより、画像をトリミングおよび切り抜くことができます。 Power Automate 境界線と長方形の切り抜き方法に対応。この必須の画像編集機能は、不要な画像領域を削除し、重要なコンテンツに焦点を当て、構図を調整し、特定の寸法に合わせて画像を最適化します。商品写真、プロフィール写真、ソーシャルメディアのフォーマット、コンテンツの最適化に最適です。 Microsoft 365 ワークフロー。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証 API リクエスト​

アクセスするには PDF4me ウェブ API を通して Power Automateすべてのリクエストには適切な認証情報を含める必要があります。認証により安全な通信が保証され、承認されたユーザーとしての身元が検証され、シームレスな統合が可能になります。 Power Automate 流れと PDF4meの強力な画像切り抜きサービス。

画像の切り抜き Power Automate

主な機能​

  • 複数作物栽培方法境界線または長方形の指定で切り抜きます
  • 精密制御作物の正確な寸法と座標を定義する
  • アスペクト比画像の縦横比を維持または変更する
  • バッチ処理自動化されたワークフローで複数の画像をトリミングする
  • 品質維持トリミング中も画像品質を維持する

パラメータ​

画像切り抜きアクションのパラメータ一覧です。これらのパラメータを設定することで、画像の切り抜きを制御できます。

パラメータ必須その機能例
Crop TypeOptionalHow to crop the image - by border or by rectangle. After you choose it, the fields for that crop type are loaded into the action card. Options: Border, Rectangle. Defaults to `Border`.Border
Left BorderConditionalSet the pixel adjustment for the left border's position. Defaults to `0`. Shown when Crop Type is Border.0
Right BorderConditionalSet the pixel adjustment for the right border's position. Defaults to `0`. Shown when Crop Type is Border.0
Top BorderConditionalSet the pixel adjustment for the top border's position. Defaults to `0`. Shown when Crop Type is Border.0
Bottom BorderConditionalSet the pixel adjustment for the bottom border's position. Defaults to `0`. Shown when Crop Type is Border.0
File ContentRequiredContent of the image to crop. Map it from the file content returned by a previous action, such as SharePoint or OneDrive Get file content.@{body('Get_file_content')?['$content']}
File NameOptionalName of the image to crop, including its extension (for example `photo.jpg`). Map it from the file name returned by a previous action.photo.jpg
Upper Left XConditionalSet the upper left X coordinate of the crop area (in pixels). Defaults to `0`. Shown when Crop Type is Rectangle.0
Upper Left YConditionalSet the upper left Y coordinate of the crop area (in pixels). Defaults to `0`. Shown when Crop Type is Rectangle.0
WidthConditionalSet the width of the crop area (in pixels). Defaults to `0`. Shown when Crop Type is Rectangle.0
HeightConditionalSet the height of the crop area (in pixels). Defaults to `0`. Shown when Crop Type is Rectangle.0

出力​

の PDF4me 画像の切り抜き アクションは、シームレスな包括的な出力データを返します Power Automate フロー統合:

テーブルビュー

構造化された表形式の応答データ:

分野タイプ内容物
File ContentFile contentContent of the cropped image. Map it into the next action, for example the File Content field of SharePoint or OneDrive Create file.
File NameTextFile name of the cropped image, as returned by PDF4me. Use it as the file name when saving the file.
Page CountTextPage count reported by PDF4me for the processed document. Returned as text; wrap it in int() to use it as a number.

ワークフローの例​

の PDF4me 画像の切り抜き アクション Power Automate 実際のビジネスシナリオに合わせて設計された包括的なワークフローテンプレートを提供します。

自動商品写真トリミングワークフロー

自動画像トリミングで商品写真のクオリティを一新:

ワークフローの手順を完了する:

  1. トリガー商品写真が写真フォルダにアップロードされました
  2. 写真を入手: 商品画像を取得する SharePoint
  3. 製品を検出AIビジョンを使用して製品の境界を識別する
  4. 作物の計算最適な作物区画を決定する
  5. 画像の切り抜き背景を削除して製品に焦点を当てる
  6. トリミング後のサイズ変更: 標準の商品写真サイズに調整します
  7. カタログにアップロードトリミングした画像を製品カタログに保存する
  8. 製品のアップデート:切り抜いた画像を商品レコードにリンクする

ビジネス上のメリット:

  • 毎月200枚以上の商品写真を自動的にトリミングします
  • 製品写真の構図の一貫性を確保します
  • 手作業による写真編集時間を90%削減します
  • 商品ページの見た目とコンバージョン率が向上します。

業界におけるユースケースとアプリケーション​

Eコマースおよび小売業における活用事例

  • 商品写真商品写真の背景をトリミングする
  • カタログ画像カタログ画像の寸法を標準化する
  • サムネイル作成サムネイル生成用に画像を切り抜く
  • ソーシャルメディアへの投稿プラットフォーム固有の寸法に合わせてトリミングします

ヘルプが必要な場合​