Drawing on image with specific colour (ASP)
Posted: Sat Feb 07, 2004 8:46 pm
I want to draw a dot on a picture in an asp-page. I use this code:
This works ok, but I haven't figured out how to change color of that dot. The only values that seems to work is RGB(255,255,255) and RGB(0,0,0). Nothing in between.
So... How does this OLE_COLOR-thing work?
Code: Select all
Set ctrl = server.createobject("GflAx193.GflAx")
sPath = Server.MapPath("/grafik/")
sPath = sPath & "\sverige.gif"
ctrl.EnableLZW = true
ctrl.LoadBitMap sPath
ctrl.DrawPoint 15,15,7,RGB(0,0,0)
response.contenttype = "image/gif"
response.binarywrite ctrl.SendBinary
set ctrl = nothing
So... How does this OLE_COLOR-thing work?