How to programmatically create simple image with text inside?

前端 未结 2 1838
死守一世寂寞
死守一世寂寞 2020-12-16 15:08

I need to create simple image in my application programmatically. Simple image will have black background with text inside which is created programmatically. Is it possible?

2条回答
  •  春和景丽
    2020-12-16 15:42

    This depends very much on your implementation details (Java SE? Android? Restricted imports? etc)

    I suggest you take a look at this StackOverflow question and see if any of the libraries linked are right for your situation.

提交回复
热议问题