Search found 2 matches

by Joppe
Sat Feb 07, 2004 9:40 pm
Forum: GFL SDK
Topic: Drawing on image with specific colour (ASP)
Replies: 2
Views: 2875

Thanks!

ctrl.ChangeColorDepth(Ax_ToTrueColors)

did it!

Thank you for your fast reply!
by Joppe
Sat Feb 07, 2004 8:46 pm
Forum: GFL SDK
Topic: Drawing on image with specific colour (ASP)
Replies: 2
Views: 2875

Drawing on image with specific colour (ASP)

I want to draw a dot on a picture in an asp-page. I use this code:
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 ...