[Mapserver-users] TIF colors too dark

Matt Doggett mdoggett at coas.oregonstate.edu
Mon May 12 12:45:03 EDT 2003


Well, when I pull up the original .tif image, ImageMagick reports it as
using a 8-bit color palette. So, I would guess that the file is an 8 bit
image.  Also, when selecting the colors for the original tif, I made
sure to use "web safe" colors (which I'm guessing would be 8-bit
compatible).

matt

> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-
> admin at lists.gis.umn.edu] On Behalf Of Benjamin Wragg
> Sent: Thursday, May 08, 2003 2:53 PM
> To: mdoggett at coas.oregonstate.edu; mapserver-users at lists.gis.umn.edu
> Subject: RE: [Mapserver-users] TIF colors too dark
> 
> Hi Matt,
> 
> I had something similar with a 24 bit image that Mapserver was
> converting to 8 bit. Are you using a 24 bit image? I ended up
> resampeling the image down to 8 bit for now. I'll use the 24 bit
version
> when it's supported in Mapserver.
> 
> Cheers,
> 
> Benjamin
> 
> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Matt
> Doggett
> Sent: Friday, 9 May 2003 4:07 AM
> To: 'Randy James'
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: RE: [Mapserver-users] TIF colors too dark
> 
> 
> Not exactly sure what you mean by "outputformat" options. I tried
> changing the IMAGETYPE (PNG|JPG), IMAGEQUALITY (100), and INTERLACE
> (ON|OFF) options (if that's what you meant) but none of those makes
any
> difference. Also, when creating an image using the shp2img utility, I
> get the same (dark) results.
> 
> md
> 
> > -----Original Message-----
> > From: Randy James [mailto:rjames57 at yahoo.com]
> > Sent: Thursday, May 08, 2003 10:30 AM
> > To: mdoggett at coas.oregonstate.edu
> > Cc: mapserver-users at lists.gis.umn.edu
> > Subject: Re: [Mapserver-users] TIF colors too dark
> >
> > Hi
> >
> > Try modifying the outputformat options in your map file.
> >
> > Randy
> >
> > --- Matt Doggett <mdoggett at coas.oregonstate.edu> wrote:
> > > I have a georeferenced TIF raster that looks great in my image
> > > editing/display program (like ImageMagick or MS
> > > PhotoEditor) but when
> > > mapserver displays the raster, the colors are much darker
> > > than they
> > > should be.  Any thoughts as to what may be going on and
> > > how I might fix
> > > it?
> > >
> > > -Matt
> > > (RedHat8.0, Apache2.0, Mapserver 3.6.4, Php4.2.3)
> > >
> > > Matt Doggett
> > > Spatial Climate Analysis Service
> > > Oregon State University
> > > 316 Strand Ag Hall
> > > Corvallis, OR 97331
> > > (541)737-9153
> > > mdoggett at coas.oregonstate.edu
> > >
> > >
> > >
> > > _______________________________________________
> > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu
> > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list