Sat-picture - no colors!?

Norman Vine nhv at CAPE.COM
Wed Aug 31 05:38:21 EDT 2005


Leopold Schefcik writes
> 
> My sat-picture has about 16,7 Mio colors but in the client only about 256
> grew-colors.
> 
> I tried to change PNG to PNG24, but it's still b/w.
> 
> When I change  IMAGEMODE PC256 to MAGEMODE "png24" or IMAGEMODE png24 my
> GetCapabilitiesRequest isn't accepted any more.
> 
> Some other idea to get the colors displayed.

Try one of these for your output format

  OUTPUTFORMAT
    NAME "png24"
    MIMETYPE "image/png24"
    DRIVER "GD/PNG24"
    EXTENSION "png"
    IMAGEMODE RGB
#    TRANSPARENT OFF
  END

OUTPUTFORMAT
  NAME jpeg
  DRIVER "GD/JPEG"
  MIMETYPE "image/jpeg"
  IMAGEMODE RGB
  EXTENSION "jpg"
#  TRANSPARENT OFF
END

HTH

Norman



More information about the mapserver-users mailing list