Text To Image Converter – Alter.js

Category: Image , Javascript | July 30, 2017
Views Total:4,843 views
Official Page:Go to website
Last Update:July 30, 2017


Text To Image Converter – Alter.js


Alter.js is a vanilla JavaScript plugin that converts any text strings into PNG images using HTML5 canvas API.

See Also:

How to use it:

Create a textarea to accept the text input.

<canvas id="canv"></canvas>
<textarea id="text" onkeyup="grow(this)" placeholder="Text"></textarea>
<button id="submit">Submit</button>

Create an empty <img> tag to display the converted image.

<img id="image">

Download and place the Alter.js script at the bottom of the webpage.

<script src="scripts.js"></script>

You Might Be Interested In:

Leave a Reply