Clear Filters
Clear Filters

convert input(text) to image format

1 view (last 30 days)
Sandesh Arora
Sandesh Arora on 26 Mar 2019
Commented: Sandesh Arora on 28 Mar 2019
I am taking the input from the user and want to convert that txt to image (.jpg, .png) format.How can i do that?
  2 Comments
Geoff Hayes
Geoff Hayes on 26 Mar 2019
Sandesh - what is the format of the text? What is the user input? Please provide an example.
Sandesh Arora
Sandesh Arora on 28 Mar 2019
sir,the format of text is String.I am taking the input using inputdlg command
Example: if i take the input D from an user. It should convert that D alphabet to an image format of font size and style mentioned in the code and save that image in local folder.like below image:
d.png

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!