[Mapserver-dev] COLOR_MATCH_THRESHOLD
Dylan Keon
keon at nacse.org
Fri Mar 7 19:59:22 EST 2003
Frank Warmerdam wrote:
> Well, we discussed adding a mechanism to force raster layers to use less
> colors here, and I have now implemented such a mechanism. Currently it is
> implemented as the COLOR_MATCH_THESHOLD processing directive, such as shown
> here:
>
> LAYER
> NAME grey
> TYPE raster
> PROCESSING "COLOR_MATCH_THRESHOLD=3"
> STATUS default
> DATA data/grey.tif
> END
Frank,
I've tested this on a 256-color grayscale DOQQ tileindex layer and it's
working really well. Haven't come across any problems, and it doesn't
seem to slow down the application at all.
Thanks,
Dylan
More information about the mapserver-dev
mailing list