illustrate:
Printing text in a 256-color bitmap and outputting font size and type are fixed 12*12 Song Dynasty. If you need other fonts, please contact me. Because it is not packaged in a DLL, the execution efficiency is not very high.
Call the following example:
Set objbmp = New Wh_bmpText 'Create objbmp object
objbmp.FontPath = server.mappath("font_12.asp") 'Chinese character dot matrix font address
objbmp.loadBMP(server.mappath("bb.bmp")) 'The called BMP image address
objbmp.DrawTextWE 2,30,"Online Survivors",15 'Print Chinese characters DrawTextWE "X point", "Y point", "Chinese characters", "Color information, 0 - 255 optional"
objbmp.write() 'Output the image to the browser
for full source code download