Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the fourth hex value
Message
De
10/10/2012 10:48:32
 
 
À
10/10/2012 10:38:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01554642
Message ID:
01554659
Vues:
27
>I did find one adjustment so far. The last line should be:
>
>
>	pair2Y = rgb(pair2Yred, pair2Ygreen , pair2Yblue )
>
>
>This fixes that line but still results in another color than the one expected.
>
>I am continuing to verify the code.
>
>Let me know if you find what it is in the meantime.


I corrected those also - don't know whether it will make much of a difference
	pair2Yred = mod(m.pair2Xred + (pair1Yred - pair1Xred), 256)
	pair2Ygreen = mod(m.pair2Xgreen + (pair1Ygreen - pair1Xgreen), 256)
	pair2Yblue = mod(m.pair2Xblue + (pair1Yblue - pair1Xblue), 256)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform