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

画像に透かしを追加するには、 n8n アクション

PDF4me 画像に透かしを入れる 画像にカスタム透かしを追加する n8n 自動化ワークフロー。画像を処理 n8n トリガー、バイナリデータ、base64文字列、または公開 URLs 透かし画像(ロゴ、スタンプ、署名など)を、位置(角、中央、斜め、カスタム座標)、透明度、サイズ、オフセット調整などをカスタマイズして重ね合わせることができます。このソリューションは、画像ブランディング、著作権保護、ロゴ重ね合わせ、セキュリティ透かし、バッチ画像処理、柔軟な位置調整とシームレスな統合によるプロフェッショナルな画像合成を必要とする自動透かしワークフローに最適です。

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

設定​

追加する PDF4me 「画像に透かしを追加」ノードを n8n ワークフローを実行し、必要なパラメータを設定します。初期設定手順については、こちらをご覧ください。 n8n 統合ガイド。

前提条件:

  • PDF4me API 資格
  • n8n ワークフローへのアクセス

構成:

  1. 追加 PDF4me ノードからワークフローへ
  2. 「画像に透かしを追加」アクションを選択します。
  3. 入力パラメータを設定します(下記参照)。
画像に透かしを入れる

パラメータ​

画像に透かしを追加するアクションのパラメータ一覧です。これらのパラメータを設定することで、透かしの適用方法を制御できます。

重要: アスタリスク(***)が付いているパラメータは必須であり、アクションが正しく機能するためには必ず指定する必要があります。

パラメータ必須その機能例
Input Image Data TypeRequiredChoose how to provide the image file to watermark. Options: Base64 String, Binary Data, URL. Default is `Binary Data`.Binary Data
Base64 Image ContentConditionalBase64 encoded image content. Shown when Input Image Data Type is Base64 String.iVBORw0KGgoAAAANSUhEUgAA...
Input Binary FieldConditionalName of the binary property that contains the image file. Shown when Input Image Data Type is Binary Data. Default is `data`.data
Image URLConditionalURL to the image file. Shown when Input Image Data Type is URL.https://abc.com/sam.jpg
Watermark Image Data TypeRequiredChoose how to provide the watermark image. Options: Base64 String, Binary Data, URL. Default is `Binary Data`.Binary Data
Base64 Watermark ContentConditionalBase64 encoded watermark image content. Shown when Watermark Image Data Type is Base64 String./9j/4AAQSkZJR...
Watermark Binary FieldConditionalName of the binary property that contains the watermark image. Shown when Watermark Image Data Type is Binary Data. Default is `data`.data
Watermark Image URLConditionalURL to the watermark image file. Shown when Watermark Image Data Type is URL.https://abc.com/sam.jpg
Output File NameOptionalName for the output image file with watermark. Default is `image_with_watermark.jpg`.image_with_watermark.jpg
PositionOptionalPosition of the watermark on the image. Options: Bottom Left, Bottom Right, Central Horizontal, Central Vertical, Custom, Diagonal, Top Left, Top Right. Default is `Top Right`.Top Right
Position XConditionalX position for custom positioning (float). Shown when Position is Custom. Default is `0`.0
Position YConditionalY position for custom positioning (float). Shown when Position is Custom. Default is `0`.0
OpacityOptionalWatermark opacity (0.0 to 1.0). Default is `1`.1
Horizontal OffsetOptionalHorizontal offset for positioning (integer). Default is `0`.0
Vertical OffsetOptionalVertical offset for positioning (integer). Default is `0`.0
RotationOptionalRotation angle for watermark (float). Default is `0`.0
Binary Data Output NameOptionalCustom name for the binary data in n8n output. Default is `data`.data

出力​

出力パラメータ​

分野タイプ内容物
successBooleanTrue when the operation succeeded.
messageStringStatus message, `Image with watermark created successfully`.
fileNameStringFile name of the resulting file.
mimeTypeStringAlways `image/jpeg`, whatever the format of the input image.
fileSizeNumberSize of the resulting file in bytes.
positionStringWatermark Position that was used.
opacityStringWatermark Opacity that was used.
dataBinaryThe image with the watermark.

N8Nアクションレスポンス​

の PDF4me 画像に透かしを入れる API 複数の形式で表示可能なレスポンスを返します。ニーズに最適な表示形式を選択してください。

JSON 回答形式

生 JSON からの応答 API:

[
{
"success": true,
"message": "Image watermark added successfully",
"fileName": "image_with_watermark.jpg",
"mimeType": "image/jpeg",
"fileSize": 245760
}
]

ユースケース​

プロフェッショナルなイメージブランディング​

  • ブランドの一貫性を保つため、商品画像に企業ロゴと透かしを追加する
  • 一貫した透かし配置でブランド化されたソーシャルメディアコンテンツを作成する
  • デジタル写真やアート作品の著作権保護を実施する

自動コンテンツ処理​

  • 大規模画像コレクションに対するバッチ透かし処理
  • コンテンツ管理ワークフローに透かし機能を統合する
  • eコマースおよびマーケティング資料用の画像準備を自動化する

企業イメージ管理​

  • 複数の部門間でイメージブランディングを標準化する
  • 文書および画像ワークフローに自動透かし機能を実装する
  • すべてのデジタル資産で一貫したビジュアルアイデンティティを作成する

ヘルプが必要な場合​