Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want to do something crazy with .bmp files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01289665
Message ID:
01289763
Vues:
17
>>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  && Pixel Sum is Odd, convert to White
>>        SYS(2600, nOffset+nPos, 3, 0hFFFFFF)
>>      ELSE  && Pixel Sum is Even, convert to Black
>>        SYS(2600, nOffset+nPos, 3,  0x000000)
>>      ENDIF
>>
>
>You are close, just use 0h000000 (varbinary) instead of 0x000000 (integer)

Yeah that was it...thanks!
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform