Convert String text to Bitmap
You can create a Bitmap of the appropriate size, create a Canvas for the Bitmap, and then draw your text into it. You can use a Paint object to measure the text so you’ll know the size needed for the bitmap. You can do something like this (untested): public Bitmap textAsBitmap(String text, float textSize, int … Read more