Image color problems

Travis Kirstine tkirstine at JDBARNES.COM
Fri Sep 15 14:23:40 EDT 2006


Try adding:
PROCESSING "SCALE=AUTO"
to your layer definition

Travis
  -----Original Message-----
  From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
Behalf Of Jason Sievers
  Sent: Friday, September 15, 2006 2:14 PM
  To: MAPSERVER-USERS at LISTS.UMN.EDU
  Subject: [UMN_MAPSERVER-USERS] Image color problems


  I have built a raster catalog and am display orthophotos in my MapServer
application.  Some of my TIFF images are rendered with incorrect color.
Here is an example:
http://www.co.linn.or.us/webmap/ELLAMaps1.0/badcolor.png.  This is an 8-bit
TIFF input and MapServer outputs it as an 8-bit png.  It seems that the
really dark (black or very close to it) pixels are rendered white by
MapServer.  The original image does not have these white pixels.  I've read
through the Raster HOW-TO and played with OUTPUTFORMAT but with no success.
Thanks for any help.
  Jason Sievers
  jsievers at co.linn.or.us
  Linn County GIS Department
  Albany, OR 97321


----------------------------------------------------------------------------
--
  Get your email and more, right on the new Yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060915/6c7a8b9c/attachment.html


More information about the mapserver-users mailing list