Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the fourth hex value
Message
From
10/10/2012 10:48:32
 
 
To
10/10/2012 10:38:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01554642
Message ID:
01554659
Views:
28
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform