update_image
Replace an existing image in a Word document while preserving its dimensions and position. Specify the relationship ID and path to the new image file.
Instructions
Replace the binary for an existing image in-place.
The image dimensions and position in the document are preserved.
Args: rId: The relationship ID of the image to replace. new_image_path: Absolute path to the new image file on disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rId | Yes | ||
| new_image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |