Text To Image Converter – Alter.js

Category: Image , Javascript | July 30, 2017
Author: KingPixil
Views Total: 2,699 views
Official Page: Go to website
Last Update: July 30, 2017
License: MIT

Preview:

Text To Image Converter – Alter.js

Description:

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

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