Insert picture
Place an image file on a slide at a position in points, optionally scaled to a width, a height or both.
Command in the PowerPoint toolkit · id ooa.powerpoint/insert_picture · 8 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Slide | Number | No | 1-based slide number; the current slide (the one added or copied last) when empty, else the last. | |
| Image | File | Yes | Image file (PNG, JPEG, GIF, BMP, TIFF, EMF or WMF). | |
| X | Number | No | 50 | Left edge in points. |
| Y | Number | No | 50 | Top edge in points. |
| Width | Number | No | Width in points; the height keeps the aspect ratio. Original size when empty. | |
| Alt text | String | No | Alternative text, also used later by find_replace_picture. | |
| Session | String | No | powerpoint | Presentation session. |
| Height | Number | No | Height in points; with width both are used as given, alone the width keeps the aspect ratio. |
Outputs
| Output | Type | What it is |
|---|---|---|
| shape | String | Name of the new picture shape. |