File Exchange

image thumbnail

Convert Text to an image

version 1.0.0.0 (6.25 KB) by Tobias Kiessling
text2im.m converts a passed text string to a matrix which contains the the string as an image (simpl

19 Downloads

Updated 13 May 2008

No License

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 http://www.csse.uwa.edu.au/~pk/Research/MatlabFns/ ).

Cite As

Tobias Kiessling (2020). Convert Text to an image (https://www.mathworks.com/matlabcentral/fileexchange/19896-convert-text-to-an-image), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (18)

John Wu

Amore Fu

Jed

Ran Kafri

Good work

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.?

PRAPULLA N

Can i get the source code please...

Nicholas

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

pangyuteng

Bram vd H

Works perfectly, thanks!

Aby Mathew

Thanks, It realy helped me,
Note, I changed it a little bit and submitted it again here:
http://www.mathworks.com/matlabcentral/fileexchange/25772
Thanks again.

Gus Lott

Works beautifully

wow, thanks for doing the hard work :)

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux