>>>Hmmm...doesnt seem to like that. Of course it doesn't like what I'm trying either...this is what I've got:
>>>
>>> IF MOD(nR+nG+nB,2)=1
>>> SYS(2600, nOffset+nPos, 3, 0hFFFFFF)
>>> ELSE
>>> SYS(2600, nOffset+nPos, 3, 0x000000)
>>> ENDIF
>>>
>>
>>You are close, just use 0h000000 (varbinary) instead of 0x000000 (integer)
>
>Yeah that was it...thanks!
Hi Victor,
There's a cool sample in the GdiPlusX library that deals with the Lockbits() function to apply some interesting image effects.
Run Demo.prg, and select the "LockBits" sample.
BTW, may I ask you why do you need this crazy effect in your image ?