Sometimes when I'm bored, I take some text and fill the "holes" in the letters. But isn't filling the holes the most boring thing you can do? I think we should automate it, so we could use our time better.
Standard code-golf rules apply.
A string containing sequence of alphanumeric characters (a-z, A-Z, 0-9) and spaces.
Image containing string rendered and holes on it filled. You can use any human readable font as long as it still requires filling the holes. You can either save image to file
i.png (in png format) or just display the image.
- Black text
- White or transparent background
- The dimensions of the image can be maximum two times the dimensions of the text
- Padding should be same color as background, either white or transparent