I want to automate the maskcolor setting for my App
This only work everyother time.. ?
Can anybody help me
For Local i:Int = 0 Until 4 Local pic:TImage = LoadImage("pic.png") Local pm:TPixmap = LockImage(pic) Local px:Int = ReadPixel(pm,ImageWidth(pic)-1,1) Local r:Byte = px Shr 16 Local g:Byte = px Shr 8 Local b:Byte = px SetMaskColor(r,g,b) Print r Print g Print b Next
This only work everyother time.. ?
Can anybody help me