Add Image to PowerPoint
office_ppt_add_imageCreate a new PowerPoint presentation with a single slide containing an image. Configure image position, size, rotation, and scaling mode.
Instructions
Create a new PowerPoint (.pptx) with one slide containing an image.
Args:
filePath (string): Path where the presentation will be created
image (object): Image configuration
path (string): Path to the image file
options (object, optional):
x (number): Left position (inches)
y (number): Top position (inches)
w (number): Width (inches)
h (number): Height (inches)
rotate (number): Rotation (degrees)
sizing ("cover" | "contain" | "stretch"): Image sizing mode
Examples:
Use when: "Create a slide with the company logo"
Use when: "Add a screenshot image to a presentation slide"
Not for: Creating slides without images
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path for the new PowerPoint file | |
| image | Yes |