11.08.2006, 16:52:07
@PD Think before post, pls!
YR use 16-bit color mode
24 -> 16 rather slow conversion.
Use FPU to divide 24 color to 16 bit?
New SHP format (for example):
Special flags field:
10000000b
\ ...........
.\...........
..\_If this bit is set this SHP - 16 bit
00000011b
\.........\.\.
.\.........\_\_Check this bits
..\_Bit not set - it's old shp file
BTW, 16 bit shps can be faster than 8bit with palette
YR use 16-bit color mode

24 -> 16 rather slow conversion.
Use FPU to divide 24 color to 16 bit?
Quote:Its certainly interesting, but if you change that what will happen to the current 8-bit ones, im assuming of course they will still work but won't whole new palletes need to be made with more colours which will then mess up all the SHP's that use 8-bit palletes?All old SHP files will work good.
New SHP format (for example):
Special flags field:
10000000b
\ ...........
.\...........
..\_If this bit is set this SHP - 16 bit
00000011b
\.........\.\.
.\.........\_\_Check this bits
..\_Bit not set - it's old shp file
BTW, 16 bit shps can be faster than 8bit with palette

ARM forever - x86 sucks!