How to convert a chars inside a text to multiple imags

Viewed 18

I am trying to make a code that reads a text file and replace each character in the text to a specific image.

For example , lets say i have a text file containing the following:

364442213 122333444 554336621

I want to change each number to an image. Number 1 will be a picture of a dice showing 1 dot. Number 2 will be a picture of a dice showing 2 dots,,, etc. Also i want to have it the same order. The file might have around 7000 to 9000 character.

Any idea would help me. Thank you.

0 Answers
Related