Pictures
Replace an existing image placeholder with a new image.
Select the shape by
name
you want to modify. See here to find shape names.Insert path of new image to
filename
property. This can be:a downloadable URL link as a string
or a file attachment
New image will inherit the size and positioning of the existing image placeholder.
Reference: picture
Download: input.zip | output.pptx


{
"presentation": {
"template": "template.pptx",
"slides": [
{
"slide_index": 0,
"shapes": [
{
"name": "Picture 1",
"filename": "happy with automation.jpg"
}
]
}
]
}
}
Last updated
Was this helpful?