AW: Sat-picture - no colors!? [2]

Leopold Schefcik (MULTIMEDIAPLAN.AT) leopold.schefcik at MULTIMEDIAPLAN.AT
Wed Aug 31 05:54:21 EDT 2005


Thank you for your efforts, Norman!

I tried both versions, but its still b/w.

Do you have an other idea?

Best regards,
Leopold


-----Ursprüngliche Nachricht-----
Von: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Im
Auftrag von Norman Vine
Gesendet: Mittwoch, 31. August 2005 11:38
An: MAPSERVER-USERS at LISTS.UMN.EDU
Betreff: Re: [UMN_MAPSERVER-USERS] Sat-picture - no colors!?


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