---
title: "Inserting Text on Image using Google Apps Script"
author: "Martin Hawksey"
date: 2021-02-03T12:40:00+00:00
modified: 2021-02-02T12:41:01+00:00
canonical_url: https://pulse.appsscript.info/p/2021/02/inserting-text-on-image-using-google-apps-script/
markdown_url: https://pulse.appsscript.info/p/2021/02/inserting-text-on-image-using-google-apps-script.md
categories:
  - "Intermediate"
  - "Slides"
  - "Snippet"
  - "V8"
tags:
  - "tanaikech.github.io"
featured_image: https://pulse.appsscript.info/files/2021/02/20201013a-fig1.gif
description: "This is a sample script for inserting a text on an image using Google Apps Script. The flow of this sample script is as follows: Retrieve the image size using ImgApp. Create new Google Slides..."
---

# Inserting Text on Image using Google Apps Script

![Inserting Text on Image using Google Apps Script](https://pulse.appsscript.info/files/2021/02/20201013a-fig1.gif)

> This is a sample script for inserting a text on an image using Google Apps Script. The flow of this sample script is as follows:
> 
> Retrieve the image size using ImgApp.
> Create new Google Slides with the custom page size using DocsServiceApp.
> Put the image and text.
> Export the result image

Source: [Inserting Text on Image using Google Apps Script**](https://tanaikech.github.io/2020/10/13/inserting-text-on-image-using-google-apps-script/)

---

*Published by [Martin Hawksey](https://pulse.appsscript.info/p/author/admin/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2021/02/inserting-text-on-image-using-google-apps-script/](https://pulse.appsscript.info/p/2021/02/inserting-text-on-image-using-google-apps-script/)*
