Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to extract RGB from integer color value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00883934
Message ID:
00883941
Vues:
7
>Does anyone know how can I extract the individual RGB colors from the integer value returned by GETCOLOR()?
>
>For example, if I select a greenish-color in GETCOLOR() it returns 8421376. I need to stuff the individual into a charting ActiveX control on the form that requires the color in the RGB(x,y,z) format.
>
>TIA!

In addition to Sergey's response, RGBComp() in the Foxtools library does this.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform