开发者

Text to image conversion

开发者 https://www.devze.com 2023-01-12 09:35 出处:网络
I have made开发者_Go百科 a 7project in which i have to convert text into image i have done it & save image also.but i have a problem when i use new line in text then in image content are not come

I have made开发者_Go百科 a 7project in which i have to convert text into image i have done it & save image also. but i have a problem when i use new line in text then in image content are not come in new line it will dis7play in a line only But i want if user use new line tag then there should be new line in image also you can see the output at http://shaktiindia.in/png/

please tell me how can i insert new line in image also


If at all possible, consider using ImageMagick. It can handle multi-line and other text specialties much better than PHP's GD which I'm assuming you are using at the moment.

ImageMagick: Text handling examples

0

精彩评论

暂无评论...
验证码 换一张
取 消