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

画像透かしを追加する Word ドキュメント n8n

画像透かしを追加する Word は PDF4me ノードアクション n8n 画像を刻印する Word ドキュメント。これを使用して、送信レポートに会社のロゴを付けたり、レビュー前に下書きにマークを付けたり、ワークフローが生成するすべての契約に機密バッジを適用したりできます。 Word。

このノードの機能

PDF4me Word: 画像透かしを追加 Word 入力は1つではなく2つ必要です。 .docx スタンプを押すファイルと 画像 それにスタンプを押す。それぞれに独自の入力方法ドロップダウンがあるので、ドキュメントと透かしは、前のノードからのドキュメントと、からフェッチされたロゴなど、異なる経路で到着することができます。 URLサイズは 規模 明示的に設定しない限り 幅 または 身長 ポイントで。

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

認証 API リクエスト​

毎 PDF4me ノード n8n 有効な認証情報が必要です。 PDF4me API ワークフローがウォーターマーク要求を安全に認証できるようにするためのキー。

見逃してはならない重要な事実​

入力欄2つ、ドロップダウンメニュー2つ
の Word ファイルと透かし画像は別々に設定され、それぞれに独自の入力メソッドセレクターがあります。片方を設定してもう片方を忘れてしまうことが、ノードの実行を拒否する最も一般的な原因です。
幅と高さが0の場合はスケールを使用することを意味します
どちらの寸法フィールドも初期値は0ですが、これはサイズがゼロであることを示すものではなく、拡大縮小率に基づいて画像のサイズを調整する指示です。正確なサイズが必要な場合にのみ、いずれかのフィールドにポイントを入力してください。
透明なものを使用する PNG
A JPEG アルファチャンネルがないため、白い背景が下のテキストを覆い隠します。 PNG 真の透明性こそが、透かしが貼り付けられた枠ではなく、透かしとして認識される理由です。
n8n の PDF4me Word ノードで、操作を「Word に画像透かしを追加」、Word ファイル入力方法を「URL からダウンロード」、透かし画像入力方法を「前のノードから」、スケール 1、幅と高さ 0、中央揃えをオンに設定します。

2 つの独立した入力方法に注目してください。 Word ファイルは到着します URL 透かし画像は前のノードから取得されます。幅と高さは0に設定されているため、スケール1でサイズを制御します。

画像透かしとテキスト透かしの違い Word​

質問画像透かしを追加する Wordテキスト透かしを追加する Word
What gets stampedAn image file such as a logo, seal, or badgeA word or phrase you type, such as DRAFT
Second input neededYes, the image file itselfNo, only the text string
Changing it per runSwap the image binary or URLChange the text with an expression
Best forCompany branding and scanned marksStatus labels and per-document text
Transparency controlSemi-Transparent toggle plus PNG alphaHandled through the text styling options

画像透かしを追加するパラメータは何ですか? Word 必要?​

の Word ファイルと透かし画像にはそれぞれ入力方法のドロップダウンメニューがあります。どの方法を選択しても、対応するソースフィールドがそのすぐ下に表示されるため、選択内容に応じて下の条件付き行が変化します。

パラメータ必須その機能例
Credential to connect withRequiredThe PDF4me API credential the node authenticates with.PDF4me account
OperationRequiredThe action this node performs. Select Add Image Watermark To Word.Add Image Watermark To Word
Word File Input MethodRequiredHow the .docx reaches the node: from the previous node as binary data, as a Base64 string, or downloaded from a URL.Download from URL
Word File URLConditionalPublic URL of the .docx to stamp. Appears only when the Word file input method is set to download from a URL.https://example.com/file.docx
Document NameRequiredFilename of the input document including the extension. Used for format detection, so keep the .docx suffix accurate.document.docx
Watermark Image Input MethodRequiredHow the image reaches the node. Independent of the Word file input method, so the two can differ.From Previous Node (Binary Data)
Image Binary Data Property NameConditionalName of the binary property holding the watermark image. Appears when the image comes from the previous node.data
ScaleOptionalSize multiplier applied to the image at its natural size. Ignored when a non-zero Width or Height is supplied.1
Width (Points)OptionalExact watermark width in points. Leave at 0 to size by Scale. Setting only Width keeps the aspect ratio.0
Height (Points)OptionalExact watermark height in points. Leave at 0 to size by Scale. Setting only Height keeps the aspect ratio.0
Center AlignmentOptionalToggle that centres the watermark on the page. Ships enabled; turn it off to align to the top left within the margins.enabled
Semi-TransparentOptionalToggle that reduces watermark opacity so page text stays readable underneath. Ships disabled.disabled
Culture NameOptionalCulture code recorded for document processing, such as en-US or de-DE.en-US
Output File NameOptionalFilename of the returned document. Keep the .docx extension so downstream steps handle it correctly.word_with_watermark.docx
Output Binary Data NameOptionalBinary property the stamped document is written to. Leave as data unless a later node expects another name.data

出力​

分野タイプ内容物
fileNameStringName of the returned watermarked document, taken from Output File Name.
fileSizeNumberSize of the returned document in bytes. A useful sanity check that the image was embedded.
successBooleanWhether the watermark was applied. Branch on this so failures surface as alerts.
originalFileNameStringName of the input document as supplied in Document Name.
scaleNumberThe scale factor actually applied, echoed back for verification.
alignImageBooleanWhether centre alignment was used, reflecting the Center Alignment toggle.
semiTransparentBooleanWhether reduced opacity was applied, reflecting the Semi-Transparent toggle.
cultureNameStringThe culture code recorded for the operation.
messageStringHuman-readable status text describing the result of the operation.

スタンプされた文書自体は、指定されたプロパティにバイナリとして返されます。 出力バイナリデータ名ストレージに書き込んだり、メールに添付したり、フィードしたりする準備ができています。 PDF 変換ステップ。

画像透かしを追加するにはどうすればいいですか? Word で n8n?​

  1. 追加する PDF4me Word ノードをワークフローに追加して設定します 手術 に 画像透かしを追加する Word。
  2. 選択してください PDF4me 認証情報を入力するか、作成して貼り付けてください。 API 鍵。
  3. 選ぶ Word ファイル入力方法 そして供給する .docx その下に現れるフィールドを通して。
  4. セット 文書名 だから .docx 拡張子は正しく存在します。
  5. 選ぶ 透かし画像の入力方法すると、指差す 画像バイナリデータプロパティ名 画像が保管されている施設では、通常 data。
  6. 離れる 幅(ポイント) そして 高さ(ポイント) で 0 調整する 規模または、サイズが正確でなければならない場合は、明示的なポイント値を設定します。
  7. オンにする 半透明 透かしが本文テキストの上に重なっている場合は、 センターアライメント 左上にマークを付けたい場合を除いては、オンにしてください。
  8. セット 出力ファイル名 で終わる .docxノードを実行し、結果を次のノードにルーティングします。

典型的な構成​

ワークフローの例Common n8n workflow patterns using Add Image Watermark To Word.
すべての送信レポートにブランドを付ける
  1. レポート作成ステップでは、 Word スケジュールに基づいて文書を作成する。
  2. 画像透かしを追加する Word 会社のロゴを刻印する。
  3. ブランドロゴ入りのファイルは、配信リストにメールで送信されます。
承認されるまで文書を下書きとしてマークする
  1. 契約書はレビュー用フォルダに振り分けられる。
  2. 「下書き」バッジ画像には、半透明が有効になっていることを示すスタンプが押されます。
  3. 批評家は、作業中の原稿と最終版を間違えることは決してない。
透かしを変換して PDF
  1. ロゴは、ファイルがまだ編集可能な状態のうちに適用されます。 Word。
  2. 変換ステップにより、スタンプされた文書が PDF。
  3. の PDF 後から重ねるのではなく、最初から刻印された状態で公開される。
アーカイブに一括スタンプを押す
  1. フォルダ一覧表示では、従来の.docxファイルごとに1つの項目が生成されます。
  2. このノードは、同じ透かし画像を使用してアイテムごとに一度実行されます。
  3. スタンプが押されたコピーは、新しいファイル名で書き戻されます。

実践的なヒント​

Start with a transparent PNG
Alpha transparency is what separates a watermark from a pasted rectangle. Export the logo with a transparent background before wiring it in.
Tune Scale before touching Width
Scale keeps the aspect ratio automatically. Reach for explicit point values only when a brand guideline demands an exact size.
Enable Semi-Transparent over body text
A full-opacity mark in the centre of a text page hides content. The toggle exists precisely for documents that are meant to stay readable.
Check the two input methods separately
The document and the image are configured independently, so a run can fail because the image source is unset while the Word source looks fine.
Verify one file before a batch
Open a single stamped document in Word and confirm placement and opacity, then run the workflow across the rest.
Keep the .docx extension
Both Document Name and Output File Name drive format handling. A missing or wrong extension causes confusing downstream failures.

チートシート​

分野価値
OperationAdd Image Watermark To Word
Word File Input MethodDownload from URL
Word File URLhttps://example.com/file.docx
Document Namedocument.docx
Watermark Image Input MethodFrom Previous Node (Binary Data)
Image Binary Data Property Namedata
Scale1
Width (Points) / Height (Points)0 / 0
Center Alignmentenabled
Semi-Transparentdisabled
Culture Nameen-US
Output File Nameword_with_watermark.docx
Output Binary Data Namedata

よくある質問​

What image formats can I use as a Word watermark?+
Standard raster image formats work, and a PNG with a transparent background gives the cleanest result because page text stays visible around the logo. A JPEG has no alpha channel, so it stamps an opaque rectangle unless you also enable Semi-Transparent. The PNG specification covers the alpha channel behaviour that makes this work.
Why are Width and Height set to 0 by default?+
Zero means unset, not a zero-size watermark. When both are 0 the image is sized by the Scale factor, where 1 is its natural size. Entering a non-zero point value in either field overrides Scale, and supplying only one of the two preserves the aspect ratio by calculating the other.
Does the watermark appear on every page of the document?+
The action applies the watermark to the document rather than to a single page you nominate, so it suits stamping a whole file such as a contract or report. Run one representative multi-page document through the node and open the result in Word before rolling it out across a batch.
What is the difference between the image and text watermark actions?+
Add Image Watermark To Word stamps a picture such as a company logo or scanned seal and needs an image as a second input. Add Text Watermark To Word Document renders a word or phrase you type, so it needs no image file and is easier to vary per run with an expression.
Can I watermark many Word files in one n8n run?+
Yes. The node processes one document per item, so feed it a list of files from a trigger, a folder listing, or an n8n looping node and the action executes once per item. The same watermark image can be reused across the whole run.

関連アクション​

他のプラットフォームでの同じタスク​

ヘルプが必要な場合​