[ka-Map-users] Colour mismatch

Mike Davis mike.and.kerry at gmail.com
Wed Jan 18 20:25:19 EST 2006

As a side note:

We use the following line in the .map files under our grayscale imagery

This reduces the number of colors used up by the imagery and makes space in
the color table for other uses.


On 1/18/06, harry at politistaten.dk <harry at politistaten.dk> wrote:
> Changing config.php output format to PNG24 or JPEG resolves the issue.
> Thanks, Harry
> > Harry,
> >
> > I've seen this behaviour in mapserver when the output format is 8 bit
> > but the inputs are a higher colour resolution.  I think what happens
> > is raster data can fill the colour table of the 8bit image and cause
> > wildly inaccurate colours to appear.
> >
> > Is it possible that you have jpeg or png24 selected in your map file,
> > but png or gif in the ka-map config.php entry for this map file?  ka-
> > map will override the mapfile output format.
> >
> > Cheers
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20060118/573c5bdf/attachment.html

More information about the ka-Map-users mailing list