Sorry

I was mistaken, you are true..

Antoine

----- Original Message -----
From: "Jacques Paris" <[EMAIL PROTECTED]>
To: "Antoine Gilbert, KOREM" <[EMAIL PROTECTED]>; "MIL"
<[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 2:42 PM
Subject: RE: MI-L Translating MapInfo colors to hex


> In any case your formula was wrong. It is not  decimal value =
> (B*256)+(G*256*256)+(R*256*256*256)
>
> but decimal value= B + (G*256) + (R*256*256)
>
> Jacques PARIS
>
> e-mail  (>>>19.12.00)  [EMAIL PROTECTED]
>
> For MapInfo support, see the Paris PC Consult enr. site  at
> http://www.total.net/~rparis/gisproducts.htm
>
> For MapBasic questions see the J.Paris site at
> http://www.total.net/~jakesp/index.htm
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Antoine
> Gilbert, KOREM
> Sent: February 6, 2001 2:26 PM
> To: Erin Rubio; [EMAIL PROTECTED]
> Subject: Re: MI-L Translating MapInfo colors to hex
>
> i think there is a mistake..
>
> you wanted it in hexadecimal and i gived you a solution in decimal..
>
> ?
>
> Antoine
>
> ----- Original Message -----
> From: "Erin Rubio" <[EMAIL PROTECTED]>
> To: "Antoine Gilbert, KOREM" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, February 06, 2001 2:19 PM
> Subject: RE: MI-L Translating MapInfo colors to hex
>
>
> > Thanks very much for your help!
> >
> > Erin Rubio
> >
> > Spatial Insights, Inc.
> > A Geographic Information Services Company
> > 8221 Old Courthouse Road Suite 203 Vienna, VA  22182
> > Tel: 703-827-7034  Fax: 703-827-7037
> > Sales: 800-347-5291
> > [EMAIL PROTECTED]     www.spatialinsights.com
> >
> >
> > -----Original Message-----
> > From: Antoine Gilbert, KOREM [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 06, 2001 2:00 PM
> > To: Erin Rubio; [EMAIL PROTECTED]
> > Subject: Re: MI-L Translating MapInfo colors to hex
> >
> >
> > Hi
> >
> > example
> >
> > RGB=[R,G,B] (...[35,57,255].. whatever)
> >
> > decimal value = (B*256)+(G*256*256)+(R*256*256*256)
> >
> > or for programmers,... you can use sequential bit shifting...
> >
> > hope this help
> >
> > _______________________________________________
> >
> > KOREM   (http://www.korem.com)
> >
> > GEObroadcasting your information
> > GEOdiffusion de l'information
> > _______________________________________________
> >
> > Best MapInfo New Partner 2000 - North America
> > _______________________________________________
> >
> > Antoine Gilbert
> > Analyst - Programmer
> > KOREM inc.
> > 680, boul. Charest Est
> > Québec (Qc)
> > G1K 3J4          tél.: 418 647-1555
> > CANADA           fax:  418 647-1666
> > Téléphone sans frais: 1 888 440-1MAP
> > _______________________________________________
> >
> > ----- Original Message -----
> > From: "Erin Rubio" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, February 06, 2001 1:35 PM
> > Subject: MI-L Translating MapInfo colors to hex
> >
> >
> > > Hi All,
> > >
> > > Does anyone have an algorithm that translates MapInfo colors to
> > > hexidecimal colors?
> > >
> > > Thanks in advance,
> > >
> > > Erin Rubio
> > >
> > > Spatial Insights, Inc.
> > > A Geographic Information Services Company
> > > 8221 Old Courthouse Road Suite 203 Vienna, VA  22182
> > > Tel: 703-827-7034  Fax: 703-827-7037
> > > Sales: 800-347-5291
> > > [EMAIL PROTECTED]     www.spatialinsights.com
> > >
> > >
> > >
> > >
> > _______________________________________________________________________
> > > List hosting provided by Directions Magazine | www.directionsmag.com |
> > > To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> > > put "unsubscribe MapInfo-L" in the message body.
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to