[mapserver-users] Re: label problem since MS6

2011-09-08 Thread Brad Posthumus
I logged a bug regarding the issue with PNGs. Oddly enough, when I switch it to GIF it appears to work normally for me, so I'm not sure what's happening in your case. http://trac.osgeo.org/mapserver/ticket/4013 -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/label-problem

[mapserver-users] Rendering with a single transparent colours in MapServer 6

2011-09-07 Thread Brad Posthumus
We need to create 8-bit PNG images in MS 6.0 that have one single colour (white) designated as transparent with all other colours as 100% opaque. Using the GD driver with PC256 works well with vectors but not with fonts (see http://osgeo-org.1803224.n2.nabble.com/Font-rendering-in-MapServer-6-0-td6

[mapserver-users] Re: label problem since MS6

2011-09-07 Thread Brad Posthumus
I had the same problem using PC256 with the GD driver, which sounds like it isn't well supported. I was using PNG's, so switching to the AGG driver was an option (with new challenges, as I'm about to post...) but it doesn't sound like it is with GIF's. Here's the post I had earlier regarding this

[mapserver-users] Re: MapServer 6 WMS output to 8-bit PNG

2011-07-27 Thread Brad Posthumus
The GetMap request was using: format=image/png ...instead of format=image/png; mode=8bit Now I'm getting paletted 8-bit images instead of 24-bit RGB's. Thomas Bonfort wrote: > > I suspect it's the copying from Firefox, your outputformat is correct (and > superfluous, the built-in png8 image

[mapserver-users] MapServer 6 WMS output to 8-bit PNG

2011-07-27 Thread Brad Posthumus
I'm trying to get MapServer 6.0.1 to generate 8-bit (paletted) PNGs for the WMS output images, with colour 255 set as transparent. However every attempt appears to result in 24-bit PNGs. My mapfile looks something like this: MAP .. IMAGETYPE PNG8 IMAGECOLOR 255 255 255 .. OUTPUTFORMAT

[mapserver-users] Re: Font rendering in MapServer 6.0

2011-07-11 Thread Brad Posthumus
thomas bonfort wrote: > > We've kept the GD renderer in 6.0 for some marginal use cases, but the > preferred way is to switch to AGG rendering (which is compiled in by > default): you can use the builtin png8 imagetype (mimetype: image/png; > mode=8bit) which does a quantization step if you need

[mapserver-users] Re: Font rendering in MapServer 6.0

2011-07-07 Thread Brad Posthumus
I've narrowed it down further to the OUTPUTFORMAT section of the mapfile, which currently is: OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE PC256 FORMATOPTION "INTERLACE=OFF" EXTENSION png TRANSPARENT ON END It appears to be a problem with ha

[mapserver-users] Re: Font rendering in MapServer 6.0

2011-07-06 Thread Brad Posthumus
I mistakenly had DEFRESOLUTION 72 instead of DEFRESOLUTION 96 in my test mapfile. This fixes the text/symbol size problem. However, the font quality is still an issue in 6.0 http://osgeo-org.1803224.n2.nabble.com/file/n6556130/wms_6_0.png -- View this message in context: http://osgeo-org.180322

[mapserver-users] Re: wms server - raster image quality

2011-07-06 Thread Brad Posthumus
mark volz-2 wrote: > > I set up a WMS Server using Mapserver. The quality of the map is > terrible. If anyone an example of a mapfile to serve imagery via wms it > would be appreciated. > I found the playing around with the PROCESSING values can make a big difference. http://mapserver.org/i

[mapserver-users] Font rendering in MapServer 6.0

2011-07-06 Thread Brad Posthumus
We're in the process of upgrading from MapServer 5.4 to 6.0 and, after following the migration guide from 5.4->5.6->6.0, almost everything is working fine. The one exception is truetype font rendering. Text in 6.0 doesn't render well - it's blocky and distorted. Has anyone encountered this change i