Skip to main content
googleSlides.createImage create an image from a public URL on a slide.

Example

Inputs

Provide presentation, pageObjectId, and imageUrl. The public HTTP(S) image URL must be shorter than 2 KB. Position and size use points. A second argument with account selects a Google Account.

Output

Returns the presentation ID and created image ID. Google must be able to fetch the image as a PNG, JPEG, or GIF smaller than 50 MB and no larger than 25 megapixels.