image thumbnail

text2im

version 1.1.0 (273 KB) by Rik
Convert text to image

53 Downloads

Updated 19 May 2021

From GitHub

View license on GitHub

This function will convert a string or char array to an image. There are several fonts implemented, each with their own license and number of included characters. All fonts are free to use in some form, but if you plan to use it on a large scale or for commercial purposes you should check the license of the specific font you want to use.

'cmu_typewriter_text' (default): public domain.
'cmu_concrete': public domain.
'ascii': previously published in the text2im() function (FEX:19896 by Tobias Kiessling).
'droid_sans_mono': Apache License, Version 2.0.
'ibm_plex_mono': SIL Open Font License.
'liberation_mono': GNU General Public License
'monoid': MIT License.

The font images were generated using XeTeX and ghostscript. The generator script is included in this submission.

Licence: CC by-nc-sa 4.0

Cite As

Rik (2021). text2im (https://github.com/thrynae/text2im/releases/tag/v1.1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with R13SP1 to R2020a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.