No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Convert Text to an image

4.9 | 10 ratings Rate this file 40 Downloads (last 30 days) File Size: 218 KB File ID: #19896 Version: 1.0
image thumbnail

Convert Text to an image



12 May 2008 (Updated )

text2im.m converts a passed text string to a matrix which contains the the string as an image (simpl

| Watch this File

File Information

Text2Im converts a passed string to a bw-image.

Often it is necessary to burn in annotations in evaulated images. Since I didn't found an easy solution to do so, I wrote this programm to generate an image array which then can be easily integrated in an image arry (for example via implace.m from ).


This file inspired Convert Text To An Image (Updated), Image Patch Tool, Uiraster, and Image Manipulation Toolbox.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (12)
14 Oct 2016 Umair Mukati

Good work

24 Feb 2016 Dalibor Knis

31 Aug 2015 PRAPULLA N

i tried this code. but i'm getting one babys image may be some wrong with my main program.
can you tell me how to write the main program.?

Comment only
28 Aug 2015 PRAPULLA N

Can i get the source code please...

Comment only
06 Aug 2015 Krisztian Szucher

01 Feb 2015 Nicholas

Worked perfectly! Allowed me to easily solve the problem of including text in an image. Thank you so much!

18 Jun 2012 ted p teng

ted p teng (view profile)

16 Jan 2012 Bram vd H

Works perfectly, thanks!

20 Dec 2011 Aby Mathew

10 Nov 2009 Mohammed El-Said

Thanks, It realy helped me,
Note, I changed it a little bit and submitted it again here:
Thanks again.

21 May 2009 Gus Lott

Works beautifully

15 Dec 2008 Tilman Sumpf

wow, thanks for doing the hard work :)

Contact us