[Mapserver-users] HOWTO: 24 bit png on WMS interface
Kari Geurts
kgeurts at GIS.UMN.EDU
Wed Jan 28 09:35:38 PST 2004
Hello MS-Users,
I wanted to let you know that we have revived and revised the Add a
Comment line on the mdp documents (located at the end of the
document). This is a great way for users to give feedback to the
documentation authors and help keep the documentation accurate and useful.
When a user makes a comment the message is sent to the author and they can
then evaluate it and add it to their document.
The message below is a good example of how the Add a Comment line could
be used. I encourage you all to use this function to help make the
MapServer Documentation Project more successful.
Thanks,
Kari A. Geurts
Department of Forest Resources
University of Minnesota
115 Green Hall
1530 Cleveland Ave. N.
St. Paul, MN 55108-6112
Phone: 612-624-3459
Email: kgeurts at gis.umn.edu
---------------------------------------------------------------------------
----
From: Frank Warmerdam <warmerdam at pobox.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030718
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: UMN MapServer <mapserver-users at lists.gis.umn.edu>
Subject: Re: [Mapserver-users] HOWTO: 24 bit png on WMS interface
Content-Transfer-Encoding: 7bit
X-BeenThere: mapserver-users at lists.gis.umn.edu
X-Mailman-Version: 2.0.13
List-Unsubscribe:
<http://lists.gis.umn.edu/mailman/listinfo/mapserver-users>,
<mailto:mapserver-users-request at lists.gis.umn.edu?subject=unsubscribe>
List-Id: Mapserver Users Mailing List (Appropriate for general users)
<mapserver-users.lists.gis.umn.edu>
List-Post: <mailto:mapserver-users at lists.gis.umn.edu>
List-Help: <mailto:mapserver-users-request at lists.gis.umn.edu?subject=help>
List-Subscribe:
<http://lists.gis.umn.edu/mailman/listinfo/mapserver-users>,
<mailto:mapserver-users-request at lists.gis.umn.edu?subject=subscribe>
List-Archive: <http://lists.gis.umn.edu/pipermail/mapserver-users/>
Date: Tue, 27 Jan 2004 15:33:28 -0500
Norman Vine wrote:
> Bart van den Eijnden writes:
>
>>thanks to Frank Warmerdam I have solved my problem with not getting 24
bit
>>PNG output in Mapserver.
>>
>>In my MAP file I used the following:
>>
>>IMAGETYPE PNG24
>>
>>and then in my WMS request I used format=image/png
>>
>>This caused 8-bit PNG to be generated instead of 24-bit PNG.
>>
>>The solution Frank suggested is using the following OUTPUTFORMAT in my
MAP
>>file and this works:
>>
>>OUTPUTFORMAT
>> NAME PNG24
>> DRIVER "GD/PNG"
>> MIMETYPE "image/png"
>> EXTENSION PNG
>> IMAGEMODE RGBA
>> TRANSPARENT ON
>>END
>>
>>Maybe something for the Mapserver WMS HOWTO?
>
>
> see
> http://mapserver.gis.umn.edu/doc/mapfile-reference.html#outputformat
More information about the MapServer-users
mailing list