for example i have this html code:
<p><strong>Text text.</strong></p>
<p><span style="font-size: 14pt;"><span style="background-color开发者_运维技巧: #ff0000;">Text text...</span></span></p>
Possible write this text with this style on the image (with php GD)?
Thanks
See:
imagecolorallocate
to set the red background colorimagestring
to write a string onto an image (there's an argument for font size)imageloadfont
to load a bold version of a font
Post another question if you've tried writing it with these functions and have a specific problem
精彩评论