Author Topic: Decoding RGB-Color-Code from LAS-File  (Read 1877 times)

0 Members and 1 Guest are viewing this topic.

MarioR

  • Newt
  • Posts: 64
Decoding RGB-Color-Code from LAS-File
« on: September 24, 2013, 02:15:25 PM »
Hello,

i like to read and write an layerstate Export file.
All works fine, but i cant code or decode an rgb-color

for example:

Code: [Select]
...
  8
RGB_230_100_25
 90
8
 62
32
370
-3
  6
Continuous
  2
Color_32
440
0
 92
-1025088487
...

The color-Code [1025088487] isnt the OLE-ColorCode [15098905].

wat is it?

regards Mario

kaefer

  • Guest
Re: Decoding RGB-Color-Code from LAS-File
« Reply #1 on: September 24, 2013, 02:37:21 PM »
The color-Code [1025088487] isnt the OLE-ColorCode [15098905].

Looks like ARGB:
Code: [Select]
-1025088487 -> 0xc2e66419
0xc2 -> 194
0xe6 -> 230
0x64 -> 100
0x19 ->  25