Hi Simon, thanks for the suggestion.  I have tried changing the image mode to
RGBA and it changes my whole background for the map to gray (along with the
transparent part of the symbol).  The results are actually better than what
I have been experiencing but I am still trying to implement the transparent
background of the png file.  Also, we are currently using PMAPPER as our
skin but I doubt this could be effecting the image output.  Here is what my
OUTPUTFORMAT looks like:

# PNG - output
OUTPUTFORMAT
  NAME "PNG"
  DRIVER "GD/PNG"
  EXTENSION "png"
  FORMATOPTION "INTERLACE=OFF"
  IMAGEMODE RGBA
  MIMETYPE "image/png"
  TRANSPARENT ON
END


SIMON MERCIER wrote:
> 
> Hi aloha
>  
> what is your output format image? ... maybe you can try PNG and insert the
> RGBA imagemode in your mapfile... Mapserver use a the PC256 imagemode by
> default...
>  
>     OUTPUTFORMAT
>         NAME "png"
>         MIMETYPE "image/png"
>         DRIVER "GD/PNG"
>         EXTENSION "png"
>         IMAGEMODE RGBA
>         TRANSPARENT ON
>     END
>  
> good luck
>  
> 
> 
>>>> ClackJim <[EMAIL PROTECTED]> 12/3/2008 14:34 >>>
> 
> 
> Aloha,
> 
> I am trying to use a PNG image for a symbol on a point layer.  The problem
> I
> am running into is that the background of the PNG image is filling in with
> a
> greyish blue color.  The PNG image was created using photoshop and the
> background was transparent.  I've placed the symbol in my symbol file and
> the mapfile is referencing the symbol.
> # Symbol File #
> SYMBOL
>   NAME 'arson2'
>   TYPE PIXMAP
>   IMAGE '/home/mapserv/proj/pmap/arson2.png'
>   TRANSPARENT 0
> END
> 
> # MapFile #
> STYLE
>   SYMBOL 'arson2'
>   COLOR 0 0 0
>   OUTLINECOLOR 0 0 0
> END
> 
> Here is what the image is supposed to look like: 
> http://www.nabble.com/file/p15994400/arson2.png 
> 
> Has anyone experienced this issue?
> -- 
> View this message in context:
> http://www.nabble.com/PNG-Image-for-symbol-tp15994400p15994400.html 
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users 
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/PNG-Image-for-symbol-tp15994400p16028763.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to